08.05.2014 Views

LATEX and WinEdt for MA4053

LATEX and WinEdt for MA4053

LATEX and WinEdt for MA4053

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.

Nicely typed input<br />

if we typed<br />

Nicely<br />

typed input<br />

instead we would get<br />

Nicely<br />

typed input<br />

Because of their use <strong>for</strong> comm<strong>and</strong>s etc., the following will not print as you<br />

would expect<br />

\ & % { } ^ _ # $ ~<br />

If you want to use any of the first nine of these symbols in some text or<br />

mathematics you must instead enter<br />

\backslash \& \% \{ \} \^ \_ \# \$<br />

respectively.<br />

3.3 Breaking<br />

L A TEX is programmed to work very hard to find the optimal place to break<br />

lines, pages etc., <strong>and</strong> so you are advised to leave it to get on with this task.<br />

However, when preparing the final version of you document, if you are not<br />

happy with a particular break, or if L A TEX cannot find a good place to break<br />

a line <strong>and</strong> needs help, then the following comm<strong>and</strong>s should be used:<br />

\\ \newline \newpage \pagebreak[n]<br />

The first two break the current line, <strong>and</strong> start the next without indentation.<br />

The final two break the page, with the first one leaving all text on the page<br />

where the break takes place together, the final one trying to spread the text<br />

out to fill the space. The n should be replaced with a number 0. . . 4 depending<br />

on how much you want the break to take place (4 being the strongest request).<br />

If you use long <strong>and</strong>/or unusual words then L A TEX may not know hoe to<br />

hyphenate it, <strong>and</strong> can be taught by input of the <strong>for</strong>m sjam\-bok, the symbols<br />

\- showing where a break is permissible. If the unusual word will be used<br />

repeatedly then put \hyphenation{sjam-bok} in the preamble.<br />

One place where typesetting conventions dictate that linebreaks should<br />

not take place is when a particular numbered Theorem or similar is being<br />

referred to. For instance there should not be a break between the 1 <strong>and</strong> the<br />

word Theorem when you type Theorem 1. To prevent this insert ~ between<br />

them, i.e. Theorem~1.<br />

4

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

Saved successfully!

Ooh no, something went wrong!