23 votes
Accepted

How to set margins in memoir class?

The main issue here is that memoir has two ways of setting margins. One where iøyou set the margins and let that dictate the text block. And one where you specify the text block and then place that on ...
daleif's user avatar
  • 54.6k
13 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: ...
Marco Daniel's user avatar
  • 95.7k
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 ...
rbrignall's user avatar
  • 1,564
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 ...
barbara beeton's user avatar
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[...
Ulrike Fischer's user avatar
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 \...
Mico's user avatar
  • 507k
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} \...
David Carlisle's user avatar
8 votes
Accepted

Concept of default BCOR behaviour in Koma-Script class

Class scrbook is designed to have a titlepage, then a new page is started with headings and text or table of contents etc. Usually a book starts on page 1 (the title page) or page I (roman number, ...
Mensch's user avatar
  • 65.4k
7 votes

How to create different margins for odd and even pages?

Often we use different margins on odd and even pages for double-sided printing. It allows us to knit documents. I use GOST layout: \documentclass[a4paper,12pt,twoside]{article} \usepackage[inner=3cm,...
yanpas's user avatar
  • 171
7 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 \...
Jorge's user avatar
  • 71
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 ...
Sergei Golovan's user avatar
6 votes

Problem with captions at top of page for tufte-latex

An automatic way of getting the float caption on the correct side is to use the changepage package \usepackage[strict]{changepage} ... \begin{figure} \checkoddpage \ifoddpage \forcerectofloat \else \...
GeoffV's user avatar
  • 834
6 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.
Mike's user avatar
  • 8,674
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, ...
Henri Menke's user avatar
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{...
Hafid Boukhoulda's user avatar
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 ...
LaTeXer's user avatar
  • 1,492
5 votes
Accepted

How print a folded single-sided A5 booklet on A4 with no cutting

If you do not have too many pages, you could do it this way. However, it is not entirely automatic as you need to tell pdfpages to insert the blank pages. We start by creating prebooklet.pdf from the ...
cfr's user avatar
  • 199k
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 ...
Peter Wilson's user avatar
  • 28.1k
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, ...
Maïeul's user avatar
  • 11k
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 ...
Andrew Stacey's user avatar
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. \...
Skillmon's user avatar
  • 60.6k
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]...
esdd's user avatar
  • 85.7k
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 ...
campa's user avatar
  • 31.1k
4 votes

How print a folded single-sided A5 booklet on A4 with no cutting

Here is a solution. First we add a blank page after each page file1.tex (suppose the original file is file.tex) \documentclass{article} %------------------------------------------------- \...
touhami's user avatar
  • 19.5k
4 votes

Using Openright and twoside with multiple page numbering styles

As egreg mentioned above, I have changed to book and am using \frontmatter, \mainmatter to handle the numbering. Thanks a lot!
SpydaMonky's user avatar
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[% ...
GuM's user avatar
  • 21.6k
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 ...
Aditya's user avatar
  • 62.4k
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 ...
David Carlisle's user avatar
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 ...
David Carlisle's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible