Hello Recep,

to configure landscape orientation for your PDF output, you must check the LaTeX settings, see https://www.sphinx-doc.org/en/master/latex.html

And I found: https://tex.stackexchange.com/questions/147504/how-to-make-a-latex-document-in-landscape

In my conf.py, I added the following:

latex_elements = {
    "extraclassoptions": "landscape",
    # ... you may have more options
}

It adds the parameter "landscape" to "documentclass". I just tested it and it worked for me.

Best regards,
Nico

Am 13.12.22 um 10:28 schrieb recep daban:
Hi Wol,

No worries, thanks for advice. I will try to find out configuration for landscape mode.

BR,
Recep

On Tuesday, December 13, 2022 at 12:00:45 PM UTC+3 antl...@youngman.org.uk wrote:

    On 13/12/2022 08:31, recep daban wrote:
     > Hi Wol,
     >
     > Thanks for advice. Do you how to configure this in the conf.py
    file ?

    Hi Recep,

    Sorry - mention python to me and my eyes glaze over. I'm a FORTRAN /
    DATABasic / C guy. I'm trying to catch up with the modern world and
    failing miserably :-)

    Cheers,
    Wol
     >
     > BR,
     > Recep
     >
     > On Tuesday, December 13, 2022 at 2:36:10 AM UTC+3
     > antl...@youngman.org.uk wrote:
     >
     > On 08/12/2022 11:42, recep daban wrote:
     > > Hi Nico,
     > >
     > > Thanks for advice but unfortunately I do not no option
     > restructure the
     > > table for smaller size. After reading your advice an idea came to
     > my mind :)
     > > I can change paper size so added latex_element configuration
     > paper size
     > > like following
     > >
     > > latex_elements = { 'papersize' : 'a1paper' }
     > >
     > > It seems nicer than before.
     > >
     > But probably not for people who prefer dead-tree documentation ...
     >
     > What happens if you make it A4 landscape?
     >
     > I know it might be tricky, but A4 landscape and making the text
    wrap to
     > fit in the cells will please people (like me) who actually want
    to be
     > able to print things.
     >
     > Cheers,
     > Wol
     >
     > --
     > You received this message because you are subscribed to the Google
     > Groups "sphinx-users" group.
     > To unsubscribe from this group and stop receiving emails from it,
    send
     > an email to sphinx-users...@googlegroups.com
     > <mailto:sphinx-users...@googlegroups.com>.
     > To view this discussion on the web visit
     >
    
https://groups.google.com/d/msgid/sphinx-users/d3982b86-08b0-49c3-ba70-925a425f28d0n%40googlegroups.com 
<https://groups.google.com/d/msgid/sphinx-users/d3982b86-08b0-49c3-ba70-925a425f28d0n%40googlegroups.com>
 
<https://groups.google.com/d/msgid/sphinx-users/d3982b86-08b0-49c3-ba70-925a425f28d0n%40googlegroups.com?utm_medium=email&utm_source=footer
 
<https://groups.google.com/d/msgid/sphinx-users/d3982b86-08b0-49c3-ba70-925a425f28d0n%40googlegroups.com?utm_medium=email&utm_source=footer>>.

--
You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscr...@googlegroups.com <mailto:sphinx-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/7c5b7904-2ff6-448a-9f1e-5d9428b5bcf7n%40googlegroups.com <https://groups.google.com/d/msgid/sphinx-users/7c5b7904-2ff6-448a-9f1e-5d9428b5bcf7n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Nico Gulden
E-Mail: ngul...@gmx.de
1024D/B2691D50 5415 501F AC07 D04A EB03 D01C 786D 966B B269 1D50

Hardware runs the world, software controls the hardware,
code generates the software, have you coded today?

--
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/82091b0f-58a5-ae48-e955-123470a28ea9%40gmx.de.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to