19 votes
Accepted

Start a specific chapter on the left page?

the book class provides the openright switch, which is "on" by default. if you want to have a chapter start on the left, just before the \chapter command, insert \makeatletter \@openrightfalse \...
user avatar
19 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 ...
user avatar
  • 49.5k
13 votes
Accepted

print double sided playing cards

LaTeX considers every tickpicture like a character, so you only need to place corresponding front and back cards on same place at front and back sides of a page. geometry package can help to adjust ...
user avatar
  • 128k
13 votes
Accepted

Recommended margin and binding offset

I will explain the preamble you should use if you want to follow the French canon des ateliers for B5 paper. The text width is a fraction of paperwidth – 3/4 for ordinary printing, 2/3 for neater ...
user avatar
  • 261k
12 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: ...
user avatar
  • 92.9k
9 votes
Accepted

Making marginnote to appear either side of twocolumn, twoside document

Add the following lines in your preamble: \makeatletter \let\oldmarginnote\marginnote \renewcommand*{\marginnote}[1]{% \begingroup% \ifodd\value{page} \if@firstcolumn\reversemarginpar\fi ...
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, ...
user avatar
  • 63.4k
8 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[...
user avatar
8 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 \...
user avatar
  • 439k
7 votes

How to have a blank even page before every chapter

\clearpage\null\thispagestyle{empty} The \clearpage command flushes all floats that have appeared in the input, causing them to be printed, and begins a new page. The \null command inserts something (...
user avatar
  • 179
7 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 ...
user avatar
  • 1,373
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 \...
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 ...
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 \...
user avatar
  • 814
6 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 ...
user avatar
6 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,...
user avatar
  • 161
6 votes
Accepted

Odd/even page wrongly detected if there is not enough space on the current page

Beware doing anything on the main vertical list:-) This does the test in horizontal mode where things are safer. \documentclass{book} \usepackage[inner=10mm,outer=30mm]{geometry} \usepackage[strict]{...
user avatar
6 votes
Accepted

Align horizontal footer rule to outside margin with memoir class

We first have to load the etoolbox package and patch the definition of \makefootrule: \usepackage{etoolbox} \makeatletter \patchcmd{\makefootrule} {\hrule\@width #2\@height #3 } {\rule{#2}{#3}} ...
user avatar
6 votes
Accepted

Don't count empty pages in twoside+openright documents

Keep track of how many blank pages you throw and adjust the print form of the page keeping the underlying counter with the actual side count. \documentclass[twoside=true,open=right,paper=A5]{scrreprt}...
user avatar
6 votes

How to create a double-side printable report?

\documentclass[12pt,openright, twoside]{report}
user avatar
  • 1,119
6 votes
Accepted

Custom two column text

Use a list \documentclass{article} \usepackage{enumitem} \begin{document} \begin{description}[font=\normalfont\itshape,leftmargin=4cm,labelwidth=!] \item[Elastic modulus, \textbf{E}] Steel is easy ...
user avatar
6 votes
Accepted

Print A6 book on A4 double-sided in correct order

I wrote the pgfmorepages (CTAN and github) extension of pgfpages for instances such as this. The layout you want isn't predefined, but is straightforward to make. \documentclass{article} %\url{http:/...
user avatar
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, ...
user avatar
5 votes
Accepted

Equation across a double page

Here's an answer using Tikz: I created two new environments, spanrecto and spanverso, which should be placed on their respective pages with identical content, to create the appearance of something ...
user avatar
  • 2,794
5 votes
Accepted

Start only some chapters on right-hand side after a set page/chapter

A solution can be to redefine \cleardoublepage to be \clearpage locally to those chapters when you don't want that behavior. So just write {\let\cleardoublepage\clearpage% \input{Chapters/Abstract} \...
user avatar
5 votes
Accepted

Tufte Fullwidth Bibliography across pages

Using tcolorbox instead of mdframed or fullwidth finally solved the issue. Using grow to right by = \marginparwidth+\marginparsep on an odd page, and the opposite on an even page, I get (nearly) what ...
user avatar
  • 385
5 votes

How to not count blank pages in frontmatter of two-sided document

Here's how I'd do it with the book class: \documentclass{book} \makeatletter \newcounter{blankpages} \def\cleardoublepage{% \clearpage \if@twoside \ifodd\c@page \else \hbox{}\...
user avatar
  • 993k
5 votes

Combine onesided and twosided layout in one document

here is a solution \documentclass{book} \usepackage{lipsum} \makeatletter \let\old@outputpage\@outputpage \def\@outputpage{\old@outputpage\shipout\vbox{}} \@twosidefalse \@mparswitchfalse \...
user avatar
  • 19k
5 votes
Accepted

Memoir - set headrule on right hand pages only

When you make the page style for the front matter, don't worry about the verso pages. They are easier dealt with separately. Completely blank pages are much easier than what you seemed initially to be ...
user avatar
  • 183k

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