Download as:
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Language:EN

You are viewing 1/3rd of the document.
Purchase the document to get full access instantly.

Immediately available after payment
Both online and downloadable
No strings attached

Download cls filefrom journal webpage mnras modified article apj

Shaun Cole

examples on my web page:

line breaks, page breaks, position of figures &

formatting/layout
● Very good for mathematics & equations
● Automatic numbering & cross-referencing of

- both in the Astronomy reading room

A primer for typesetting equations in LaTeX: http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/

Durham PhD thesis macros:

~eb/thesisclass.php
another example, with useful hints:
thesis/sample/

documents – but better to use LaTeX equivalents

or TeXnicCenter from

How to run LaTeX under Linux/Unix

> latex mypaper.tex

gv (ghostview)
● To produce .ps from .dvi:

> dvipdf mypaper.dvi
● (3) directly from .tex file (output: mypaper.pdf)

● There are programs which can convert your

figures/graphics between different formats,
e.g, .eps to .png e.g. in Linux can use display or

file.tex (latex) -> file.dvi (dvips) -> file.ps OR

● Basic procedure same as in Linux, i.e.

Now a simple example

text
+ instructions for including figures

publication-quality book
letter : for writing letter – letterhead but no

\documentclass{mn2e}
ApJ, AJ: aastex.cls

(modified report.cls) produces layout for Durham

PhD thesis, which you can also use for L4 thesis● Download duthesis.cls from

modify standard features of class
● Need \usepackage command in preamble, e.g.

● For long documents (e.g. PhD thesis) better to split into several files
● e.g. File main.tex could contain:
\documentclass{report}
\begin{document}
\input{chap1}
\input{chap2}
\end{document}
● Inputs chap1.tex, chap2.tex
● Effect is same as cutting & pasting chap1.tex etc into main.tex at position of \input command

Font sizes & styles

Defining your own commands

text}

automatically
● e.g. Chapter 1, Section 1.2, Subsection 1.2.5, etc

● In math mode, can have
● Greek characters, e.g. \alpha
● Other math symbols, e.g. \leq
● Fractions, integrals etc
● Subscripts, e.g. x_n
● Superscripts, e.g. y^2
● AMS-LaTeX package amsmath gives even more

\

start and end with $, e.g.

We define $y=x^2$.....

● You get:

OR \usepackage[pdftex]{graphicx} (for pdflatex)● Then to include a graphics file

at that point if space on page, otherwise on next

manually

● You type:

● Usually make tables “float” (like figures) using

table environment, e.g.

figures, tables using \label to create labels, and \ref

Section \ref{sec:halos}
● LaTeX will insert actual section number
● Cross-referencing info written to .aux file
● Must run LaTeX TWICE to get final document

We show in Fig.~\ref{fig:lumfun} that....

● \ref{...}gets replaced by actual figure number in

\end{equation}
● Then to refer to it:

\begin{thebibliography}{}
...........

● A more sophisticated approach is to store all your

bibliographic data in a separate (or multiple)

(Kopka & Daly) for more details
● Compatable with natbib citation package

● Main LaTeX file (e.g. paper.tex) must specify

(somewhere) bibliographic style, e.g. \bibliographystyle{mn2e}

latexdiff

red with a line through it and the inserted text in

blue and underlined with a wavy line.

Copyright © 2009-2023 UrgentHomework.com, All right reserved.