Questions tagged [margins]

{margins} is about dealing with (above all, changing) the margins of (whole) pages and, conversely, the width and height of the textblock and its positioning on the page. Popular packages are {geometry} and {typearea}. For changing the "margins" in the middle of a page, use {indentation} instead.

313 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
366 views

How to make Tufte sidenotes behave properly in tcolorbox environments?

Marginnotes (sidenotes), and therefore citations in the tufte-book class don't play nice with the theorem boxes in tcolorbox. I've tried to rewrite the citation and marginnote commands in tufte using ...
failedentertainment's user avatar
5 votes
0 answers
2k views

fbox of parbox of textwidth length is too wide

I was implementing the code found in this Q/A How to put a long piece of text in a box? to create a command for a paragraph text inside a framed box. However the box goes too far into the margin ...
zylitoL's user avatar
  • 149
4 votes
0 answers
41 views

Start right page below chapter heading on left page within xltabular

I am trying to make a notation table using an xltabular. This spans a bit more than one page. I am using the class scrbook, where all my chapters start on an odd page. However, for the notation table, ...
Maformatiker's user avatar
4 votes
0 answers
790 views

Can I enlarge/reduce \skip\footins on single page? (similar to \enlargethispage)

Is there a way to reduce or enlarge \skip\footins on a single page? So that on the next page, the value goes back to normal? I'm looking for something similar to \enlargethispage, but which does not ...
LaTechneuse's user avatar
  • 1,339
4 votes
1 answer
3k views

"Move" up table of contents

Currently writing my thesis using LyX, I am having a bit of trouble with my Table of Contents. The TOC is so long that I have 1 line on second page, which obviously doesn't look good. Therefore, I ...
Anders Hess Christensen's user avatar
4 votes
0 answers
2k views

Replicating engineering computation pad

Motivation: I am starting some engineering courses, and we are required to work out our problems on engineering computation pads. I find that a majority of the time I spend on my homework problems is ...
Michael Molter's user avatar
4 votes
0 answers
166 views

How to place cross references in center margin between two columns

How can I put all cross references in the center margin, with those for the left column vertically positioned above those for the right column? The text will wrap to additional pages, and the cross ...
Polyhat's user avatar
  • 355
4 votes
0 answers
258 views

Animation on paper

I started writing my thesis and someone proposed that I could put small markings on the edge of the pages so that when someone flips the pages an animation would be shown. I would like to have the ...
Evangelos Bempelis's user avatar
4 votes
0 answers
182 views

Condensing everything to force fit a page?

I have a math exam I can use three pages of notes for and I was thinking, is there a way to type a document in LaTeX that will auto adjust to fit three pages or should I just play with the font sizes ...
steph's user avatar
  • 323
4 votes
0 answers
313 views

Funky pdfscreen margins

You can set the margins on pdfscreen to 0pt, but when the vertical size is < 1.2in there remains a gap at the top of the page. \textheight has the correct value, and it is possible to write all the ...
John Kormylo's user avatar
3 votes
0 answers
85 views

Floats aligned to the right in LyX

EDIT: I ended up using the method outlined here and was able to resolve the problem. Big thanks to the answerer of that question! I am using LyX, and am trying to center two images next to each other. ...
cruijf's user avatar
  • 41
3 votes
0 answers
530 views

Does ConTeXt fail in the LMTX environment with the Lettrine module?

I have been successfully using ConTeXt MkIV for all my documents. So far, everything has gone well with this TeX flavour in my Arch Linux distribution thanks to the context-minimals package ...
ebohoyod's user avatar
  • 161
3 votes
0 answers
319 views

Uneven margins memoir class

I'm having trouble with the margins of my report. The report is set up with memoir class: \documentclass[a4paper,12pt,fleqn,dvipsnames,twoside,openright]{memoir} \setlrmarginsandblock{3.5cm}{2.5cm}{*...
np874's user avatar
  • 31
3 votes
0 answers
241 views

Todo note floats into the wrong margin with page break and TeX capacity exceeded

While writing a seperate document I noticed that the todo note was printing in the wrong margin. Initially I thought this was because of a rogue use of \reversemarginpar, but after a bit of playing ...
oliversm's user avatar
  • 2,657
3 votes
0 answers
2k views

The counterpart of "adjustwidth" as "adjustheight"

Is there a counterpart/similar function like "adjustwidth" to width, as the "adjustheight" to height? What I hope to see is something like shifting a whole table upward above the top margin, since ...
wonderich's user avatar
  • 2,357
3 votes
0 answers
168 views

Notes between two columns with multicol

