Most LaTex document classes automatically import the page numbering system, which frees the user from the boring and tiring manual numbering process.
However, we might not always hope to include the page numbers, for instance, in some short abstracts, posters, or planning including only formulas. As a result, we would then need to suppress/remove/hide page numbers. The following codes could be handful:
\maketitle
\thispagestyle{empty}
This will simply suppress the page number on the exact page where you put the code. If you already use some external templates which define the numbering mechanism, you should add one line more in order to suppress the numbers at all pages:
\maketitle
\thispagestyle{empty}
\pagestyle{empty}
2013年1月25日星期五
LaTeX Spacing
Normally when we are using some predefined LaTex template, the margin/space information is already well-specified. Sometimes, we might want to modify them in order to better fit our constraints, e.g., restricted page numbers.
The package "geometry" does exact this job, it is often included as:
\usepackage{geometry}
To assign more flexibility on it, the following code could be applied:
\usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
Values for each space (top, bottom, left, right) could be configured by the user himself.
There are also other packages for spacing setting, for instance, "sectsty", "mdwlist" and etc, more reference could be found here.
订阅:
博文 (Atom)