Updated README with margin and papersize variables.
This commit is contained in:
parent
297345098d
commit
3861df510c
1 changed files with 15 additions and 2 deletions
17
README
17
README
|
@ -194,8 +194,10 @@ To do this, specify an output file with a `.pdf` extension,
|
||||||
as before, but add `-t context` or `-t html5` to the command line.
|
as before, but add `-t context` or `-t html5` to the command line.
|
||||||
|
|
||||||
PDF output can be controlled using [variables for LaTeX] (if
|
PDF output can be controlled using [variables for LaTeX] (if
|
||||||
LaTeX is used), [variables for ConTeXt] (if ConTeXt is used),
|
LaTeX is used) and [variables for ConTeXt] (if ConTeXt is used).
|
||||||
and `--css` (if `wkhtmltopdf` is used).
|
If `wkhtmltopdf` is used, then the variables `margin-left`,
|
||||||
|
`margin-right`, `margin-top`, `margin-bottom`, and `papersize`
|
||||||
|
will affect the output, as will `--css`.
|
||||||
|
|
||||||
[`amsfonts`]: https://ctan.org/pkg/amsfonts
|
[`amsfonts`]: https://ctan.org/pkg/amsfonts
|
||||||
[`amsmath`]: https://ctan.org/pkg/amsmath
|
[`amsmath`]: https://ctan.org/pkg/amsmath
|
||||||
|
@ -1150,6 +1152,9 @@ Variables for LaTeX
|
||||||
|
|
||||||
LaTeX variables are used when [creating a PDF].
|
LaTeX variables are used when [creating a PDF].
|
||||||
|
|
||||||
|
`papersize`
|
||||||
|
: paper size, e.g. `letter`, `A4`
|
||||||
|
|
||||||
`fontsize`
|
`fontsize`
|
||||||
: font size for body text (e.g. `10pt`, `12pt`)
|
: font size for body text (e.g. `10pt`, `12pt`)
|
||||||
|
|
||||||
|
@ -1164,6 +1169,10 @@ LaTeX variables are used when [creating a PDF].
|
||||||
: option for [`geometry`] package, e.g. `margin=1in`;
|
: option for [`geometry`] package, e.g. `margin=1in`;
|
||||||
may be repeated for multiple options
|
may be repeated for multiple options
|
||||||
|
|
||||||
|
`margin-left`, `margin-right`, `margin-top`, `margin-bottom`
|
||||||
|
: sets margins, if `geometry` is not used (otherwise `geometry`
|
||||||
|
overrides these)
|
||||||
|
|
||||||
`linestretch`
|
`linestretch`
|
||||||
: adjusts line spacing using the [`setspace`]
|
: adjusts line spacing using the [`setspace`]
|
||||||
package, e.g. `1.25`, `1.5`
|
package, e.g. `1.25`, `1.5`
|
||||||
|
@ -1256,6 +1265,10 @@ Variables for ConTeXt
|
||||||
: options for page margins and text arrangement (see [ConTeXt Layout]);
|
: options for page margins and text arrangement (see [ConTeXt Layout]);
|
||||||
may be repeated for multiple options
|
may be repeated for multiple options
|
||||||
|
|
||||||
|
`margin-left`, `margin-right`, `margin-top`, `margin-bottom`
|
||||||
|
: sets margins, if `layout` is not used (otherwise `layout`
|
||||||
|
overrides these)
|
||||||
|
|
||||||
`fontsize`
|
`fontsize`
|
||||||
: font size for body text (e.g. `10pt`, `12pt`)
|
: font size for body text (e.g. `10pt`, `12pt`)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue