* [gentoo-user] Latex spacing problem
@ 2005-10-05 0:16 Joseph
2005-10-05 10:29 ` Frédéric Grosshans
2005-10-06 18:46 ` John Green
0 siblings, 2 replies; 4+ messages in thread
From: Joseph @ 2005-10-05 0:16 UTC (permalink / raw
To: gentoo
Is there any Tetex/Latex guru on the list?
I'm trying to modify the formation line in purchase_order.tex form.
I think this line is responsible how the entry items are formated:
\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep
\fill}rlrrr@{}}
However, the line above if the part number is long the description is
not wrap up to the next line. Just the next columns are keep scrolling
to the right.
So, text Amount Total scrolls of the page.
I've tried to copy the formating string from invoice.tex form (that
correctly wraps up the description column):
\begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}}
but it doesn't work correctly.
Anybody knows what to change so when the part number is long, the
description section would wrap up to the next line.
--
#Joseph
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Latex spacing problem
2005-10-05 0:16 [gentoo-user] Latex spacing problem Joseph
@ 2005-10-05 10:29 ` Frédéric Grosshans
2005-10-05 15:12 ` Joseph
2005-10-06 18:46 ` John Green
1 sibling, 1 reply; 4+ messages in thread
From: Frédéric Grosshans @ 2005-10-05 10:29 UTC (permalink / raw
To: gentoo-user
Le mardi 04 octobre 2005 à 18:16 -0600, Joseph a écrit :
> Is there any Tetex/Latex guru on the list?
>
> I've tried to copy the formating string from invoice.tex form (that
> correctly wraps up the description column):
> \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}}
The kind of column you want ar the X columns of the tabularx kind of
table. But to use it, you have to enable the tabularx package. Add
\usepackage{tabularx} in your preamble.
Google for tabularx for more information.
Fred
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Latex spacing problem
2005-10-05 10:29 ` Frédéric Grosshans
@ 2005-10-05 15:12 ` Joseph
0 siblings, 0 replies; 4+ messages in thread
From: Joseph @ 2005-10-05 15:12 UTC (permalink / raw
To: gentoo-user
On Wed, 2005-10-05 at 12:29 +0200, Frédéric Grosshans wrote:
> Le mardi 04 octobre 2005 à 18:16 -0600, Joseph a écrit :
> > Is there any Tetex/Latex guru on the list?
> >
>
> > I've tried to copy the formating string from invoice.tex form (that
> > correctly wraps up the description column):
> > \begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}}
>
> The kind of column you want ar the X columns of the tabularx kind of
> table. But to use it, you have to enable the tabularx package. Add
> \usepackage{tabularx} in your preamble.
>
> Google for tabularx for more information.
>
> Fred
Thank you Fred, your explanation did help, I didn't know what that "X"
was for, so the correct formating string should be:
\begin{tabularx}{\textwidth}{@{}lXrlrrr@{}}
\textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
\textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
<%foreach number%>
<%number%> & <%description%> & <%qty%> &
<%unit%> & <%sellprice%> & <%linetotal%> \\
<%end number%>
\end{tabularx}
--
#Joseph
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Latex spacing problem
2005-10-05 0:16 [gentoo-user] Latex spacing problem Joseph
2005-10-05 10:29 ` Frédéric Grosshans
@ 2005-10-06 18:46 ` John Green
1 sibling, 0 replies; 4+ messages in thread
From: John Green @ 2005-10-06 18:46 UTC (permalink / raw
To: gentoo-user
Joseph wrote:
>Is there any Tetex/Latex guru on the list?
>
>I'm trying to modify the formation line in purchase_order.tex form.
>I think this line is responsible how the entry items are formated:
>
>\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep
>\fill}rlrrr@{}}
>
>However, the line above if the part number is long the description is
>not wrap up to the next line. Just the next columns are keep scrolling
>to the right.
>So, text Amount Total scrolls of the page.
>
>I've tried to copy the formating string from invoice.tex form (that
>correctly wraps up the description column):
>\begin{tabularx}{\textwidth}{@{}rlXlrlrrr@{}}
>
>but it doesn't work correctly.
>Anybody knows what to change so when the part number is long, the
>description section would wrap up to the next line.
>
>
>
I suggest you ask on the usenet group comp.text.tex. The group is active.
John Green
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-10-06 17:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-05 0:16 [gentoo-user] Latex spacing problem Joseph
2005-10-05 10:29 ` Frédéric Grosshans
2005-10-05 15:12 ` Joseph
2005-10-06 18:46 ` John Green
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox