u/4stocks

▲ 6 r/LaTeX

Hey, so I need a landscape page in the middle of my document. The thing is, the footer needs to be at the bottom of the landscape page, and every method that I used so far doesn't allow it. The closest I got was using this:

\newcommand{\landscape}{

\eject

\pdfpagewidth=11in \pdfpageheight=8.5in

\newgeometry{

top=2.54cm,

bottom=8.89cm,

left=3.17cm,

right=3.17cm,

headsep=1.25cm,

footskip=1.25cm

}

\fancyfootoffset[R]{6.35cm}

}

\newcommand{\portrait}{

\clearpage

\pdfpagewidth=8.5in \pdfpageheight=11in

\fancyfootoffset[R]{0cm}

\restoregeometry

}

But then the title and the footer are a little offset, as you can see with this image.

https://preview.redd.it/b8rghb0stlzg1.png?width=694&format=png&auto=webp&s=c257db09b953505ccb6f0e7070ff6e8133ff3847

I have no clue how to fix my issue. I am now trying to make .sty files and to build a proper document strucutre (I used to have everything in the main file), but no matter what I try, it doesn't work. What should I do?

reddit.com
u/4stocks — 7 days ago