diff options
-rw-r--r-- | README | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -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. PDF output can be controlled using [variables for LaTeX] (if -LaTeX is used), [variables for ConTeXt] (if ConTeXt is used), -and `--css` (if `wkhtmltopdf` is used). +LaTeX is used) and [variables for ConTeXt] (if ConTeXt 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 [`amsmath`]: https://ctan.org/pkg/amsmath @@ -1150,6 +1152,9 @@ Variables for LaTeX LaTeX variables are used when [creating a PDF]. +`papersize` +: paper size, e.g. `letter`, `A4` + `fontsize` : 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`; 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` : adjusts line spacing using the [`setspace`] package, e.g. `1.25`, `1.5` @@ -1256,6 +1265,10 @@ Variables for ConTeXt : options for page margins and text arrangement (see [ConTeXt Layout]); 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` : font size for body text (e.g. `10pt`, `12pt`) |