User Tools

Site Tools


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}

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

PDF

# dvipdfm tabla.dvi
informatica/linux/latex.1381323136.txt.gz · Last modified: 2015/04/13 20:19 (external edit)