Update LaTeX/ConTeXt link colour usage.
This commit is contained in:
parent
e0c83f74f3
commit
580a7fa38e
1 changed files with 14 additions and 12 deletions
26
README
26
README
|
@ -176,8 +176,8 @@ Production of a PDF requires that a LaTeX engine be installed (see
|
||||||
are available: [`amsfonts`], [`amsmath`], [`lm`],
|
are available: [`amsfonts`], [`amsmath`], [`lm`],
|
||||||
[`ifxetex`], [`ifluatex`], [`eurosym`], [`listings`] (if the
|
[`ifxetex`], [`ifluatex`], [`eurosym`], [`listings`] (if the
|
||||||
`--listings` option is used), [`fancyvrb`], [`longtable`],
|
`--listings` option is used), [`fancyvrb`], [`longtable`],
|
||||||
[`booktabs`], [`url`], [`graphicx`] and [`grffile`] (if the
|
[`booktabs`], [`graphicx`] and [`grffile`] (if the
|
||||||
document contains images), [`color`], [`hyperref`], [`ulem`],
|
document contains images), [`hyperref`], [`ulem`],
|
||||||
[`geometry`] (with the `geometry` variable set), [`setspace`] (with
|
[`geometry`] (with the `geometry` variable set), [`setspace`] (with
|
||||||
`linestretch`), and [`babel`] (with `lang`). The use of `xelatex` or
|
`linestretch`), and [`babel`] (with `lang`). The use of `xelatex` or
|
||||||
`lualatex` as the LaTeX engine requires [`fontspec`]; `xelatex` uses
|
`lualatex` as the LaTeX engine requires [`fontspec`]; `xelatex` uses
|
||||||
|
@ -206,12 +206,10 @@ or [variables for ConTeXt].
|
||||||
[`fancyvrb`]: https://ctan.org/pkg/fancyvrb
|
[`fancyvrb`]: https://ctan.org/pkg/fancyvrb
|
||||||
[`longtable`]: https://ctan.org/pkg/longtable
|
[`longtable`]: https://ctan.org/pkg/longtable
|
||||||
[`booktabs`]: https://ctan.org/pkg/booktabs
|
[`booktabs`]: https://ctan.org/pkg/booktabs
|
||||||
[`url`]: https://ctan.org/pkg/url
|
|
||||||
[`graphicx`]: https://ctan.org/pkg/graphicx
|
[`graphicx`]: https://ctan.org/pkg/graphicx
|
||||||
[`grffile`]: https://ctan.org/pkg/grffile
|
[`grffile`]: https://ctan.org/pkg/grffile
|
||||||
[`geometry`]: https://ctan.org/pkg/geometry
|
[`geometry`]: https://ctan.org/pkg/geometry
|
||||||
[`setspace`]: https://ctan.org/pkg/setspace
|
[`setspace`]: https://ctan.org/pkg/setspace
|
||||||
[`color`]: http://ctan.org/pkg/color
|
|
||||||
[`xecjk`]: https://ctan.org/pkg/xecjk
|
[`xecjk`]: https://ctan.org/pkg/xecjk
|
||||||
[`hyperref`]: https://ctan.org/pkg/hyperref
|
[`hyperref`]: https://ctan.org/pkg/hyperref
|
||||||
[`ulem`]: https://ctan.org/pkg/ulem
|
[`ulem`]: https://ctan.org/pkg/ulem
|
||||||
|
@ -1165,13 +1163,13 @@ LaTeX variables are used when [creating a PDF].
|
||||||
: allows font encoding to be specified through `fontenc` package (with `pdflatex`);
|
: allows font encoding to be specified through `fontenc` package (with `pdflatex`);
|
||||||
default is `T1` (see guide to [LaTeX font encodings])
|
default is `T1` (see guide to [LaTeX font encodings])
|
||||||
|
|
||||||
`linkcolor`, `toccolor`, `urlcolor`, `citecolor`
|
`colorlinks`
|
||||||
: color for internal links, links in table of contents, external links,
|
: add color to link text; automatically enabled if any of `linkcolor`, `citecolor`,
|
||||||
and citation links, using options available through
|
`urlcolor`, or `toccolor` are set
|
||||||
[`color`] package, e.g. `red`, `green`, `magenta`, `cyan`, `blue`, `black`
|
|
||||||
|
|
||||||
`hidelinks`
|
`linkcolor`, `citecolor`, `urlcolor`, `toccolor`
|
||||||
: enables `hidelinks` option for [`hyperref`], disabling link color
|
: color for internal links, citation links, external links, and links in table of contents:
|
||||||
|
uses any of the [predefined LaTeX colors]
|
||||||
|
|
||||||
`links-as-notes`
|
`links-as-notes`
|
||||||
: causes links to be printed as footnotes
|
: causes links to be printed as footnotes
|
||||||
|
@ -1203,6 +1201,7 @@ LaTeX variables are used when [creating a PDF].
|
||||||
[`report`]: https://ctan.org/pkg/report
|
[`report`]: https://ctan.org/pkg/report
|
||||||
[`book`]: https://ctan.org/pkg/book
|
[`book`]: https://ctan.org/pkg/book
|
||||||
[`memoir`]: https://ctan.org/pkg/memoir
|
[`memoir`]: https://ctan.org/pkg/memoir
|
||||||
|
[predefined LaTeX colors]: https://en.wikibooks.org/wiki/LaTeX/Colors#Predefined_colors
|
||||||
[LaTeX Font Catalogue]: http://www.tug.dk/FontCatalogue/
|
[LaTeX Font Catalogue]: http://www.tug.dk/FontCatalogue/
|
||||||
[`mathpazo`]: https://ctan.org/pkg/mathpazo
|
[`mathpazo`]: https://ctan.org/pkg/mathpazo
|
||||||
[LaTeX font encodings]: https://ctan.org/pkg/encguide
|
[LaTeX font encodings]: https://ctan.org/pkg/encguide
|
||||||
|
@ -1224,8 +1223,11 @@ Variables for ConTeXt
|
||||||
`mainfont`, `sansfont`, `monofont`, `mathfont`
|
`mainfont`, `sansfont`, `monofont`, `mathfont`
|
||||||
: font families: take the name of any system font (see [ConTeXt Font Switching])
|
: font families: take the name of any system font (see [ConTeXt Font Switching])
|
||||||
|
|
||||||
`linkcolor`
|
`linkcolor`, `contrastcolor`
|
||||||
: color for links, e.g. `red`, `blue` (see [ConTeXt Color])
|
: color for links outside and inside a page, e.g. `red`, `blue` (see [ConTeXt Color])
|
||||||
|
|
||||||
|
`linkstyle`
|
||||||
|
: typeface style for links, e.g. `normal`, `bold`, `slanted`, `boldslanted`, `type`, `cap`, `small`
|
||||||
|
|
||||||
`indenting`
|
`indenting`
|
||||||
: controls indentation of paragraphs, e.g. `yes,small,next` (see [ConTeXt Indentation]);
|
: controls indentation of paragraphs, e.g. `yes,small,next` (see [ConTeXt Indentation]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue