TeX/Latex - ¿Qué hacer cuando las tablas no te obedecen?

 
Vista:

¿Qué hacer cuando las tablas no te obedecen?

Publicado por Jesús (4 intervenciones) el 22/11/2009 11:05:48
Hola a todos! llevo dos días intentando que el LaTex haga lo que quiero y no lo consigo. Se me van acabando las ideas, así que, si alguien pudiera echarme una mano, le estaría eternamente agradecido!

Resulta que quiero que una tabla se me sitúe fuera de los márgenes de la página (quiero que quepa entera, con un tamaño sensato) porque éstos son bastante anchos. Para modificar los márgenes he usado:

\newenvironment{changemargin}[2]{%
\begin{list}{}{%
\setlength{\topsep}{0pt}%
\setlength{\leftmargin}{#1}%
\setlength{\rightmargin}{#2}%
\setlength{\listparindent}{\parindent}%
\setlength{\itemindent}{\parindent}%
\setlength{\parsep}{\parskip}%
}%
\item[]}{\end{list}}

en el preámbulo.

La tabla es :

\begin{table}[h]
\begin{changemargin}{-3cm}{1cm}
\begin{minipage}[t]{1\textwidth}
\caption[Colorantes catiónicos]{Colorantes catiónicos}
\label{table:colorantescationicos}
\resizebox{0.85\textwidth}{!}{
\myfloatalign
\begin{tabularx}{0.9\textwidth}{llllll}
\toprule
\tableheadline{Colorante} & \tableheadline{Nombre común}
& \tableheadline{Índice de Color} & \tableheadline{Fórmula} & \tableheadline{$\lambda$ (nm)} & \tableheadline{Fabricante} \\ \midrule
X&X&X&x&X&x \\
\bottomrule

\end{tabularx}
}
\end{minipage}
\end{changemargin}
\end{table}

Y es que al compilar la tabla me sale bien, pero las líneas de separación (bottomrule, toprule y midrule) no llegan al fina, se quedan a la mitad. ¿qué puedo hacer?

De veras que le agradezco muchísimo a quien me dé ideas!!!!!

Un saludo,
Jesús
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder