jjsf@gmv.es (Julio Sanchez) (03/14/90)
In article <1990Mar13.061110.11339@Neon.Stanford.EDU> rokicki@Neon.Stanford.EDU (Tomas G. Rokicki) writes: >The rotate macros I posted probably only work with dvips. The problem is >that each driver has its own method for `escaping' back into the top level >graphics state in PostScript . . . > Very nice your driver and your macros. I am working towards providing a style option for LaTeX that would allow the inclusion of wide figures or tables in landscape mode in documents that are otherwise portrait, keeping the same page layout through the document. I have had to fiddle with a lot of LaTeX internals, as I want them to be floats and appear on the same list of figures or list of tables than the regular ones and keeping the same numbering scheme. No success yet, some glue ends up in the wrong box, so the addition to the \@currlist is OK but the insertion is not properly placed in the page after all. Has anyone done this or something similar before? Well, some might not like what I am doing, but it took a lot of effort to introduce TeX here, and people DO want such things, they do it through cut and paste anyway. Thanks in advance, Julio Sanchez Ph. +34 1 534 30 04 Grupo de Mecanica del Vuelo, S.A. (GMV) Fax +34 1 533 32 50 Cristobal Bordiu, 35 Telex 48487 GMEV E E-28003 MADRID jsanchez@gmv.es SPAIN mcsun!gmv.es!jsanchez@uunet.uu.net uunet!mcsun!gmv.es!jsanchez
spqr@ecs.soton.ac.uk (Sebastian Rahtz) (03/16/90)
>>>>> On 14 Mar 90 14:39:50 GMT, jjsf@gmv.es (Julio Sanchez) said: > providing a style option for LaTeX that would allow the inclusion > of wide figures or tables in landscape mode in documents that > are otherwise portrait, keeping the same page layout through the > document. I have had to fiddle with a lot of > LaTeX internals, as I want them to be floats and appear on maybe I am missing something, but surely it is no more complicated than: \begin{figure} \begin{sideways} \begin{tabular}{...} ... \end{tabular} \end{sideways} \end{figure} assuming your `sideways' environment takes its contents, and turns them sideways, leaving appropriate TeX space with struts (easy to work out with a 90 degree turn). I have done this many times, and it never struck me as a problem. -- Sebastian Rahtz S.Rahtz@uk.ac.soton.ecs (JANET) Computer Science S.Rahtz@ecs.soton.ac.uk (Bitnet) Southampton S09 5NH, UK S.Rahtz@sot-ecs.uucp (uucp)
jjsf@gmv.es (Julio Sanchez) (03/19/90)
In article <SPQR.90Mar16085742@manutius.ecs.soton.ac.uk> spqr@ecs.soton.ac.uk (Sebastian Rahtz) writes: >>>>>> On 14 Mar 90 14:39:50 GMT, jjsf@gmv.es (Julio Sanchez) said: > > providing a style option for LaTeX that would allow the inclusion > > of wide figures or tables in landscape mode in documents that > > are otherwise portrait, keeping the same page layout through the >maybe I am missing something, but surely it is no more complicated >than: > \begin{figure} > \begin{sideways} > \begin{tabular}{...} > ... > \end{tabular} > \end{sideways} > \end{figure} I have not been clear enough. I also need the caption to be rotated. To be precise, I need portrait page headers and landscape body. >assuming your `sideways' environment takes its contents, and turns >them sideways, leaving appropriate TeX space with struts (easy to work >out with a 90 degree turn). I have done this many times, and it never >struck me as a problem. I do it differently. I was following the method used by Rockicki. It builds a box of the appropriate rotated size. Essentially you put inside the box a vskip of the full size (i.e. the *width* of the material being inserted), then the \special and a \vss. It works in many cases, even in LaTeX. Now the difference is that you are bulding a box that will not be contributed to the main vertical list. For doing what I want, a new float is needed. Moreover, \end@float, if I have remembered its name right, needs changes because the material is contributed to \@currlist differently, so I wrote a substitute.