25
votes
Accepted
How to set margins in memoir class?
The main issue here is that memoir has two ways of setting margins. One where you set the margins and let that dictate the text block. And one where you specify the text block and then place that on ...
15
votes
Accepted
How do I check if a document is "oneside" or "twoside"?
The test is provided by the LaTeX kernel with
\newif \if@twoside \@twosidefalse
So you can use this test. Please note that the test string uses @ so you need \makeatletter / \makeatother (See: ...
10
votes
marginnote always on right side of the page
Further to my comment a few days ago, if you are using the version of the marginnote package dated 2018/04/13 (or newer, at the time of writing), then you need to redefine \@mn@@@marginnote in a ...
9
votes
How to include a picture over two pages, left part on left side, right on right (for books)?
As of mid-2021, a new version of the package hvfloat, by Herbert Voß,
has been available on CTAN.
In addition to the ability to split wide pictures onto two facing pages,
this package can rotate ...
9
votes
marginnote always on left side of the page
As there are tests for twoside everywhere in the code (and it affects spacing and other things), it is imho the best to locally set twoside to false:
\documentclass[twoside]{book}
\usepackage[...
9
votes
Accepted
Option clash for package rotating
According to line 131 in the file ociamthesis.cls, the LaTeX document class you employ, the rotating package is loaded automatically, but without any options. When LaTeX encounters the directive \...
9
votes
Accepted
Descenders in floats
You can back up over the depth of the last line.
\documentclass[10pt,b5paper,twoside,final]{book}
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage[papersize={160mm, 210mm}, showframe]{geometry}
\...
8
votes
How to force output to a left (or right) page?
You can modify both \cleardoublepage (as in this answer) and @Martin Scharrer's code to insert, if necessary, an empty page:
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside
\ifodd\c@page
\...
7
votes
Accepted
too-large vertical space due to twoside
With the option twoside the article option also sets \flushbottom to make all pages the same height. To prevent this, you have to add \raggedbottom in the preamble.
7
votes
Accepted
top-aligned marginpar on wrong side (even/odd) after pagebreak
The problem is that when LaTeX constructs the margin note "III", it chooses side based on the page counter which still contains 1 (LaTeX usually collects more material than fits one page before ...
6
votes
Accepted
ConTeXt doublesided starts with left-hand page
The first page is a right (recto) page. You merely confused marginedge with inmargin (I guess).
\setuppapersize[A6][A6] % tiny paper for demo
\setuppagenumbering
[
alternative=doublesided,
...
6
votes
Printing Two Double-Sided Copies of an A5 Document on A4 Paper
This may be achieved by using pgfpages package that provides \pgfpageuselayout command to be put in the preambule of the document.
\documentclass[a5paper]{article}
\usepackage{lipsum}
\usepackage{...
6
votes
What does `twoside` mean here?
The option twoside means that the document will have (possibly different) left and right pages, like in a book, to be printed on both sides of the paper.
The complementary option is oneside, which ...
5
votes
Accepted
Inserting text with \cleardoublepage and memoir
As explained in the manual, memoir includes commands \movetoevenpage, \cleartoevenpage, \movetooddpage and \cleartooddpage, each of which can take an optional argument which will be printed on the ...
5
votes
Accepted
Stop numbering for paragraph in reledmac / reledpar
\skipnumbering skip line number for a specific line. That is, in this line, line number is nore increased, nore printed.
\hidenumbering hide line number for a specific line. That is, in this line, ...
5
votes
Printing Two Double-Sided Copies of an A5 Document on A4 Paper
I've written an extension of pgfpages imaginatively called pgfmorepages (CTAN and github) which can handle repeating pages. The following code has two pages and each is repeated. Printing them out ...
5
votes
Accepted
"Four-Sided" Documents: Make New Chapters Start Only on Page Numbers That Are 4n+1
The following does what you want by patching the \scr@startchapter macro which is internally used by \chapter to not use \cleardoublepage but to use \clearfourpage, which does what you want.
\...
5
votes
Accepted
KOMA-Script equal margins left and right with double sided
Maybe you want to use option twoside=semi:
\documentclass[twoside=semi]{scrbook}
\usepackage{lipsum}% dummy text
\usepackage{showframe}% show the page layout
\begin{document}
\chapter{Foo}
\lipsum[1-2]...
5
votes
Accepted
Mainmatter creates blank page
Assuming that your custom class does not redefine \mainmatter & Co. and their definitions are the ones of scrbook, the issue is that \mainmatter checks for one- or two-sided print but ignores ...
4
votes
How to make a two page section start on an even page?
Well, if all the problems boil down to having a variant of \cleardoublepage that always jumps to an even-numbered page, instead of to an odd-numbered one, this is easily accomplished:
\documentclass[%
...
4
votes
Accepted
Twoside margin width. How to take into account binding?
When setting margins for two-sided documents, the deciding question is how a left and a right page look next to each other, not how they look on their own. The right margin of the left page and the ...
4
votes
ConTeXt doublesided starts with left-hand page
This is what I get if I compile your example using ConTeXt version: 2017.01.27 (as displayed on Adobe Acrobat)
The first page is on the right. Do you get a different output?
To fix the location of ...
4
votes
Accepted
Vertical alignment of consecutive minipages and `twoside`
article uses \raggedbottom by default, so if pages fall short any additional space is added at the bottom of the page. in twoside mode it defaults to \flushbottom so it tries to ensure the bottom ...
4
votes
Accepted
Wrong blank sides on twosided memoir - discontinuity in odd and even pages
\newpage
\pagenumbering{arabic}\setcounter{page}{1}
is inherently unsafe as if the current page is odd you will get two odd pages, so when printed all pages will be on the wrong side of a two page ...
4
votes
Accepted
Conflict between lstlisting and twocolumn command
@Troy's comment provides a good reference for why you're experiencing the problem, using the approach you've outlined in your posting.
I interpret your typographic objective (as opposed to the way ...
4
votes
Accepted
how to use `\marginnote` in `mdframed` environment? (follow up)
The \marginnote definition of the tufte-book class is based on \marginpar. This is a float and it won't work inside a mdframed environment.
You can switch to the \marginnote definition of the ...
4
votes
Accepted
marginnote + pagenumbering = ⚡
To recap, the issue here is not related to svmono or geometry, the culprit is \pagenumbering and the twoside option (which svmono loads).
In marginnote there is a separate page counter added to the ...
4
votes
Accepted
Back Cover with summay/information
In a double sided KOMA-Script document you can use \cleardoubleevenpage before the back cover. On the back cover page use \thispagestyle{empty} or \pagestyle{empty}.
Example:
\documentclass{scrbook}
\...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
double-sided × 579margins × 114
header-footer × 57
floats × 53
page-breaking × 50
koma-script × 41
memoir × 39
geometry × 39
marginpar × 33
positioning × 29
page-numbering × 29
sectioning × 23
chapters × 23
two-column × 23
fancyhdr × 22
printing × 20
books × 18
blank-page × 17
horizontal-alignment × 16
table-of-contents × 15
single-sided × 15
spacing × 14
graphics × 14
book-design × 14
rotating × 13