Hello.
I used the geometry package to redefine the layout of the page and bow the margins run away. It is as if the margin are rendered without any considerate of the actual margin size.
I use the \maeginpar command and the marginnote package.
Also, the margin appear alway on the bounding side and not the other side.
Any thought?
Thanks
Page Layout ⇒ Margin text run away using geometry package
NEW: TikZ book now 40% off at Amazon.com for a short time.
Re: Margin text run away using geometry package
Please post a minimal working example showing the problem.
Re: Margin text run away using geometry package
On my machine the following produce the error:
\documentclass[a4paper, titlepage, 11pt]{book}
\usepackage[a4paper, twoside, bindingoffset = 1cm, margin = 3.5cm, top=1.2cm, bottom=1.7cm]{geometry}
\begin{document}
one plus one makes two. two and one makes three. three and two makes fine. five and three makes eight\marginpar{this is Fibonacci series}
\end{document}
\documentclass[a4paper, titlepage, 11pt]{book}
\usepackage[a4paper, twoside, bindingoffset = 1cm, margin = 3.5cm, top=1.2cm, bottom=1.7cm]{geometry}
\begin{document}
one plus one makes two. two and one makes three. three and two makes fine. five and three makes eight\marginpar{this is Fibonacci series}
\end{document}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Margin text run away using geometry package
But not in your MWE. Your are not even loading the package. The marginnote manual shows that you have to use the \marginnote command.yotama9 wrote:[...] I use the \maeginpar command and the marginnote package. [...]
Please use the code environment for longer pieces of source code. This keeps a post clear and legible.
Best regards
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: Margin text run away using geometry package
I know (about the marginnote). I only used it when I want a margin to appear next to a formula or an image. I thought that the marginnote might cause such a problem so I stated this.