View previous topic :: View next topic |
Author |
Message |
Gentoo User Apprentice
Joined: 07 May 2004 Posts: 164
|
Posted: Thu Apr 02, 2009 11:08 am Post subject: LaTeX question |
|
|
Hello there!
I have to create a form that has one requisite, which seems to be a bit tricky to implement. It looks like this.
Quote: |
Person: ____Bill Gates III____CEO____
<space><space>(Name)<space>(Job)
|
The words (Name) and (Job) must be under the line. The word 'Person' precedes the line and must NOT be above the line. I googled for that but didn't find anything useful.
One solution is probably implementation of a proper package (aka do-it-yourself).
But before plunging into that, I'd like to here from you if a standard, out-of-the-box LaTeX can do the trick.
Any comments are welcome.
Rgds
Gentoo User |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Thu Apr 02, 2009 3:04 pm Post subject: |
|
|
tables?
Code: | \begin{tabular}{rcc}
Person: & \underline{\hspace{<some length>}} & \underline{\hspace{<some length>}} \\
& (Name) & (Job)
\end{tabular}
|
I think you would want the hspace to span the entire column width. I don't know how to get the width of the column. _________________ emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/ |
|
Back to top |
|
|
Gentoo User Apprentice
Joined: 07 May 2004 Posts: 164
|
Posted: Fri Apr 03, 2009 1:36 am Post subject: |
|
|
Hello there!
I think so. I modified your version a bit.
Code: |
\begin{tabular}{r c c}
Person: & Bill Gates III & CEO \\ \cline{2-3}
& \scriptsize{(Name)} & \scriptsize{(Job)}
\end{tabular}
|
It seems to produce the desirable requisite now. Thanks a lot for the valuable hint.
Rgds
Gentoo User |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Fri Apr 03, 2009 2:11 am Post subject: |
|
|
Very nice! Didn't know about cline _________________ emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/ |
|
Back to top |
|
|
|