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.

0
votes
0answers
17 views

The `twoside` document class option in Microsoft Word [migrated]

Is it possible to replicate the twoside document class option in Microsoft Word? I am asking because I am writing in LaTeX with page size A4 and I am supposed to use standard Microsoft Word margins ...
0
votes
0answers
18 views

Classicthesis bibliography formatting

I am using classicthesis to write my PhD thesis. I need a way to customize the margins of the bibliography (I'm using biblatex) and avoid a huge number of just slightly overfull hboxes (e.g. just ...
0
votes
0answers
18 views

How do I create chapter lookup markings in the margins (like in a dictionary)?

I am creating a long collection of formulas that I would like to use as a printed reference. It already has a table of contents, but I would also like to add marks on the margin that allow for a quick ...
1
vote
1answer
42 views

How to insert an imported standalone tikzpicture and its caption on the extra margin of the indented paragraph on a specified location

I have a standalone tikzpicture and I want to put it in the left extra margin (blank space) created by an indented paragraph satisfying all these conditions simultaneously as below: I do not want to ...
1
vote
1answer
54 views

How to put a figure on the left space of a large indented paragraph without breaking the paragraph?

I have a standalone document that creates a figure using tikz package as below: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0) -- (1,1); \end{...
0
votes
0answers
24 views

Either page number or text body should be 1 inch from the margin depending on whether page begins a chapter

Problem How can I write a document class to place page numbers one inch from the bottom on pages with a chapter heading and place the text body one inch from the bottom on pages without a chapter ...
1
vote
1answer
38 views

caption for pictures and formulas on the top left side in a only right sided document

I want a document that has only right pages and always the broader margin on the left side. The caption of pictures and formulas should be at the top left side and align with the text. I know how i ...
1
vote
0answers
53 views

Never break a page unless explicitly told so, expand the margins to fit the content, and have mixed margins in the same document

The first part of this question is basically this question: Absolutely, definitely, preventing page break Partially modified MWE from that answer, \documentclass{article} \usepackage{lipsum} \...
1
vote
1answer
34 views

Place Image Outside margins

I'm writing a technical manual and I'm using this template: % % % LAYOUT_E.TEX - Short description of REFMAN.CLS % 99-03-20 % % Updated for REFMAN.CLS (LaTeX2e) ...
2
votes
2answers
38 views

How to remove margins between columns

I have created a document that consists of three columns. My source code: \documentclass[a4paper,12pt]{minimal} \usepackage[margin={2cm, 1.5cm}]{geometry} \usepackage{polski} \usepackage{calc} \...
1
vote
1answer
47 views

Margins of my document has changed in hard copy

Question: Hello, I am making a document in which i have been facing margin related issues. First is when i take print out of the document i found that the space above headrule(line) and footrule(...
1
vote
2answers
50 views

first and second row need different margin

My minimal code: \documentclass{article} \usepackage{tikz} \usepackage{tcolorbox} \tcbuselibrary{poster} \usepackage{bbding} \usepackage{pifont} \usepackage{enumitem} \usepackage{tcolorbox,enumitem,...
0
votes
1answer
17 views

How to fix a text out of the lower margin?

I was reading my text and found a part of the text out of the lower margin. I tried to remove [h] from all the floats, however the result still being a part out of the margins. Any help? \...
1
vote
2answers
25 views

Ignore margins for too wide table

I have quite a big table that runs into the right margin but is aligned on the left side. Instead, I would like it to be centered on the page ignoring the text margins I specified for the document. I ...
1
vote
1answer
35 views

How to know the margins settings used within a document?

I know the package geometry and its 'showframe' option, so I know how to displayed the frames and the margins within a document. But I've no idea of the settings used to produced them. Is there a way ...
0
votes
0answers
31 views

How to shift the footer downwards when using `\enlargethispage`?

\clubpenalty and \widowpenalty are parameters that can be set to help prevent single lines on the preceding or next pages. However, sometimes, we may get two or three lines on the next page with a new ...
1
vote
2answers
42 views

In table vertical alignment of text

Question: In my table I found that text is not vertical aligned. \documentclass[12pt, a4paper]{article} \usepackage[ a4paper,top=0.7in,bottom=0.4in,left=0.7in,right=0.6in]{geometry} \usepackage[utf8]{...
6
votes
2answers
598 views

How to make full use of paper margin

I have a five pics presented on one page. I find that the pics are so small I want to magnify them. But when I use larger \linewidth in the \includegraphics, pics are overlapped together. I think the ...
2
votes
1answer
40 views

\setlength{\odd/evensidemargin} is ignored when using tudsc document class tudscrbook

I'm on the last steps of my thesis. Due to my university I have to use the document class tudscrbook which is based on the scrbook class of the KOMA-Script and is available at the CTAN. However, ...
2
votes
0answers
32 views

How to reduce top margin?

How can I reduce the margin between the first line of my document and the headerline? \documentclass[12pt, a4paper]{article} \usepackage[ top=0.6in,bottom=0.6in,left=0.7in,right=0.5in]{geometry} \...
1
vote
1answer
26 views

Margins of header apa6 document class

I can modify the margins of the body of an apa6 class document by reloading the geometry package: \usepackage{geometry} \geometry{ a4paper, total={170mm,257mm}, left=15mm, right=15mm, top=20mm, ...
1
vote
1answer
41 views

Different left margin at last page only

I need to create a latex template which will generate PDF with two zeros in Left margin at each page (MWE is provided below), and three zeros at the last page. Problem is with the last page as it is ...
0
votes
1answer
18 views

small text not going all the way to the margins

I have been trying to put smal text to the very top left of the page by using the geometry package and setting the margins to 0, but it doesn't go all the way - there is a slight vspace to the right ...
0
votes
0answers
22 views

Size of document changes when printed in paper, and size of PDF changes when included as is

I am using this LaTeX template for an academic thesis. I have two problems with the size of the page: When the document is displayed on a screen, it shows the normal page margins you'd expect. ...
2
votes
1answer
61 views

How to reduce top margin of chapter title page?

I need 1in top margin in all pages. Chapter title page taking more margin that i need. This is my MWE: \documentclass[a4paper,12pt]{report} \usepackage[left=1.5in,right=1in,top=1in,bottom=1in,...
1
vote
3answers
43 views

How to achieve the following in memoir class:

Consider the example attached below, taken from the memoir package documentation. I would like to be able to replicate how the words "lines" and "nearest" appear in the margins. For example, say I ...
0
votes
0answers
27 views

How to set top margin for fancyhead?

I need 1in top margin for every page. I have used \usepackage[left=1.5in,right=1in,bottom=1in,top=1in,includefoot, heightrounded]{geometry} But, there for fancyhead does not look good. It takes ...
2
votes
0answers
96 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 ...
2
votes
1answer
26 views

Add text inside itemize and enumerate without indent

I have this MWE: \documentclass{article} \newcommand{\toleftmargin}[1]{?????} \begin{document} \toleftmargin{This text should be on the left margin and already is} \begin{itemize} \...
1
vote
1answer
21 views

Ordinary text ignores margins in customized book class

I'm making use of a provided custom class to write a dissertation (called dissertation.cls), which is based on the book class. I have found that it leads to sentences ignoring page margins on rare ...
1
vote
0answers
16 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
26 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 ...
2
votes
1answer
29 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
13 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
42 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
35 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
28 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
70 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
37 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
84 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
49 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
54 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
37 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
55 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
42 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
48 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
50 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
132 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
33 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
405 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^...