The differentiation/integration operator ’d’, the Euler’s number ’e’ and the imaginary unit ’i’ should be set upright, to avoid mixing them up with other variables. Indices consisting of several letters, are set upright: E kinĬomponents of matrices are set italic: Ĥ kl It is available either via the command \times or via the menu Insert ▷ Special Character ▷ Symbols.įunctions with names consisting of several letters are set upright to avoid confusions, see 15.1↑. In numbers with more than four digits the smallest space is inserted before every third digit to group them: 18 473 588įor dimensions like 120×90×40 cm the multiplication sign “×” is used. The degree sign follows directly on the value: 15°, but not when it is used in units: 15 ☌
Percent and perthousand signs are set like physical units: Note that \unittwo is not a real LaTeX command but the command \unit, therefore you cannot use it in TeX code.
In the first one the value is inserted, in the second one the unit, and one gets as above: 30 km ⁄ h . When it is entered to a formula, two boxes appear. This convention is automatically fulfilled when the command \unittwo is used. LyX is an open source document processor with the ability to write the structure of a document, not just its appearance. Physical units are always set upright done with font styles, see 11.1↑, no matter if they appear in italic text: 30 km/hīetween the value and the unit is the smallest space, see 8.1↑.
This collection was partly taken from the German semi-official dictionary called “Duden” that lists some of the ISO rules. This section is a summary of the most important typographic rules, listed in ISO norms. The appearance of macros in formulas can furthermore be changed for single macros by setting the cursor in the macro and using the menu View ▷ (Un)fold Math Macro. The formula appears in the output as defined in the first box. But when you have created a macro that needs lot of space on the screen, you can insert in the box for example qG: \#1, \#2, \#3, \#4 For the macro only the arguments with the macro name in front of them will then be displayed in LyX, leading to a better overview. Normally you want to see it as it is defined, so the box is kept empty. In the second blue box the appearance of the macro in LyX can be defined. The first non-optional argument can be transformed to an optional one with the toolbar button Optional arguments are created with the toolbar button An argument placeholder is inserted with the command \#argumentnumber, e. g \#1 or by using the macro toolbar button The wanted formula is inserted in the first blue box. \newmacroname is the default name of the macro that should be changed to something sensible. The math macro toolbar appears together with the following box where the macro is defined: menu.Īfter you insert a curly bracket expression (available in the math toolbar) a new expression line can be insertedĬustom space between sequential lines of document text you can define here: Document->Settings.A math macro is created by using the menu Insert ▷ Math ▷ Macro or the toolbar button Useful keyboard shortcuts: CTRL+SHIFT+Space - inserts small vertical space CTRL+R - document preview exported to specified format CTRL+Space - inserts hard horizontal space Alt+M F - inserts a fraction Alt+M = - inserts an odds sign Alt+M E - inserts a power Alt+M X - inserts a bottom index Alt+M S - inserts a square root Alt+M R - inserts a root of specified degree ALT+M C I - adds a column in the table on the right of current column ALT+M C D - removes currrent column in the table ALT+M W I - adds a row in the table below the current row ALT+M W D - removes currrent row in the tableĬlick Insert->Special character->Symbols. There in the central part clear Default margins checkbox and set your custom margins: this is controlled from a dropdown in the top left corner, or through keyboard shortcuts. menu and in a dialog box that pops up, from the list Lyx does not present you with a virtual blank sheet of paper.