12.07.2015 Views

The memoir class - The UK TeX Archive

The memoir class - The UK TeX Archive

The memoir class - The UK TeX Archive

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

18.19. Adding a periodOn occasions I have found it useful to be able to tweak spaces in text by some fixed amount,just as in math mode. <strong>The</strong> kernel macro \thinspace specifies a thin space, which is3/18 em. <strong>The</strong> <strong>class</strong> \medspace specifies a medium space of 4/18 em. As mentioned, thekernel macro \: inserts a medium space in math mode. <strong>The</strong> <strong>class</strong> version can be used inboth math and text mode to insert a medium space. Similarly, the <strong>class</strong> version of \! canbe used to insert a negative thin space in both text and math mode.<strong>The</strong> math thick space is 5/18 em. To specify this amount of space in text mode you cancombine spacing commands as:\:\:\!which will result in an overall space of 5/18 em (from (4 + 4 − 3)/18).18.19 ADDING A PERIODMuch earlier, when showing the code for the sectional division styles for this document, Iused the macro \addperiod.\addperiod{〈text〉}This puts a period (a full stop) at the end of 〈text〉. I used it to add a period at the end of the\paragraph and \subparagaph titles. When sectional titles, like \paragraph are run-in,it is customary to end them with a period (or occasionally a colon).18.20 WORDS AND PHRASES<strong>The</strong> <strong>class</strong> provides several macros that expand into English words or phrases. To typesetin another language these need to be changed, or an author or publisher may want somechanges made to the English versions. Table 18.1 lists the macros, their default values, andwhere they used.Most, if not all, of the tabulated definitions are simple — for example\newcommand*{\partname}{Part}\newcommand*{\partrefname}{Part~}and so can be also changed simply.<strong>The</strong> definitions of the macros for the names of numbers are more complex — for examplefor the number 11 (eleven)\newcommand*{\nNamexi}{\iflowertonumname e\else E\fi leven}That is, each definition includes both a lowercase and an uppercase initial letter, so a bitmore care has to be taken when changing these. For specifics read the documentation ofthe <strong>class</strong> code.18.21 SYMBOLSLa<strong>TeX</strong> lets you typeset an enormous variety of symbols. <strong>The</strong> <strong>class</strong> adds nothing to thestandard La<strong>TeX</strong> capabilities in this respect. If you want to see what symbols are availablethen get a copy of Scott Pakin’s <strong>The</strong> Comprehensive La<strong>TeX</strong> Symbol List [Pak01]. You mayhave to do a little experimentation to get what you want, though.339

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!