Here are some frequently used tricks.
- The TeX showcase
- TeX and LaTeX resources
- Formats
- Text Position
- Colored Text
- Read the Color Package demo page directly
- Commands for the Color Package
- References
- PDF Configurations
- Graphics
\documentclass{amsart} \usepackage[absolute]{textpos} %% Set the x- and y- units as 1 cm \setlength{\TPHorizModule}{ 1cm} \setlength{\TPVertModule}{\TPHorizModule} %% Put a text box of 14 units length in width %% with the top left corner at (5,13)
\begin{textblock}{14}(5,13) Put your text here. \end{textblock} \end{document}
How can I make Latex to insert a period after the section and subsection numbers? For example
1. Section
1.1. Subsection
1.1.1. Subsubsection
\makeatletter
\renewcommand\@seccntformat[1]{\csname the#1\endcsname.\quad}
\makeatother
Formats: Rotate a table or figure
How to turn a long table from horizontal to vertical?
\documentclass{amsart}
\usepackage{rotating}
\begin{document}
\begin{sideways}
\begin{tabular}{|c|c|c|}
\hline
4 & 3 & 8 \\ \hline
9 & 5 & 1 \\ \hline
2 & 7 & 6 \\ \hline
\end{tabular}
\end{sideways}
\end{document}
You need to covert the dvi page into postscript to see the effect. Yap will not be able to show it. Read the manual of the package.
Change individual math display indentation:
\begin{equation}
\hspace{ 0pt} % necessary for obscure reasons
y = m x + b
\hspace{\linewidth minus\linewidth}
\end{equation}
\usepackage[a4paper, text={30pc,50.5pc},top= 3cm,centering]{geometry}
To save the page number of the location, put \label{some.name} on that page. Use \pageref{some.name} whenever it is needed.
Use the package enumerate.