Académique Documents
Professionnel Documents
Culture Documents
Cursos Vacacionales
Introducción a la Edición de Textos Cientı́ficos en LATEX
Instituto de Matemáticas
Facultad de Ciencias Exactas y Naturales
Universidad de Antioquia
Contenido
1 Tablas
2 Objetos flotantes
3 Referencias
Tablas Objetos flotantes Referencias
Entorno array
Entorno tabular
\begin{tabular}{columnas}
· · · & · · · & · · · \\
· · · & · · · & · · · \\
.
.
.
· · · & · · · & · · · \\
\end{tabular}
Tablas Objetos flotantes Referencias
Código
\begin{tabular}{cccc}
Primera & Segunda & Tercera & Cuarta \\
A & B & & C \\
& D & E & F \\
G & & & H
\end{tabular}
Código
\begin{tabular}{llc}
Partı́cula & Descubridor & A~
no del descubrimiento\\
Electrón & Joseph J. Thomson & 1897\\
Protón & James Rutherford & 1929\\
Neutrón & James Chadwick & 1932\\
Positrón & Carl D. Anderson & 1932
\end{tabular}
Tabla centrada
Código
\begin{center}
\begin{tabular}{llc}
Partı́cula & Descubridor & A~
no del descubrimiento\\
Electrón & Joseph J. Thomson & 1897\\
Protón & James Rutherford & 1929\\
Neutrón & James Chadwick & 1932\\
Positrón & Carl D. Anderson & 1932
\end{tabular}
\end{center}
Código
\begin{center}
\begin{tabular}{llc} \hline
no del descubrimiento\\ \hline
Partı́cula & Descubridor & A~
Electrón & Joseph J. Thomson & 1897\\ \hline
Protón & James Rutherford & 1929\\ \hline
Neutrón & James Chadwick & 1932\\ \hline
Positrón & Carl D. Anderson & 1932\\ \hline
\end{tabular}
\end{center}
Código
\begin{center}
\begin{tabular}{|l|l|c|} \hline
no del descubrimiento\\ \hline
Partı́cula & Descubridor & A~
Electrón & Joseph J. Thomson & 1897\\ \hline
Protón & James Rutherford & 1929\\ \hline
Neutrón & James Chadwick & 1932\\ \hline
Positrón & Carl D. Anderson & 1932\\ \hline
\end{tabular}
\end{center}
Código
\begin{center}
\begin{tabular}{|l|l|c|} \hline
no del descubrimiento\\ \hline\hline
Partı́cula & Descubridor & A~
Electrón & Joseph J. Thomson & 1897\\ \hline
Protón & James Rutherford & 1929\\ \hline
Neutrón & James Chadwick & 1932\\ \hline
Positrón & Carl D. Anderson & 1932\\ \hline
\end{tabular}
\end{center}
Código
\begin{center}
\begin{tabular}{|l|l|c|} \hline
\multicolumn{3}{c}{PARTÍCULAS ELEMENTALES} \hline\hline
no del descubrimiento\\ \hline
Partı́cula & Descubridor & A~
Electrón & Joseph J. Thomson & 1897\\ \hline
Protón & James Rutherford & 1929\\ \hline
Neutrón & James Chadwick & 1932\\ \hline
Positrón & Carl D. Anderson & 1932\\ \hline
\end{tabular}
\end{center}
Código
\begin{center}
\renewcommand{\tabcolsep}{6mm}
\begin{tabular}{|l|l|c|} \hline
\multicolumn{3}{c}{PARTÍCULAS ELEMENTALES} \hline\hline
no del descubrimiento\\ \hline
Partı́cula & Descubridor & A~
Electrón & Joseph J. Thomson & 1897\\ \hline
Protón & James Rutherford & 1929\\ \hline
Neutrón & James Chadwick & 1932\\ \hline
Positrón & Carl D. Anderson & 1932\\ \hline
\end{tabular}
\end{center}
Código
\begin{center}
\begin{tabular}{|>{$}c<{$}|>{$}c<{$}|l|}
\Delta>0 & \Delta>0 & Mı́nimo local en $\vec{a}$ \\
\Delta<0 & \Delta<0 & Máximo local en $\vec{a}$ \\
\Delta<0 & - & Punto de silla en $\vec{a}$ \\
\Delta=0 & - & Indecidible \\
\end{tabular}
\end{center}
Código
\begin{center}
\begin{tabular}{|c|c|c|c|}
Primera & Segunda & Tercera & Cuarta \\
& & A & B \\ \cline{3-4} \hline
& & C & \\ \cline{1-3} \hline
& D & & \\ \cline{2-2} \hline
& E & & \\ \hline
1 & 2 & 3 & 4 \\ \hline
\end{tabular}
\end{center}
Código
\begin{center}
\begin{tabular}{|c|c|c|}
Primera & Segunda & Tercera \\
\hspace{3mm}\vline \ A & B & \\ \cline{1-2} \hline
C & D & \\ \hline
& & \vline \\
& & \vline \\ \hline
\end{tabular}
\end{center}
Entorno table
\begin{table}[posición]
\centering
\begin{tabular}{columnas}
· · · & · · · & · · · \\
· · · & · · · & · · · \\
.
.
.
· · · & · · · & · · · \\
\end{tabular}
\caption{leyenda}
\end{table}
Posición
[t]: parte superior de la
página (top)
[b]: parte inferior de la
página (bottom)
[h]: parte de la página en
la que aparece el código
(here)
Tablas Objetos flotantes Referencias
Entorno table
Comando
\begin{table}[htb]
\centering
\begin{table}{|c|c|c|}
$p$ & $p$ & $p\Rightarrow q$ \hline \\
V & V & V \\
V & F & F \\
F & V & V \\
F & F & V \\
\end{tabular}
\caption{Tabla de verdad para la implicación}
\end{table}
p q p⇒q
V V V
V F F
F V V
F F V
Cuadro 1: Tabla de verdad para la implicación
Tablas Objetos flotantes Referencias
Entorno figure
\begin{figure}[posición]
\centering
\includegraphics{figura.formato}
\caption{leyenda}
\end{figure}
Formato:
png
jpg
gif
eps
pdf
Tablas Objetos flotantes Referencias
Comando
\begin{figure}[h!]
\centering
\includegraphics[width=4cm]{imagenes/circulo.png}
\caption{Cı́rculo unitario}
\end{figure}
Comando
\begin{figure}[h!]
\centering
\includegraphics[width=4cm]{imagenes/circulo.eps}
\caption{Cı́rculo unitario}
\end{figure}
0 1)
45
1 0)
1 0)
0 1)
0 1)
B 45
1 0)
1 0)
0 1)
(a) Una recta (b) Un cı́rculo
CHOH 2 1 y
OH O OH 2
OH
2 1
OH
(c) Compuesto quı́mico (d) Funciones
Bibliografı́a I
R. de Castro Korgi
El universo LATEX
Universidad Nacional de Colombia, 2da edición.
L. Lamport
LATEX: A Document Preparation System
Addison-Wesley, 2nd edition, 1994.
Wikibooks contributors
LATEX/Floats, Figures and Captions
Wikibooks, The Free Textbook Project.