Latex
De whats Wiki
Per regenerar la base de dades de fitxers de latex
mktexlsr
Per afegir codi amb color
pygmentize -S native -f latex pygmentize -o packet.tex packet.c
Classe per a presentacions (Utilitzada molt a la UPC)
beamer
Per afegir codi
\begin{verbatim}
if( a = 12 ) {
return 0;
}
\end{verbatim}
Per posar-hi codi amb colors
http://pbunge.crimson.ch/wp-content/uploads/2008/12/tango.pdf
Per a que la següent línia no comenci indentada
\noindent
\\ or \newline
\newpage
\mbox{text} - q mantingui les paraules juntes i seguides
\emph{filename} - posar emphasi a una paraula
\underline{text}
` text ' - per posar algo entre comes
-- - per posar un guió
\~ - per posar ~
\ldots - punts suspensius
\section{...}
\subsection{...}
\subsubsection{...}
\paragraph{...}
\subparagraph{...}
\part{...}
\chapter{...}
A reference to this subsection
\label{sec:this} looks like:
‘‘see section~\ref{sec:this} on
page~\pageref{sec:this}.’’
\footnote{footnote text}
\flushleft
\begin{enumerate}
\item You can mix the list
environments to your taste:
\begin{itemize}
\item But it might start to
look silly.
\item[-] With a dash.
\end{itemize}
\item Therefore remember:
\begin{description}
\item[Stupid] things will not
become smart because they are
in a list.
\item[Smart] things, though,
can be presented beautifully
in a list.
\end{description}
\end{enumerate}
\begin{quote}
On average, no line should
be longer than 66 characters.
\end{quote}
\bibitem[label]{marker}
\makeindex
\href{url}{text}
% en el preámbulo:
\usepackage{makeidx}
\makeindex % esto habilita los comandos de makeindex
...
\begin{document}
...
\renewcommand{\indexname}{Índice alfabético} % adaptación al español
...
\index{...} % ver "The Not So Short Introduction to LaTeX"
% para más información sobre la forma de definir índices
...
\printindex % aquí se genera el índice alfabético
...
Links
Link interessant
http://en.wikibooks.org/wiki/LaTeX
