Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

I'm creating example papers in LaTeX with different PDF backgrounds for different pages, and demo PDFs are given as follows: First page: example-image-a.pdf Odd pages (except first): example-image-b....
John Stone's user avatar
2 votes
1 answer
98 views

\documentclass{book} \usepackage{xcolor} \usepackage{amsmath} \usepackage{graphicx} \setlength{\oddsidemargin}{\evensidemargin} \reversemarginpar \setcounter{chapter}{3} \setcounter{section}{1} \...
Jonutson's user avatar
3 votes
2 answers
77 views

I'm unable to get my large footer to look sane on the first page. Specifically the "Limited Distribution" block is not centered, and even worse the footer runs off the bottom of the page. I'...
Seth Robertson's user avatar
0 votes
1 answer
33 views

I'd like to reproduce the exact page layout of the amsart document class using the article class. Does anybody have a simple solution for achieving this? I could not find any previous answer directly ...
Matteo Raffaelli's user avatar
6 votes
3 answers
258 views

I have 2 figures with captions that happen to be near the very bottom of my page. I prepared the following which can be compiled on Overleaf, even with the missing pdfs. \documentclass{article} \...
D.R's user avatar
  • 1,069
1 vote
2 answers
111 views

By default, the scrbook class sets the margin ratios inner:outer = 1:2. Is there a way to modify this so that the ratio is instead 2:3, potentially without manual modifications such as by using the ...
HerpDerpington's user avatar
0 votes
1 answer
110 views

I would like to have margin notes/margin pars/side notes, wider than my margin. My margin size is good. But I want some of my side notes be wider like say 4" wide, maybe some notes me just 3"...
Omid Ghayour's user avatar
2 votes
1 answer
73 views

I made a table of test cases with LaTex below: \documentclass[ paper=landscape, fontsize=11pt ]{scrartcl} \usepackage[a4paper, landscape, margin=2cm]{geometry} \usepackage{tabularray} \...
Seongjun Lee's user avatar
0 votes
1 answer
93 views

For context, I usually write long-form documents in LaTeX with a package bundle of my own macros for (but not entirely exclusively requiring) the scrbook document class. I intend to start writing ...
Frances's user avatar
  • 365
0 votes
0 answers
39 views

I am currently formatting a paper for an IEEE conference. I am using the IEEE paper template with IEEEtran. Unfortunately, the conference has specific formatting requirements, which are as follows: ...
manuel's user avatar
  • 1
1 vote
1 answer
95 views

I'm trying to make flash cards and want a header on each one and then a maths question in the middle of the card. I would expect at this stage for the text body to be starting at the top left, ...
alisonmb7's user avatar
3 votes
2 answers
216 views

The tikz picture is moved to the right relative to the page layout. I want to stop that unintended movement. In the document class article, I've set the paper width and height to be 36in and 24in, ...
David Collins's user avatar
3 votes
2 answers
205 views

I'm writing a LaTeX document using siunitx to typeset quantities: \documentclass{article} \usepackage[showframe=true]{geometry} \usepackage{siunitx} \begin{document} AAA AAA AAA AAA AAA AAA AAA AAA ...
taiwan12's user avatar
  • 307
5 votes
2 answers
432 views

What am I doing wrong? The document class is memoir and the paper size is A4. I want to compile the source file shown below to illustrate three different (red) figures according to the golden ratio ...
xpas2r's user avatar
  • 189
0 votes
0 answers
44 views

I am trying to add margin notes/annotations next to (some lines of) certain paragraphs. These notes should summarize the gist of the paragraph, explain why I wrote it, and clarify why I placed it at ...
Davide's user avatar
  • 1
0 votes
1 answer
73 views

I'm using the amsart class and I want to adjust the page layout to properly reduce the margins without using the geometry package. Specifically, I want to reduce the top, bottom, left, and right ...
Sebastiano's user avatar
  • 67.1k
0 votes
1 answer
72 views

I am trying to demonstrate an article layout with a wide margin for notes, using fancyhdr's \marginparwidth. I need the header rule to extend across the text body and the margin but I don't see a ...
Peter Flynn's user avatar
  • 3,116
