# Tag Info

73

The following should do it. It needs at least two compiler runs to be stable. With a lot of floats it can take several compilation runs until the document is stable. Updates: Works now for twoside mode; now with caption support; Added float settings and removed ! from the float position to also support smaller images; Moved p images to the page corners. ...

28

Like this? \documentclass[twoside]{article} \begin{document} one \cleardoublepage \end{document} Or you could use this version \makeatletter \def\emptycleardoublepage{\clearpage\if@twoside \ifodd\c@page\else \thispagestyle{empty}% \hbox{}\newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi} \makeatother which is the same as the standard \cleardoublepage ...

23

I do not think there is anything illogical regarding the standard LaTeX class page design. This page design does not include any allowances for binding offsets. The binding offsets are a function of the thickness of paper as well as the number of pages in a book and the method of binding. If you binding a book or report with a spiral binding machine, it will ...

22

Use the document class option openany or consider using the report class instead, where this is the default. There are two related document class options: openright: makes chapters begin on right hand pages, default for the book class openany: makes chapters begin on the next available page, default for the report class Also the margins are differently ...

20

The important issues to handle for such a project would be the handling of floats. Normally photo books or similar documents do not have a large amount of words and if you use floats and marginpars, the text will certainly end up in the wrong place. I would first choose a few page designs and then use minipages or better TeX vbox and hbox primitives to ...

19

