# Re: Sideways longtable

Yup, I hadn't tested it with another (portrait) page and could get the
difference... :P

Thanks a lot for your help.

-------------------------------------------------
Julio Rojas
jcredbe...@gmail.com

On Tue, Nov 8, 2016 at 12:27 PM, racoon <xraco...@gmx.de> wrote:

> On 08.11.2016 15:50, Julio Rojas wrote:
>
>> Dear Daniel,
>>
>> As you can see by the results shown in the attached PDF, "pdflandscape"
>> rotates the page, not the longtable (look at the page numbers and the
>> test in the table). What I need is to rotate the longtable, so it better
>> fits with my data. Nevertheless, I thank you for your help.
>>
>> Should this be reported as a desired feature? Or would it be a very
>> complex task to include in this developing cycle?
>>
>
> Dear Julio,
>
> I think the result is as it should be. The page numbers never get turned
> with the content. This is because you normally don't want them turned since
> the landscape page is part of series of other pages in portrait. I have
> added some context so you see what I mean.
>
> If for some reason you want the page numbers turned as well maybe this
> helps?
>
> http://tex.stackexchange.com/questions/9071/how-to-translate
>
> (Note: you are not actually using a longtable but a tabular.)
>
> Daniel
>
>
>> On Tue, Nov 8, 2016 at 3:07 AM, racoon <xraco...@gmx.de
>> <mailto:xraco...@gmx.de>> wrote:
>>
>>
>>     On 07.11.2016 23 <tel:07.11.2016%2023>:12, Julio Rojas wrote:
>>
>>         Dear all,
>>
>>         I would like to have a long and wide table in such a way that
>>         allows me
>>         to optimize the space on my document. I tried rotating a
>>         longtable, but
>>         an error was produced. Then I defined my longtable and used the
>>         "pdflscape", which produced a rotated page with a non-rotated
>>         table. Is
>>         there an easy way to produce a rotated longtable in Lyx? Or
>> should I
>>         produce table in LaTeX code?
>>
>>
>>
>>     Hi Julio,
>>
>>     So you want to rotate the content only on one of your pages, right?
>>     Otherwise you could just use Document->Settings->Page
>> Layout->Landscape.
>>
>>     For only one page with a rotated table I had no problems with using
>>
>>     \usepackage{pdflscape}
>>
>>     in the Preamble and an ERT with
>>
>>     \begin{landscape}
>>
>>     before and
>>
>>     \end{landscape}
>>
>>     after the table. Notice that for it to work you have to disable
>>     Landscape in the document Settings. (Otherwise you get a
>>     double-rotation.)
>>
>>     If it does not work maybe you can send an example file.
>>
>>     Daniel
>>
>>
>>
>