

There are several options for setting the fonts to be used in your document. The number of sizes you can choose is actually very restricted (because LaTeX) so this is really only useful for switching between 10 ( fontsize: 10pt) and 12 ( fontsize: 12pt) point text.
LYX FONT SIZE FULL
The full range of options are beyond our scope here but if you feel like plunging into the world of LaTeX you will find a lot of documentation about this online since this is, unsurprisingly, very commonly used.įontsize: the font size used for the ordinary, body text (and this will also lead to changes in the size of headers and so on).
LYX FONT SIZE PDF
Will produce a pdf sized for legal paper with the left, top, right and bottom margins specified as shown. Geometry: legalpaper, left=1.5in, top=1in, right=1in, bottom=1.25in Will mean that your final pdf is in landscape format with 20mm margins all round and sized to fit A5 paper, and: Geometry: a5paper, margin=20mm, landscape You can pass multiple arguments to it separated by commas so: Technically speaking it allows you to specify options from the geometry class in LaTeX. Geometry: this one lets you change the page size, orientation and margins for your pdf. Options that you can use in this way include: If you’re outputting to pdf you can also get some control over aspects of your document like the fonts used and the size of the margins by specifying them in the headers. Like html documents, you can control whether or not the document includes a table of contents by setting toc: to true or false, you can control the depth of header included using toc_depth: and you can stop section numbers being used if you set number_section: to false. Like html output, however, you can change quite a lot of the formatting for your document by changing the YAML headers. Once you’ve got that you can render your documents to pdf but you’ll get the default LaTeX options, with rather wide margins and everything in the serif version of the computer modern typeface. To generate pdfs Rmarkdown also needs you have LaTeX installed as we discussed in section 3.3, so make sure you have jumped through that particular hoop. Rmarkdown creates pdf files in the same way as it does everything else, by using Pandoc to convert a markdown file into a final document format.

9.3.1 Using a style file to load a package: chemical formulaeĬhapter 9 Creating and customising pdf documents.9.2 Including LaTeX markup in your text.9 Creating and customising pdf documents.

LYX FONT SIZE SOFTWARE

