Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
|
sistemas:doc:latex [2012/04/27 11:38] alfred |
sistemas:doc:latex [2020/05/09 09:25] (actual) |
||
|---|---|---|---|
| Línea 20: | Línea 20: | ||
| ==== Cabecera ==== | ==== Cabecera ==== | ||
| ===== Cuerpo del documento ===== | ===== Cuerpo del documento ===== | ||
| + | |||
| + | |||
| + | |||
| ==== Estructurar el texto ==== | ==== Estructurar el texto ==== | ||
| + | Podemos estructurar el texto de la siguiente forma: | ||
| + | * Por partes: ''\part{title}''. | ||
| + | * Por secciones: ''\section{title}'' | ||
| + | * Por subsecciones: ''\subsection{title}'' | ||
| + | |||
| + | <code latex> | ||
| + | \section{ Summary of round table conclusions } | ||
| + | This is our second document. It contains a title and a section | ||
| + | with text. | ||
| + | </code> | ||
| + | |||
| + | |||
| + | |||
| ==== Formato de texto ==== | ==== Formato de texto ==== | ||
| + | * Cursiva: ''\textit{italic}'' | ||
| + | * Negrita: ''\textbf{bold}'' | ||
| + | * Combinación de negrita y cursiva: ''\textit{\textbf{nested}}'' | ||
| + | ==== Agregar imágenes ==== | ||
| + | <code latex> | ||
| + | \begin{figure}[htp] | ||
| + | \centering | ||
| + | \includegraphics[scale=0.4]{images/mcmc.png} | ||
| + | \caption{MCMC algorithm} | ||
| + | \label{mcmc} | ||
| + | \end{figure} | ||
| + | </code> | ||
| + | * Es necesario añadir: ''\usepackage{graphicx}'' | ||
| + | * Luego para hacer referencia a ella se haría: ''\ref{graph}'' | ||
| + | |||
| + | ===== Apartados especiales ===== | ||
| + | |||
| + | ==== Bibliografía ==== | ||
| + | <code latex> | ||
| + | \begin{thebibliography}{9} | ||
| + | |||
| + | \bibitem{lamport94} | ||
| + | Leslie Lamport, | ||
| + | \emph{\LaTeX: A Document Preparation System}. | ||
| + | Addison Wesley, Massachusetts, | ||
| + | 2nd Edition, | ||
| + | 1994. | ||
| + | |||
| + | \end{thebibliography} | ||
| + | </code> | ||
| + | * Para hacer referencia a un //bibitem// haremos: ''\cite{lamport94}''. | ||
| + | |||
| + | ===== Cómo... ===== | ||
| + | ==== Formato del documento ==== | ||
| + | === Utilizar UTF8 === | ||
| + | Agregando a la cabecera... | ||
| + | <code latex> | ||
| + | \usepackage[utf8x]{inputenc} | ||
| + | </code> | ||
| + | |||
| + | ===== Notas ===== | ||
| + | ==== Editores ==== | ||
| + | * LyX | ||
| + | === Linux === | ||
| + | * Gummi | ||
| + | * LaTeXila | ||
| + | * Texmaker | ||