[comp.text] two LaTeX questions

lindek@alberta.UUCP (Dekang Lin) (01/15/89)

1.  How can I produce this with LaTeX?

   |where X is the ......|
   |      .....          |
   |      Y is ..........|
   |      ....           |

The vertical bars mark the two sides of the page.  I tried this:

   where
   \parbox[t]{\fill}{
   x is the .....
   ..\\
   y is the ...
   .......} 

I expect \fill to give the length from where the parbox begins to the
right margin. However, it gives a 0.

2. I need to typeset a table with some of the entries rotated. Can I do
this with LaTeX?

Thanks in advance.

-------------------------------------------------------------------------
Dekang Lin                                     PHONE:                   
                	  			 OFFICE: 1-403-432-3977
Department of Computing Science                  HOME:   1-403-433-8298
University of Alberta                          E-MAIL:            
Edmonton, Alberta                                CDN:  lindek@alberta.cdn   
Canada T6G 2H1                                   UUCP: lindek@alberta.uucp

mrd@sun.soe.clarkson.edu (Michael DeCorte) (01/16/89)

Why don't you use the trivlist environment?  It should do what you want.
\begin{trivlist}
\item[where]
...
\end{trivlist}
-----

If for some reason you don't want to try that then try this: to get
the text indented use the trivlist.

\begin{trivlist}
\item[]
...
\end{trivlist}

to get the "where" on in the left margin try marginpar (I don't really
like this, because of cost).  You could also try \noindent\llap{where}
(I don't really like this because you using latex any more)
-----

Finally you could use the tabular environment with the p option.
\begin{tabular}{lp{dimen of some size}}
...
\end{tabular}

(I don't like this as it is expensive; you have to choose the size; you
will mess up page breaks)

so what should you do?  use the first example given.

-----

>2. I need to typeset a table with some of the entries rotated. Can I do
>this with LaTeX?

no.
--

Michael DeCorte // (315)265-2439 // P.O. Box 652, Potsdam, NY 13676
Internet: mrd@sun.soe.clarkson.edu  // Bitnet:   mrd@clutx.bitnet        
---------------------------------------------------------------------------
Clarkson Archive Server // commands = help, index, send, path
archive-server@sun.soe.clarkson.edu
archive-server%sun.soe.clarkson.edu@omnigate.bitnet
dumb1!dumb2!dumb3!smart!sun.soe.clarkson.edu!archive-server
---------------------------------------------------------------------------

mic@hpesrgd.HP.COM (Marc Clarke) (01/19/89)

You could try a minipage environment to hold everything to the right of the
"where", and use a description list inside the minipage environment.