1 vote
1 answer
94 views

Apologies: I want to violate the most basic prescriptions of sane typography. Have a bag ready. It's the lesser of evils. Say, I have a book, with margins of 0.5 inches on the spine and 1 inch on ...
ivo Welch's user avatar
  • 4,264
1 vote
2 answers
129 views

I'm using the kaobook class together with the marginfit package such that all citations in the sidemargin get shifted to fit within the margin. I noticed, however, that the page header (using \...
Linard Arquint's user avatar
0 votes
0 answers
96 views

The final effect is like: And the sample code is below: (How could we define a command \para which could control the number of the decoration as the above picture? The number is not fixed, we can set ...
Sunshine's user avatar
  • 625
2 votes
1 answer
89 views

I'm dealing with the following problem. To indicate things to be done in a text, we use \usepackage{marginnote} \newcommand{\mpar}[1]{\marginnote{\small\itshape #1}}% \newcommand{\att}{\marginnote[\...
Phillip Bachler's user avatar
1 vote
1 answer
124 views

I am currently very frustrated by what is happening to my bibliography in my latex document. So the bibliography quotes go beyond the margins of the page, or sometimes they just break line with no one ...
Lorenzo Unich's user avatar
5 votes
2 answers
104 views

When I want to use the marginpar, something wrong happened, how to fix it and show the marginnote? \documentclass{amsart} \usepackage{lipsum,tikz} \usepackage[top=1cm,bottom=1cm,left=0.5cm,right=0.5cm]...
Sunshine's user avatar
  • 625
2 votes
1 answer
83 views

I am working on a Beamer file, using the gotham theme, with the following code and the following output: % !TEX program = xelatex \documentclass[aspectratio=169, xcolor=dvipsnames]{beamer} \usetheme[...
Raul Guarini Riva's user avatar
0 votes
2 answers
121 views

Could anybody revover the disappear context in the third paragraph? \documentclass{amsart} \usepackage{lipsum,tikz} \usepackage[top=1cm,bottom=1cm,left=0.5cm,right=0.5cm]{geometry} \def\ppp{...
Sunshine's user avatar
  • 625
6 votes
2 answers
153 views

When I use the Marginpar and Geometry package together, \documentclass{amsart} \usepackage{lipsum} \usepackage[top=1cm,bottom=1cm,left=0.5cm,right=0.5cm]{geometry} \begin{document} \lipsum[1]\...
Sunshine's user avatar
  • 625
0 votes
1 answer
66 views

Notice here the marginpar has align on the left, \documentclass{amsart} \usepackage{lipsum} \begin{document} \lipsum[1]\marginpar{One Two Three} \section{One}\marginpar{\raggedleft\text{One Two Three ...
Sunshine's user avatar
  • 625
3 votes
1 answer
61 views

I notice that the marginpar starts with the left side aligned. \documentclass{amsart} \usepackage{lipsum} \begin{document} \lipsum[1]\marginpar{One Two Three} \lipsum[1]\marginpar{One Two Three Four} \...
Sunshine's user avatar
  • 625
1 vote
1 answer
90 views

I have a tex file \documentclass[ chapterprefix=true, headings=optiontohead, twoside=true ]{scrbook} \usepackage{kantlipsum} \usepackage[autooneside=false,automark]{scrlayer-scrpage} % Clear ...
Akira's user avatar
  • 3,381
1 vote
0 answers
35 views

I have a tex file (from this answer) \documentclass[ chapterprefix=true, headings=optiontohead, twoside=true ]{scrbook} \usepackage{kantlipsum} \usepackage[autooneside=false,automark]{scrlayer-...
Akira's user avatar
  • 3,381
2 votes
1 answer
140 views

If I want to use the marginpar command, how to control its position? Namely, the marginnote appear either on the left or on the right. And I want to control the width of the box and the innersep ...
Sunshine's user avatar
  • 625
1 vote
1 answer
85 views

I'm learning KOMA Script. One thing I tried is one column vs two column book. Surprisingly, there is a big difference. One column text has large margins, but two column text has almost no margins in ...
twig-froth's user avatar
0 votes
2 answers
167 views

I'm getting lots of compilation warnings with a large document and I would like to fix this, while the document is compiling fine and gives (apparently) a nice PDF document. The warning messages are ...
Cham's user avatar
  • 2,858
1 vote
3 answers
118 views

I am making a custom beamer template and want my slides to have color boxes that frame slide contents. However, I am not able to figure out how to change the width of the theorem blocks. Manipulating ...
Slowflake's user avatar
0 votes
2 answers
92 views

I’m still trying to format my document to match a certain book as closely as possible for my group assignment. With the help of everyone here, I’ve learned that the book uses margin notes placed ...
Hòn's user avatar
  • 17
3 votes
1 answer
102 views

I don't manage to make narrower act on itemize: it seems that the itemize environment doesn't see the narrower command. Here is a MWE: \documentclass{article} \usepackage{lipsum} \begin{document} \...
Egomet's user avatar
  • 121
0 votes
1 answer
136 views

I'm working on a small project that requires translating part of a book into my native language and then including it in a report using LaTeX. The requirement is that the LaTeX page should resemble ...
Hòn's user avatar
  • 17
1 vote
1 answer
95 views

I have set margins for the entire document. For a few pages at different places, I need to modify the margins. This solution redefines the fullwidth environment but I need to change all the margins. I ...
Simon's user avatar
  • 191
1 vote
0 answers
120 views

To be straight, I want to put hyphenation, emdash, endash, and punctuations (quotation mark, comma, point...) outside body area in LaTeX. Please see pictorial description of what I want in the below ...
Abbas's user avatar
  • 103
1 vote
1 answer
64 views

I have this: \documentclass[10pt,compress]{beamer} \usepackage{tikz} \usetikzlibrary{arrows.meta, automata, shapes.geometric, chains, positioning, shapes.arrows} \begin{document}...
user69507's user avatar
  • 123
0 votes
1 answer
81 views

I need to display two tabular ennvironments inside a single table environment. The resulting table is both taller and wider than the available space with the default page margins (I am using the ...
Sirion's user avatar
  • 297
4 votes
1 answer
148 views

I am trying to make my plot the same size as the margins. I have tried so many things, but cannot figure out a solution. Changing width=\marginparwidth to width={} is a slight improvement, but I am ...
Tomas R's user avatar
  • 175
3 votes
2 answers
190 views

I would like to change the bottom margin on the first page of a two-column article (that can sit somewhere in the document, so is not necessarily the first page of the document) without inserting a ...
Jasper Habicht's user avatar
0 votes
2 answers
104 views

I'm using the fancyhdr package and used pagestyle to remove the header from the first page. I have a statement and I fill the rest of the page using \gridfill. I'm going to put my complete code, don't ...
Ulisses 's user avatar
3 votes
2 answers
136 views

I'm using the fancyhdr package, but I don't want it to be used on the first page. I used \thispagestyle{firstpage} to solve this and it worked. My question is that I want to reduce the top margin of ...
Ulisses 's user avatar
2 votes
1 answer
140 views

Is there a way to put marginal notes at the bottom of the page? I'm using the medieval page setting in a memoir class document so I can have extensive marginal notes on a page. This works nicely for ...
Matt Petersen's user avatar
0 votes
0 answers
58 views

I have a document that use the llncs class, and I want to change its geometry (top and side margins) only for appendices, at the end of document. I saw saw the usually recommended solution is to use ...
user8622655's user avatar
1 vote
1 answer
209 views

I am typesetting some Gujarati poem lyrics using the polyglossia, verse and paracol packages. Here is an example of how I wish the lyrics to be typset: Each stanza of the poem is written on a new ...
Karma's user avatar
  • 13
0 votes
1 answer
53 views

Thanks in advance for resolving this issue. i am writing thesis one side format in 12pt and times font. I want to fix the margins of top, left=1.5, right and bottom=1in. Although i used the geometry ...
Sonia Simran's user avatar
5 votes
1 answer
137 views

One can vertically adjust the position of the sidenotes with its optional arguments. \sidenote[][2cm]{content}. Now this is fine with the sidenote is in the middle of the textblock. But when the note ...
Damitr's user avatar
  • 2,159

1
2 3 4 5
55