Charlie Zender
2004-10-02 06:15:57 UTC
Hi,
I am using LaTeX to format a table in the tabular environment.
One of the columns contains text that is intended to wrap and thus
take up two rows. It is formatted with
second rows with \newline because I want the region names in the
first row and the cooredinates in the second, e.g.,
Eastern Sahel \newline 10N-15N, 10W-20E
which will appear as
Eastern Sahel
10N-15N, 10W-20E
Question: How do I right-justify the contents of the second row?
I've tried inserting an \hfill after the newline but LaTeX ignores the
\hfill unless some real text appears before the \hfill in the same
row. I've tried to fool LaTeX by inserting various non-printing space
before the \hfill but no luck. Removing \raggedright does not seem to
help. Any ideas?
Thanks!
Charlie
I am using LaTeX to format a table in the tabular environment.
One of the columns contains text that is intended to wrap and thus
take up two rows. It is formatted with
{\raggedright}p{1.85in}<{}
I manually separate the contents of these cells in to first andsecond rows with \newline because I want the region names in the
first row and the cooredinates in the second, e.g.,
Eastern Sahel \newline 10N-15N, 10W-20E
which will appear as
Eastern Sahel
10N-15N, 10W-20E
Question: How do I right-justify the contents of the second row?
I've tried inserting an \hfill after the newline but LaTeX ignores the
\hfill unless some real text appears before the \hfill in the same
row. I've tried to fool LaTeX by inserting various non-printing space
before the \hfill but no luck. Removing \raggedright does not seem to
help. Any ideas?
Thanks!
Charlie
--
Charlie Zender, ***@uci.edu, (949) 824-2987, Department of Earth
System Science, University of California, Irvine CA 92697-3100
Charlie Zender, ***@uci.edu, (949) 824-2987, Department of Earth
System Science, University of California, Irvine CA 92697-3100