informatica:linux:latex
This is an old revision of the document!
Table of Contents
Tablas
Creamos el siguiente fichero con formato latex, por ejemplo tabla.tex:
\documentclass{article}
\begin{document}
\begin{tabular}{|r|l|p{5cm}|}
\hline
\multicolumn{3}{|c|}{Tabla} \\
\hline
\hline
fila 1 col 1 & fil 1 col 2 & fil 1 col 3 \\
\hline
fila 2 col 1 & fil 2 col 2 & fil 2 col 3 \\
\hline
\end{tabular}
\end{document}
Columnas
\documentclass{article}
\usepackage{multicol}
\usepackage{lipsum}% dummy text
\setlength{\columnseprule}{0.4pt}
\begin{document}
\begin{multicols}{3}
\section{Test}
a1 \\
a2 \\
a3 \\
\section{Test}
b1 \\
b2 \\
b3 \\
\section{Test}
c1 \\
c2 \\
c3 \\
\end{multicols}
\end{document}
Conversión
Para convertirlo en dvi hacemos:
# latex tabla.tex
Nos crea el fichero tabla.dvi.
Lo podemos convertir a otros formatos:
Postscript:
# dvips -o tabla.ps tabla.dvi
# dvipdfm tabla.dvi
informatica/linux/latex.1383836125.txt.gz · Last modified: (external edit)