I have been working to get notes (possibly margin notes, but doesn't have to be) in between two columns of text. This question has proved useful, however it works with the twocolumn option for the ...
Montgomery's user avatar
3 votes
0 answers
346 views

How to make a paper with zero margins and use the whole paper size for typesetting?

Inspired by solution of @kiss-my-armpit in How to print the list of packages installed on TeX Live to a file?, I decided to make a poster-like document to list all packages in a single page. So I made ...
javadr's user avatar
  • 2,394
3 votes
0 answers
618 views

Is there any alternative to geometry package to set margins?

I'm trying to change the size of the top margin for one specific page in a large document and I do not want to use the geometry package. Moreover, placing \vspace{-x} on top does not work for me ...
João Matos's user avatar
3 votes
0 answers
95 views

Force \qed to break margin

I'm trying to add \qed to the end of a proof on my homework, but the proof comes so close to the bottom of the page the symbol is being put at the start of the next page. Is there a way to force ...
jbrow35's user avatar
  • 353
3 votes
0 answers
523 views

How to place to-do notes in a two-sided document in alternating margins while using the todonotes package?

Here's the MWE: \documentclass[a4paper, 12pt, twoside, titlepage, openright]{report} \usepackage[left=1.5in, right=1in, top=1in, bottom=1in]{geometry} \usepackage[english]{babel} \usepackage{...
Karthik D V's user avatar
3 votes
0 answers
314 views

Full Bleed TikZ with Crop and Registration Marks

I've created some card-sized pages that I now need to adapt for full-bleed printing and trimming. Here's an MWE: \documentclass[border=0in, multi=tikzpicture, varwidth=false]{standalone} \usepackage{...
Scott Colby's user avatar
3 votes
0 answers
907 views

changing margin for part of the document

I want to change the margin in the middle of the page in a twoside document. The contents in this section (with new wider margin) happen to continue on to the next page. And I am having a hard time ...
Sean N's user avatar
  • 183
3 votes
0 answers
236 views

Geometry package unexpected interaction with global twoside option and baselinestretch

The gif animation is obtained with the following tex code (by commenting out and restoring the corresponding parts of the preamble) and demonstrates that if twoside option is supplied as a global one (...
Halil  Sen's user avatar
  • 277
3 votes
0 answers
1k views

Changing top margin for second page only? \vspace inserts extra whitespace

I am trying to format a LaTex template for pandoc output from .md to pdf. The document is for lengthy university papers requiring very specific layout. The majority of the paper has 1 in margins all ...
Tyler Mykkanen's user avatar
3 votes
0 answers
713 views

Equal horizontal margins in memoir and article class - not equal if you get out the ruler

I am trying to get equal horizontal margins in a memoir class document. But I can't get the margins to be exactly equal, and this problem doesn't seem to be limited to the memoir class. All of the ...
GirlofVito's user avatar
3 votes
0 answers
218 views

Typesetting with "odd-shaped" margins

I am considering a poster presentation that I would like to design using nonstandard margin shapes. Current standard essentially puts elements inside a rectangle determined by page size, header and ...
Not Quite An Outsider's user avatar
3 votes
3 answers
3k views

Margins with newlfm

How do I adjust margins with newlfm? I've set everything I can find to zero, but there are still vast expanses of whitespace. Here is a minimal example: \documentclass[11pt,stdletter,...
esiefker's user avatar
2 votes
0 answers
34 views

Longtable landscape: toprules exceed margin and caption is centered

My longtable in landscape mode has formatting problems: the rules (top/mid/bottom) exceed the margin and the caption is centred (but I want it to be left-aligned). I haven't shortened the content of ...
Fantastic MsFox's user avatar
2 votes
0 answers
116 views

captionsetup works for one table but not the other

I've adjusted my question below: \documentclass[man]{apa7} \usepackage{array} \usepackage{float} \usepackage[singlelinecheck=false]{caption} \restylefloat{table} \renewcommand\thesection{\Alph{...
LCheng's user avatar
  • 121
2 votes
0 answers
226 views

Reduce top margin of itemize when inside columns environment (beamer)

I wrote the following example code: \documentclass{beamer} \usetheme{Copenhagen} \begin{document} \begin{frame} \begin{block}{Top margin is fine} \begin{columns}[b,onlytextwidth] \begin{...
Vary's user avatar
  • 23
2 votes
0 answers
34 views

Author query macro placing query wrongly on the page

I created a macro to place Query on the margin and the query list on the seperate page at the end of chapter I have two problem In the two column layout, when text continued from one column to next ...
RCV's user avatar
  • 1,966
2 votes
0 answers
276 views

Left margin set different for every /section /subsection

I need to set certain margins for every chapter, section... so each block appears to be 'in his own level'. Not only for the titles but for the whole text in each section. I need it to be ...
Álvaro Ferrero's user avatar
2 votes
0 answers
169 views

KDP class for latex and wrong margins

I am using latex with the KDP class to format my pdf. The layout is overall very satisfying but the margins don't seem right. For example, on odd pages, the margin on the right side is wider than that ...
Py-ser's user avatar
  • 245
2 votes
0 answers
70 views

What is the vertical spacing between the first line and the top of the document

I have set margins zero and no indent for a document (memoir). I’m trying to figure out what the spacing between the top of the page and the first line is and how to change it. I’ve discovered a ...
user110971's user avatar
2 votes
0 answers
173 views

ConTeXt marginal images and notes

I am writing a Textbook with much marginal notes and even images in the margin to explain words. I think it works best to use consequently the same command for text and images: \margintext. I want ...
Jan's user avatar
  • 137
2 votes
0 answers
782 views

Override margin settings of revtex4

I would like to modify the left and right margins around the table in the following "code": \documentclass[a4paper,preprint,aps,unsortedaddress]{revtex4} \usepackage[top=2.5cm,bottom=2.5cm,left=3.5cm,...
Roloka's user avatar
  • 203
2 votes
0 answers
362 views

Different top and bottom margins for odd or even pages

I have a two-sided landscape document that I intend to bind on the long (top/bottom) edge. To leave space for the binding, I would like a larger top margin on odd-numbered pages and a larger bottom ...
MAld's user avatar
  • 21
2 votes
0 answers
144 views

Accurately remove whitespace introduced by footer on only the first page

I have a document that has text that very nearly reaches the limits of the page geometry (the document has one centimeter margins). I have a footer (using fancyhdr) on all pages except the first by ...
skyrocket's user avatar
2 votes
0 answers
182 views

Alter single margin using Geometry package

I want to adjust only the top margin (using Article class). All other margins should remain the same. How do I use the geometry package to do this? As soon as I load the geometry package it changes ...
Kvothe's user avatar
  • 209
2 votes
0 answers
501 views

How to put the caption of a listing on the right margin?

I am currently using the package floatrow to put the captions of my figures on the right margin. How to achieve the same result for the captions inside listing environment (provided by \usepackage[...
toioski's user avatar
  • 165
2 votes
0 answers
642 views

Is there a new package to make Tufte style books?

I really like the look of tufte books. But it seems like the tufte-latex package is largely unmaintained, (Repo not touched in >1 year, long open PRs and issues) and not supporting things like LuaTeX. ...
Frames Catherine White's user avatar
2 votes
0 answers
1k views

Adjust margins on certain pages of table of contents

My University requires the first page of the table of contents to have 2 inch margins at the top and the subsequent pages to have a 1 inch margin at the top. All of the remaining pages in this section ...
Dave Lass's user avatar
2 votes
0 answers
802 views

Changing page margin of floating sidewaystable

I have a large table that I want to put sideways. Also to fit it on one page I want to reduce the page margins. One solution to change the margins is to redefine them with \newgeometry (followed by \...
Jonas's user avatar
  • 641
2 votes
0 answers
2k views

geometry - adjust textwidth to new margins

\documentclass[11pt]{article} \usepackage[a4paper, portrait, margin=1in]{geometry} \usepackage{adjustbox} \usepackage{tabularx} \usepackage{booktabs,csvsimple} \usepackage{pdflscape} [...] \begin{...
User1291's user avatar
  • 545
2 votes
0 answers
67 views

Verso Pages Lack Binding Correction

While the recto pages of the attached book project display the proper binding correction, the verso pages do not. How can I fix this, since binding will cut off the text? Here is a MWE: %!TEX TS-...
user26732's user avatar
  • 1,725
2 votes
0 answers
809 views

change margins of book class

I'm typesetting a book using the tufte-book class. All pages have left-side margin but in some pages I have to set the margin on the right side! Any ideas on how to get this?
m.sedighi's user avatar
2 votes
0 answers
506 views

How to display index entries on the same line as the text being indexed

Is it possible to let showidx display index entries on the same line as the text being indexed? It seems not as makeindx.pdf says: This macro actually typesets the box containing all the index ...
schremmer's user avatar
  • 2,107
2 votes
0 answers
4k views

How to set font, line spacing and header/footer margins?

I need to write some text for my university and I figured I should use LaTeX to get familiar with the system. I've read some basic tutorials etc, but they didn't help me with the following: There are ...
Apfelmännchen's user avatar
2 votes
0 answers
623 views

openright reseting

I have a rather larger document, where I use "openright": \documentclass[12pt,twoside,a4paper,openright]{report} I then have a few of my pages in the middle of the document where I use: \...
remi000's user avatar
  • 133
2 votes
0 answers
3k views

How to set proper paper margins?

I am trying to send a paper to a conference with specific margin requirements. I use the geometry package to define the margins. \usepackage[papersize={8.5in,11in}, left=1in, right=1in, top=1in, ...
Andy's user avatar
  • 21

1
2 3 4 5
7