There are two separate issues here: one is the layout of the text on the paper, the other is space left over for the binding. For a long time, books (in the West; I'm not familiar with other regions) have been designed with a larger outer margin than inner. This is generally considered "prettier". In the world of TeX, we are concerned with this sort of ...

17

The new package fullwidth is uploaded to CTAN. The development status is available on github. \setcounter{errorcontextlines}{999} \documentclass[twoside]{article} \usepackage{showframe,lipsum} \usepackage[innermargin=-2.0cm,]{fullwidth} \begin{document} \lipsum %\clearpage \begin{fullwidth}[width=\linewidth+2cm] Start\par \lipsum[1] \lipsum \lipsum ENDE ...

16

For odd / right-side pages you can use \cleardoublepage in two-sided documents. (In one-sided ones \cleardoublepage is identical to \clearpage) To force even / left-side pages you would need to define your own macro based on \cleardoublepage, but with reversed logic: \documentclass{book} \newcommand*\cleartoleftpage{% \clearpage ...

15

This is an enhancement of code that I have found on c.t.t. It uses the afterpage package to skip every second page and then if you add a figure with the \addfig command it will output it on the next page. It seems to work reasonable well (to my own surprise also ;-) \documentclass[english,oneside]{book} \usepackage{babel} \usepackage{afterpage} ...

15

Normally, one would simply use the left and right keys, because they are actually synonyms for inner and outer in twoside mode. (Alternatively, one could specify the textwidth and hmarginratio keys.) In case you want to disable the swapping of margins on alternate pages, add the asymmetric option. \documentclass[twoside]{article} ...

15

The geometry package allows one to switch your layout mid-document. So, you could set it as twoside for the first two pages, and then switch to the default ("oneside"). Here is a minimal document producing four pages, the first two are twoside, while the last two are not set in twoside mode, as shown by the showframe option to geometry. ...

15

This is a very partial attempt. It doesn't really work, but could help someone find a better solution. The idea I have is to set \parshape for every paragraph, depending on the space remaining on the page. Namely, the number of lines that should fit on the page is (\pagegoal-\pagetotal)/\baselineskip. The \parshape begins with lines of full length \hsize, ...

15

Try using the titlesec package. The command \titleformat included in it can take an page=odd or page=even option to give different formatting depending on even or odd page numbers, just like you want. \usepackage{titlesec} \titleformat{name=\section,page=odd}{}{ODD:}{.5em}{} \titleformat{name=\section,page=even}{}{EVEN:}{.5em}{} in the preamble should ...

15

Odd pages come on right. The wider margin is the outer one, so on page one, you should have a wide right margin. So it seems to be correct. The reason is that the outer margins should visually be the same as the "inner one", and the "inner one" is sum of the "inner margins" of both facing pages.

14

As tohecz mentions in his comment, you can use \marginpar for your purpose; using \captionof (from the caption or capt-of packages) you can provide the captions. \documentclass[twoside]{article} \usepackage[outermargin=2cm,innermargin=5cm,marginparwidth=3cm,marginparsep=20pt]{geometry} \usepackage[demo]{graphicx} \usepackage{marginnote} ...

14

Add \reversemarginpar after loading the geometry and todonotes packages. Note that as todonotes writes to the auxiliary file, you'll need to compile your source file at least twice to ensure that the lines it draws between the margin note and the connecting text are properly organised.

13

Most book classes assume that the final pages will be printed double sided with one side for binding, and their default is to have different page layouts for front (recto) vs. back (verso) pages. To fix this you should use the oneside option when you load the class. \documentclass[oneside]{memoir}

13

\usepackage[pdfpagelayout=TwoPageRight]{hyperref} If you cannot use hyperref for some reason, use \pdfcatalog{/PageLayout /TwoPageRight}. Adobe Reader will only pay attention to this setting if in preferences, on the "Page Display" tab you set the "default layout and zoom" to have "Page layout: Automatic". This is what it looks like in an MWE: ...

13

Original answer to Ensure last page is even and blank (now merged with this question.) If you want to ensure even number of pages in twoside mode you can simply add \cleardoublepage at the end of the document, either manually or using \AtEndDocument{..}. If you want to have the page blank you need to modify the code used by \cleardoublepage slightly to ...

13

Here's one possible option: with the help of the lastpage package, you can check if the last page is odd or even; in the first case, add an extra page with empty style; otherwise, do nothing: \documentclass{article} \usepackage{ifthen} \usepackage{lastpage} \usepackage{lipsum} \AtEndDocument{% ...

13

In the solution below I've borrowed code from Equation tag in twoside-mode outer Changing the apperance of equation numbers with amsmath Theorem Name/Numbering in Margin The part that does what you need is % customize the tag form of the equations \makeatletter \global\tagsleft@true \let\mytagform@=\tagform@ \def\tagform@#1{% \ifodd\value{page} ...

13

The following solution uses the \label-\ref system to record a footnote and retrieve it, possibly on the current page, or possibly \afterpage: \documentclass{scrbook}% http://ctan.org/pkg/KOMA-script \usepackage{lipsum}% http://ctan.org/pkg/lipsum \usepackage{afterpage,etoolbox,refcount}% http://ctan.org/pkg/{afterpage,etoolbox,refcount} ...

12

I assume you are using a documentclass like book which implicitly contains the option openright as default, which in turn makes every chapter (and everything like a chapter, i.e. \listoffigures) start on a right page. The command \cleardoublepage which is used internally will insert an empty page if neccessary to start a new right page. On \nopagebreak[0] ...

12

This can be done using \afterpage similar to my more complex solution shown in How to include a picture over two pages, left part on left side, right on right (for books)?. Because the \afterpage code is processed directly after a page is written the page counter can be used directly without going over page labels as done by the ifoddpage package. ...

12

There are some excellent answers already, let me add two simple observations: Binding does not take space out of inner margin. Binding space is extra, is not a part of the page, and should not influence page design (besides determining, together with paper size, the page width). Binding space depends on binding method, paper size (which is often larger ...

12

It is normal that the outside margins are larger than the inside margins. However, KOMA-script/typearea supports the specification of a binding correction. That is, specifying how much space will be lost on the inside of the pages due to binding. The effect is that it shifts the text to the outside by that amount. You specify the binding correction by ...

11

I'm not sure why you want to switch from oneside to twoside mid-document, and a textblock of 16 cm width and 24 cm height won't look pretty. That said, it is possible to change most geometry settings mid-document since version 5. \documentclass{article} \usepackage{geometry} \usepackage{lipsum} \begin{document} \lipsum[1-5] \newgeometry{twoside} ...

11

I think it's enough to define \makeatletter \def\@floatplacement{\global\@topnum\c@topnumber \global\@toproom \topfraction\@colht \global\@botnum \c@bottomnumber \global\@botroom \bottomfraction\@colht \global\@colnum \ifodd\c@page\c@totalnumber\else\z@\fi%<<<<<<< \@fpmin \floatpagefraction\@colht} \makeatother In ...

11

You can use the refcount package: \usepackage{refcount} \newcounter{figureposcount} \newcommand{\row}[2]{% \refstepcounter{figureposcount}\label{figurepos\thefigureposcount}% \ifodd\getpagerefnumber{figurepos\thefigureposcount} #2 \hfil #1% \else #1 \hfil #2% \fi } However you could also consider the sidecap package that does what you want ...

11

How about adding the class option oneside? P.S.: This should work for all classes featuring the \chapter command plus the twoside default option. In particular, it works for the standard class book and the KOMA-Script class scrbook.

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