1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
\documentclass{article}
\begin{document}
\begin{center}
A numbered List (heading centered).
\end{center}
\begin{enumerate}
\item dog
\item cat
\end{enumerate}
\begin{flushleft}
A bulleted list (heading justified left).
\end{flushleft}
\begin{itemize}
\item dog
\item cat
\end{itemize}
\begin{flushright}
this part of the text is centered.
\end{flushright}
\begin{quote}
Any text inside quote\\
environment will appe-\\
ar as typed.\\
\end{quote}
\begin{verbatim}
x = 1
while x <= 10:
print x * 5
x = x + 1
\end{verbatim}
\end{document}
|