ramin@rtgvax.UUCP (06/14/86)
I am trying to make the following table in Tex (or LaTeX)... +-----------------------------------+---------------------------------+ | | Date: | | +---------------------------------+ | | Time: | | +---------------------------------+ | | Place: | +-----------------------------------+---------------------------------+ With several lines of \Large letters in the box on the left hand side and a series of left justified texts (above) in the other three... The line-boxes around them are rule-boxes. Basically the issue involves putting together a number of horizontal and vertical boxes together to fill a page. I would really like to see how one could make a page consisting of a number of inter-locking boxes of various sizes with text located within various places in each box (i.e. centered, top-left aligned, etc...) +-----+---+--------+----+ | | | | | | +---+ | | | | +--------+ | +-----+ | | | | | +--------+----+ | +---+-------------+ +-----+-----------------+ Well, you get the idea... I will definitely repost any responses I get... (after trying them out first (:-) and if I figure it out will also repost a followup... The TeXBook chapter on Alignment is rather sparse with its description of these types of functions... Thanks much... ramin =--------------------------------------=-------------------------------------= : alias: ramin firoozye' : USps: Systems Control Inc. : : uucp: ...!shasta \ : 1801 Page Mill Road : : ...!lll-lcc \ : Palo Alto, CA 94303 : : ...!ihnp4 \...!ramin@rtgvax : ^G: (415) 494-1165 x-1777 : =--------------------------------------=-------------------------------------= "Your wife is a genius. It's hard getting used to my furniture moving around." -- =--------------------------------------=-------------------------------------= : alias: ramin firoozye' : USps: Systems Control Inc. : : uucp: ...!shasta \ : 1801 Page Mill Road : : ...!lll-lcc \ : Palo Alto, CA 94303 : : ...!ihnp4 \...!ramin@rtgvax : ^G: (415) 494-1165 x-1777 : =--------------------------------------=-------------------------------------= "Your wife is a genius. It's hard getting used to my furniture moving around."
chris@umcp-cs.UUCP (Chris Torek) (06/16/86)
In general, if you want to string together a bunch of boxes in TeX that are not necessarily `well aligned' with each other, you will do better to build a set of \hbox es and \vbox es and just paste them together as appropriate. This is in effect an approximation of what `tbl' does with troff (but can probably be done more accurately, if more verbosely). -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1516) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@mimsy.umd.edu
rusty@weyl.Berkeley.EDU.BERKELEY.EDU (& Wright) (06/17/86)
with latex you can generally nest environments. for example, you can nest the tabular environment: \begin{tabular}{|p{4in}|c|} \hline ... arbitrary lines of text ... & \begin{tabular}{l} \hline first line \\ \hline second line \\ \hline third line \\ \hline etc. \\ \hline \end{tabular} \\ \hline \end{tabular} \end{document} rusty c. wright rusty@weyl.berkeley.edu ucbvax!weyl!rusty
bob@islenet.UUCP (Bob Cunningham) (06/18/86)
>I am trying to make the following table in Tex (or LaTeX)... > >+-----------------------------------+---------------------------------+ >| | Date: | >| +---------------------------------+ >| box 1 | Time: | >| +---------------------------------+ >| | Place: | >+-----------------------------------+---------------------------------+ > >With several lines of \Large letters in the box on the left hand side >and a series of left justified texts (above) in the other three... >The line-boxes around them are rule-boxes. Try..... \offinterlineskip \hrule % with \setbox1=\vbox{\Large \hsize \something \noindent \strut text... \strut} % where \something is the size of interest, say 30pc \line{ \vrule \box1 \vrule \vbox{ \hbox{\strut \quad Date: \hfil} \hrule \hbox{\strut \quad Time: \hfil} \hrule \hbox{\strut \quad Place: \hfil} } \vrule } % if the height of box1 turns out to be greater than the sum of % the heights of the stacked hboxes (and the little extra added % by the hrules) then you'll need to add some extra glue or fill % to even them out. % similarly, if text ends up being set in the bottom of box1, % and you want it at the top (or middle), add extra glue or fill % to fix. -- Bob Cunningham {dual|vortex|ihnp4}!islenet!bob cunninghamr%haw.sdscnet@LLL-MFE.ARPA Hawaii Institute of Geophysics, University of Hawaii