Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
12 views

`\newgeometry` and `\pagestyle` inside custom environment

The case is simple: when I put \newgeometry{margin=0} or \pagestyle{empty} inside a custom environment, it doesn’t work (but it work outside). So, with the following MWE: \documentclass[a4paper,11pt,...
0
votes
1answer
22 views

Replace author-year citation with superscript numbers and move the citation itself to the margin of the frame (beamer)

I would like to use author-year citation but its length can be distracting for the reader. I still want to mention author names and dates explicitly because this shows the chronological progress of ...
0
votes
0answers
13 views

flalign inside list has extra space even after \setlength{\abovedisplayskip}{0pt}

I have defined this environment: \newenvironment{proofln}{\par \textbf{Proof}\list{}{\leftmargin=10pt\rightmargin=0pt\topsep=0pt}\item\relax}{\endlist\textbf{Q.E.D}} Now I use it like this: \...
1
vote
1answer
12 views

Why alignment of my text is not same for each written part?

\documentclass[10pt,fleqn]{article} \usepackage[top=1in, bottom=1in]{geometry} \usepackage{amsfonts} \usepackage{graphicx} \usepackage{amsmath} \usepackage[T1]{fontenc} \usepackage{titling} \begin{...
0
votes
0answers
21 views

Left margin in list of tables

I am using \listoftables . Some elements of the list are longer than a single line. The first line of each element has a greater indentation than its following lines. I can I set the same indentation ...
0
votes
1answer
25 views

The bibliography does not occupy all text width in beamer

I am trying to modify the margins of the references page, but the bibliography does not stretch over all the width available for it. Instead, it occupies a width very similar to the one that would ...
1
vote
1answer
25 views

Storing several macros in one command when they start with `\makeatletter`

I want to create beamer slides but I frequently need to change the margins of my frames using the commands (thanks to samcarter for providing the original code) % Page wide frame \makeatletter \...
2
votes
1answer
43 views

Formatting curriculum vitae in LaTeX

I am trying to create my curriculum vitae within LaTeX. I have tried working with templates, but that did not lead to the desired result. I have created, in my opinion, a very clean cv within ...
0
votes
0answers
26 views

WrapFigure bottom spacing issue

I'm currently facing an issue where a wrapfigure is making some lines not use the whole line, to make it clearer here's a picture: As you can see there's plenty of space for the line to use, yet ...
1
vote
1answer
35 views

Margin setting for chapter title and chapter number

I'm using the code below. The margin for my report is 2cm for top, right and bottom, 4cm for left. The margin setting works for my second page. However, it does not work for my page in which the ...
2
votes
1answer
40 views

How can I move a box inserted in a line to the left edge of the page?

I am trying to use a notification for an upcoming note page. The notification is a small box shown simultaneously with the note that precedes the note page. I would like the box to go to the very ...
1
vote
1answer
25 views

geometry package - setting margins on a specific page

I want to set the first page's margins differently from the rest of the document. What is the best way of doing this? I am using geometry package to adjust my margins. Any help is appreciated, thank ...
1
vote
1answer
33 views

Image at the top of the page + margins

I am trying to do my company paper. After few tries I finally put my image at the top of the page. But after that when I am using \usepackage{scrextend} and trying to change margins, the text is above ...
1
vote
1answer
42 views

Left margin larger than right

My left margin is greater than my right. I've not made any explicit changes to margin sizing. I'm compiling with Texmaker to PDF. I'm using the following packages. \documentclass [MS] {uclathes} \...
1
vote
1answer
37 views

Lettre Class, how to supress this aweful blank space

I am currently writing a cover letter with the modified lettre package which is a modified version of the original letter, in order to correspond to french standards. Below a MWE : \documentclass[...
2
votes
1answer
33 views

How to customize the margins of minipages in a beamer frame?

I use inmargin for innertheme but sometimes I would like to write two column contents where a certain text extends from the very left to the very right of the page. However, I am still not sure how to ...
1
vote
1answer
36 views

How can I customize a theme independent note page? (beamer)

I would like to create a custom note page in beamer which sould look like this However, the layout of this note page will vary greatly depending on the current theme settings. If I am to change the ...
5
votes
2answers
104 views

Equation Array Exceed Right Margin

I write equations in eqnarrayuse Latex, but there are lines that exceed the right margin, how to fix it? This is my code: \begin{eqnarray} k_1&=&hf(t_i, y_i)=hf_i \label{$k_1$ RK-4}\\...
0
votes
0answers
22 views

Margin setting not consistent

I'm currently typing my dissertation. The requirement for text margin is top 2cm, right 2cm, left 4cm and bottom 2cm. My setting works for all pages, except the pages at which the chapter titles are ...
5
votes
3answers
401 views

This equation is outside the page, how to modify it

\documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} \partial_t u(t,x)=\left\{ \begin{array}{l l} \displaystyle{\left(\partial_t \xi^t(x)R'(\xi^t(x))-\partial_x G(t,x)R(\xi^...
0
votes
0answers
29 views

Margin reversed on figure in tufte-book

I'm writing a book in tufte-book and occasionally get figures and captions that do not respect which side the margin is on. Here, on page 24, the margin is on the left (as can be seen by the \quote ...
2
votes
1answer
50 views

How to adjust darkness of various colors for text

Question: 1 How can I adjust darkness of different colors in my document? Question: 2 I want to add headrule and footrule with specified width and length, even I wish to write some text at left, ...
0
votes
1answer
26 views

How to leave enough space for handwriting notes in twocolumn pages

I would like to leave enough margin spaces in the pages to be able to make hand annotations in the PDF file. The document has twocolumns and is generated with IEEEtran document class. For example: \...
2
votes
1answer
30 views

Asymptote package generating unwanted margins

I have the following code: \documentclass{standalone} \usepackage{asymptote} \begin{document} \begin{asy} size(100); import graph; path bill = Circle((0,0),100); real phi = 70*pi/180; draw(bill); ...
2
votes
2answers
36 views

Overfull lines in an enumerated-style paragraph

The last item in my enumerate in my itemize list oversteps the margin. I have tried bounding it in {} but didn't work. My code is as follows: \begin{itemize} \item Hver uafhængig sløjfe tildeles ...
2
votes
1answer
92 views

What are the ideal page margins to use in LaTex

I am new and I wanted to see what was the ideal page margins to use? EDIT: I mean if I to write an article or a small document. I've been using the standard margins and they seem to be okay
2
votes
1answer
34 views

Table extending into margins even with fractional width of textwidth specified

I am having a weird issue. I am trying to create a table that requires multiline headers centered both horizontally and vertically. I figured out how to do this using {\centering\arraybackslash}m{&...
3
votes
0answers
96 views

ConTeXt images/floats in text and margin

In making a format for a Latin Textbook, I get problems when I insert images in margin and text. Because I fear that there is some interference in my document, I will paste the whole document setup (...
0
votes
1answer
40 views

Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required margin of 0.75 in.”

I am trying to upload a paper on EDAS (paper management and upload portal) but getting the following error. I tried so many different things, like changing the position of figures, but then this error ...
1
vote
1answer
18 views

Bottom margin on the page following \newgeometry not respected

I make a document in booklet format and I would like the first page to be centered. I have used the twoside argument for the geometry package. When I redefine the geometry for the title page, it ...
1
vote
0answers
57 views

Set margin for each page?

I know using \newgeometry{left=xcm,bottom=xcm} and \restoregeometry can help to set a new margin, but I don't know where I should put this to reset only the second page (or third, etc.). Here is the ...
0
votes
0answers
32 views

How do I `center' the text within 1 in margins?

I need a document which is centered within 1in margins. As it stands, the document prints aligned to the left. Here is the code I use: \documentclass[a4 paper,11pt]{article} %\usepackage[inner=2.5cm,...
0
votes
0answers
27 views

How do I place a header within the 1inch margin? Here is my code:

\documentclass[a4 paper,11pt]{article} %\usepackage[inner=2.5cm,outer=2.5cm, bottom=2.5cm]{geometry} \usepackage[margin=1in, showframe]{geometry} %\usepackage[a4paper,margin=1in,showframe]{geometry} \...
0
votes
1answer
41 views

Should geometry bindingoffset remove or add space from the inner margin?

In twoside book/memoir documents, using the geometry package and LUALaTeX - and to set up offset printing, (four + pages per sheet): What should be the expected behavior of bindingoffset? 1. Issue ...
5
votes
1answer
111 views

context: line between margin and text

I work with ConteXt. Here at StackExchange I found a code for LateX to put a line between the text and the margin/marginparagraph. This line is visible in the image below. After that, I switched to ...
0
votes
1answer
59 views

force longtable to text width

Instead of specifying the width of each column in a longtable (see below), is there a way to get it to automatically adjust its size so that it matches the text width, but does not go into the margins?...
0
votes
0answers
22 views

Why does `endfloat` package reserve a whole page for each float when they are small enough to be put together?

I use endfloat package to stack all floats after the document has ended, but it seems that even if some floats are small enough to be put together in one page, endfloat will still place each one in a ...
0
votes
2answers
40 views

Table placement using sidewaystable or landscape

I can use either {sidewaystable} or {landscape} to produce a table and its caption that are landscape on a page. However, it is centered on the page. How do you move it so that it aligns with the left ...
3
votes
1answer
79 views

How to reduce de float's white space around it?

I have some floats which size is almost the page size, however there is a little space that I'd like to use with text. How can I make that LaTeX uses the maximum of the page without creating a page ...
3
votes
1answer
33 views

Adjust border of one side of a minipage

I have a minipage with text on the left side and an image on the right. I would like to adjust the left side so that left and right of the text has space of 2cm in width, but the minipage on the right ...
0
votes
0answers
19 views

Column height not obeyed in tufte-book

I'm writing a book in tufte-book and using the default setting I find that marginfigures do not break properly at page boundaries. The below shows one example: Both the ear figure (Figure 2) and the ...
1
vote
1answer
59 views

tcolorbox not centering in absolute positioning tikz node

Alright people, I've stumped myself again. It appears (to me at least) that tcolorbox has some outside margins or padding that I don't know how to control. I use tikz absolute positioning to format ...
1
vote
2answers
36 views

Space between figure caption and bottom margin

I am looking to put a figure at the bottom of my document in a way that the caption is aligned with the bottom margin (i.e. no space between text and margin). Here's a MWE: \documentclass[12pt]{...
0
votes
0answers
29 views

\resheading command

\resheading command is generating text boxes with different alignments (different horizontal margins) for different pages. How can I generate two text boxes on the same margin on two consecutive pages ...
1
vote
1answer
25 views

Spacing issues from vertical margins

I am trying to make the text in my document to align with the margins of my document. Here's a MWE \documentclass[12pt]{report} \usepackage[top=1.0in,hmargin=1.25in,height=9.0in,letterpaper,showframe]...
1
vote
2answers
46 views

How to align several lists using the enumerate environment?

I'd like to align the left margin of these lists. This is what I get: This is what I want: MWE: \documentclass{article} \usepackage{enumitem} \begin{document} \quad \newline This is a list ...
1
vote
1answer
46 views

Use \scriptsize and shift a longtable to the left with revtex4

I have the following table: \documentclass[a4paper,preprint,aps, unsortedaddress]{revtex4} \usepackage[top=2.5cm,bottom=2.5cm, left=3.5cm,right=2.5cm]{...
0
votes
0answers
28 views

\LTleft, \LTright, and \scriptsize not working with revtex4 [duplicate]

I have the follwing table: \documentclass[a4paper,preprint,aps, unsortedaddress]{revtex4} \usepackage[top=2.5cm,bottom=2.5cm, left=3.5cm,right=2.5cm]{...
1
vote
0answers
28 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,...
1
vote
1answer
39 views

Top-right margin displaying “Contents” instead of section title

I have a class MyReportClass where I define what has to be displayed in the margins of all pages of my document. In particular I would like the current section to appear in the top-right margin of ...