Hi,
I write a article used memoir package. Unluckily I have a problem with setup a margins. I need to set: top, lower, right margins = 2.5cm and left margin = 3cm. Page size is A4 format.
Can anyone help me? I read the manual for this package, but I lose - how can I do it. I don't need any "margin note", and anything else.
I need to have only: 3 cm left margin, 15.5 cm text, 2.5 cm right margin.
Page Layout ⇒ margins in memoir package
NEW: TikZ book now 40% off at Amazon.com for a short time.
margins in memoir package
Hi siam,
If you are using the oneside option, the code would be like the following:
The default option is twoside. Rather than left/right margins, normally one would set up the outer/inner, or fore-edge/spine, margins:
But if you still want to have fixed left/right margins, try the following:
If you are using the oneside option, the code would be like the following:
Code: Select all
\documentclass[oneside,a4paper]{memoir}
\usepackage{lipsum} % dummy text
\setlrmarginsandblock{3cm}{2.5cm}{*}
\setulmarginsandblock{2.5cm}{2.5cm}{*}
\checkandfixthelayout
\begin{document}
\lipsum
\lipsum
\end{document}
Code: Select all
\documentclass[a4paper]{memoir}
\usepackage{lipsum} % dummy text
\setlrmarginsandblock{3cm}{2.5cm}{*}
\setulmarginsandblock{2.5cm}{2.5cm}{*}
\checkandfixthelayout
\begin{document}
\lipsum
\lipsum
\end{document}
Code: Select all
\documentclass[a4paper]{memoir}
\usepackage{lipsum} % dummy text
\setlrmarginsandblock{3cm}{2.5cm}{*}
\setulmarginsandblock{2.5cm}{2.5cm}{*}
\checkandfixthelayout
\setlength{\evensidemargin}{\oddsidemargin}
\begin{document}
\lipsum
\lipsum
\end{document}
Re: margins in memoir package
Thank you very much Keta. It's working!
I don't know, why I didn't solve this by myself. It seemed to me that I tried this solution, but I'm had to do something wrongly.
