Hello,
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
Page Layout ⇒ HELP! How to get different margins within the document
NEW: TikZ book now 40% off at Amazon.com for a short time.
Re: HELP! How to get different margins within the document
You could either try the gmeometric package, though that's not exactly failsafe ... or make two documents and merge them with pdfpages. Seach CTAN for the packages and documentation.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
HELP! How to get different margins within the document
The manuals for the packages mentioned by frabjous are also located on your local machine. Open a command prompt (or terminal) to get access.
Best regards and welcome to the board
Thorsten
Code: Select all
texdoc pdfpages
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: HELP! How to get different margins within the document
It doesn't work for everything but a very simple solution is to set up an environment with an indent
\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.
\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.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10