Page Layout ⇒ HELP! How to get different margins within the document
HELP! How to get different margins within the document
I'm a newbie to LYX and LATEX. I have the following problem:
I have defined the page margins in my document in the settings
top: 2cm
inner: 2cm
outer: 2cm
bottom 2.5cm
Now I need a part of the document (after page 8) the following
margins:
top:2cm
inner:6cm
outer:2cm
bottom:2.5cm
How can I do that. Please help me - it's urgent (deadline is tomorrow)
THX
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: HELP! How to get different margins within the document
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
HELP! How to get different margins within the document
Code: Select all
texdoc pdfpages
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: HELP! How to get different margins within the document
\newenvironment{myenvironment}{\leftskip=4cm \rightskip=0cm}
It may be a problem if you then try to use another environment inside that environment as I found they revert to the normal margins, but if you're not inserting any propositions or theories or anything like that you might get away with it.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
HELP! How to get different margins within the document
This is a good idea and makes me suggest the narrow environment introduced in the epslatex document. This will work with page breaks since it internally is a list environment.tiz wrote:It doesn't work for everything but a very simple solution is to set up an environment with an indent [...] It may be a problem if you then try to use another environment inside that environment as I found they revert to the normal margins, but if you're not inserting any propositions or theories or anything like that you might get away with it.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10