[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Latex - let me make clear



Hello,

> 	Name:		Shao Zhang
> 	Address:	Debian, org
> 	Email:		Shao@debian
> 	Health:		Excellent

The simplest way is:

\begin{tabular}{ll}
Name:&Shao Zhang\\
Address:&Debian, org\\
Email:&{\tt Shao@debian}\\
Health:&Excellent
\end{tabular}

If the columns are too close together for you, you can replace the default
space with any amount of space you like:

\begin{tabular}{l@{\hspace{1.2cm}l}
Name:&Shao Zhang\\
Address:&Debian, org\\
Email:&{\tt Shao@debian}\\
Health:&Excellent
\end{tabular}

This puts 1.2 cm of space between the right edge of the left column and the
left edge of the right column. Or you could make the left column a ``p{3cm}''
instead of ``l'' --- that is, the first line would be
	\begin{tabular}{p{3cm}l}

Alternatively, you could do it as a description list:

\begin{description}
  \item[Name]Shao Zhang
  \item[Address]Debian, org
  \item[Email]Shao@debian
  \item[Health]Excellent
\end{description}

Or any of a number of different ways\ldots


Jiri <jiri@baum.com.au>


Reply to: