Single sided and double sided documents
LaTeX offers the possibility of declaring the document as one-sided or two-sided, this wil arrange several elements to look fine in the chosen format.
Introduction
Declaring a two-sided document is simple, just pass the twoside
parameter to the \documentclass
declaration.
\documentclass[twoside]{article}
\usepackage[utf8]{inputenc}
\title{Two-sided document example}
\author{ }
\date{March 2014}
\begin{document}
\maketitle
\section{Introduction}
In a two-sided document the space in the inner side
of the page is a bit larger. There are several commands
that have a special version for two-sided documents,
like figure alignment and page numbering.
\end{document}
As you see, the margins are different from those of a one-side document.
Difference between one-side and two-side documents
Lets compare a one-sided with a two-sided document.
\documentclass[a4paper,11pt,oneside]{book}
\documentclass[a4paper,11pt,twoside]{book}
Headers, page numbering, margin notes and several other elements are reformatted when using a two-sided document. Chapters in a two-sided document start on a right page.
It is a good way to define a binding offset value for documents with binding (e.g. books) by using the geometry package.
When inserting images in a two-sided document you can define the alignment relative to the edges of the page.
Further reading
For more information see:
Overleaf guides
- Creating a document in Overleaf
- Uploading a project
- Copying a project
- Creating a project from a template
- Including images in Overleaf
- Exporting your work from Overleaf
- Working offline in Overleaf
- Using Track Changes in Overleaf
- Using bibliographies in Overleaf
- Sharing your work with others
- Debugging Compilation timeout errors
- How-to guides
LaTeX Basics
- Creating your first LaTeX document
- Choosing a LaTeX Compiler
- Paragraphs and new lines
- Bold, italics and underlining
- Lists
- Errors
Mathematics
- Mathematical expressions
- Subscripts and superscripts
- Brackets and Parentheses
- Fractions and Binomials
- Aligning Equations
- Operators
- Spacing in math mode
- Integrals, sums and limits
- Display style in math mode
- List of Greek letters and math symbols
- Mathematical fonts
Figures and tables
- Inserting Images
- Tables
- Positioning Images and Tables
- Lists of Tables and Figures
- Drawing Diagrams Directly in LaTeX
- TikZ package
References and Citations
- Bibliography management in LaTeX
- Bibliography management with biblatex
- Biblatex bibliography styles
- Biblatex citation styles
- Bibliography management with natbib
- Natbib bibliography styles
- Natbib citation styles
- Bibliography management with bibtex
- Bibtex bibliography styles
Languages
- Multilingual typesetting on Overleaf using polyglossia and fontspec
- International language support
- Quotations and quotation marks
- Arabic
- Chinese
- French
- German
- Greek
- Italian
- Japanese
- Korean
- Portuguese
- Russian
- Spanish
Document structure
- Sections and chapters
- Table of contents
- Cross referencing sections and equations
- Indices
- Glossaries
- Nomenclatures
- Management in a large project
- Multi-file LaTeX projects
- Hyperlinks
Formatting
- Lengths in LaTeX
- Headers and footers
- Page numbering
- Paragraph formatting
- Line breaks and blank spaces
- Text alignment
- Page size and margins
- Single sided and double sided documents
- Multiple columns
- Counters
- Code listing
- Code Highlighting with minted
- Using colours in LaTeX
- Footnotes
- Margin notes
Fonts
Presentations
Commands
Field specific
- Theorems and proofs
- Chemistry formulae
- Feynman diagrams
- Molecular orbital diagrams
- Chess notation
- Knitting patterns
- CircuiTikz package
- Pgfplots package
- Typing exams in LaTeX
- Knitr
- Attribute Value Matrices
Class files
- Understanding packages and class files
- List of packages and class files
- Writing your own package
- Writing your own class
- Tips