often need to make a table where a column is a "free text" (ie, a paragraph that LaTeX automatically split into lines). The column type is expected for this type "p", but this guy has the disadvantage that you have to specify the width. It sometimes happens that we would rather specify the width of the entire table, instead of the width of each column, and is LaTeX who calculate the width "ideal" for each column so that the total width of the table is that we gave Precisely for this are packages and tabularx
Monday, June 21, 2004
2002 Ford Mondeo Ouside Temp Sensor Where Is It
More possibilities for tables with Gnuplot
often need to make a table where a column is a "free text" (ie, a paragraph that LaTeX automatically split into lines). The column type is expected for this type "p", but this guy has the disadvantage that you have to specify the width. It sometimes happens that we would rather specify the width of the entire table, instead of the width of each column, and is LaTeX who calculate the width "ideal" for each column so that the total width of the table is that we gave Precisely for this are packages and tabularx tabulary , both written by David Carlisle. The first ( tabularx ), already a few years, and comes with all standard LaTeX distribution, so it is well known to the public. This package allows to use the column specifier "X". The columns will have this as the "p", but the width is automatically calculated LaTeX. If the table multiple columns of type "X", LaTeX will give them all the same width, so that the total width is specified in the table header. The second ( tabulary ) is more recent, and I have discovered today. This package adds new column specifiers, called L, R, C and J. The columns of this type are also "paragraphs" (P), for which there is no need to specify the width. But in this case the width calculated by LaTeX is proportional to the length of the longest text in that column. Moreover, within the cell, the text may be aligned to the left (type L) to the right (R), center (type C) or justified on both sides (type J). Other parameters allow you to specify the maximum and minimum width of a column. It seems that this package adds to the tables in LaTeX functionality desired by many for some time.
often need to make a table where a column is a "free text" (ie, a paragraph that LaTeX automatically split into lines). The column type is expected for this type "p", but this guy has the disadvantage that you have to specify the width. It sometimes happens that we would rather specify the width of the entire table, instead of the width of each column, and is LaTeX who calculate the width "ideal" for each column so that the total width of the table is that we gave Precisely for this are packages and tabularx
Subscribe to:
Comments (Atom)