{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.

learn more… | top users | synonyms

1
vote
1answer
13 views

\includepdf puts title section below top margin

I'm inserting an pdf file for a section with the command \includepdf[scale=0.9,pagecommand=\section*{\begin{center} ANEXO \end{center}}]{Oficio5S.pdf}, so the pdf is inserted in the page ...
0
votes
0answers
17 views

Draw with PStricks on a large paper size

This question already received attention, but I still cannot find a satisfying answer. I need to draw a big diagram in PStricks. For readability, I want to use a single larger page in the middle of my ...
0
votes
2answers
43 views

Pagenumber change; causing margin (and marginnotes) to switch sides

I am using \documentclass{article} to formulate an a4paper in twoside mode; Every thing is fine ... Well nearly, there is a small glitch somewhere in the standard LaTeX defaults between the page ...
1
vote
2answers
77 views

Koma Script: Indent Paragraph but not Headings

I want to increase the left margin of paragraphs, but keep headings as they are. It should look similar to the layout of the hitec class. I am using the scrartcl class. So far I tried ...
1
vote
2answers
14 views

How to extend PStricks margins when working on a single larger page

I need to draw a big diagram in PStricks, using XeLaTeX. To be readable, I want to draw it on a large page, which dimensions I manually set. Here's a MWE : \documentclass[11pt]{article} ...
1
vote
1answer
47 views

Converting exact margin requirements to areaset command

How do I find out what \areaset command to use for a specific margin requirement, e.g., left=2.5cm, right=2.5cm, top=2.5cm and bottom=3cm?
2
votes
1answer
25 views

adjustwidth inside minipage produces overfull hboxes

I'm trying to typeset paragraphs with different margin widths inside a minipage. To do this I'm using an adjustwidth environment from the changepage package. This typesets fine, but (since my ...
1
vote
1answer
29 views

Can't set border size in scrbook document

I'm trying to set page margins in my document, but nothing I tried actually worked. For example I tried \usepackage[total={17cm,25cm}, top=3cm, left=2cm, includefoot]{geometry} but didnt worked at ...
3
votes
2answers
35 views

Center Image to Page Inside Enumerate

I am trying to post an image inside an enumerated list but the left margin it starts with is the indented margin from enumerate. Is there any way to ignore that without having to break the enumerate? ...
0
votes
0answers
24 views

reduce gap in Latex friggeri CV

thank you guys, I figures it out. Meanwhile though there is a strange gap in one of my entries and I cannot for the life of me figure out why. The coce below gives no indication whatsoever as to why ...
2
votes
1answer
23 views

Marginal notes overrun the paper even if only papersize is specified

The following seemingly innocent MWE: \documentclass{article} \usepackage{geometry} \geometry{% papersize={170mm,240mm},% verbose% } \begin{document} Foo. \end{document} leads to the following ...
1
vote
0answers
42 views

two caption styles [on hold]

I'm using a KOMA-Script class with the twoside option. I have two types of figures: horizontal and vertical. I want to get a caption next to a vertical figure AND a caption below a horizontal ...
1
vote
0answers
24 views

Export pdf or image with A4 format and margins

I have this portfolio I made a while back to compile with LaTex. The thing is I don't know if I'm crazy or if the last time I downloaded Tex, the GUI was much more complex and it let me export my ...
2
votes
1answer
34 views

How do I centre the text in this custom paper size example?

I try to use the Swedish G5 paper size (169x239)mm with text width 111mm, text height 165mm, side margins 29mm and top margin 37mm. Why doesn't the text get centred? ...
0
votes
1answer
22 views

Numbered exercises as sections

I want to split my document like this Part 1 1) 2) 3) 4) Part 2 5) 6) 7) 8) How is the best way to do this? I could use \section{Part 1} \subsection*{1) ... \section{Part 2} \subsection*{5} ... ...
0
votes
1answer
21 views

Changing the width of second page and so on in friggeri cv, keeping first intact?

Lots of people are interested in this at different places, but I couldn't find a direct solution. One can use the template from here. A part of it is answered here and a simple tweak would be to ...
0
votes
0answers
35 views

Awsome-CV print margin settings

I am using awsome-cv for creating resume. Default settings are \documentclass[11pt, a4paper]{awesome-cv} When i print the pdf file created by XeLatex, extra margins are added. My printer settings ...
1
vote
2answers
71 views

Insert graphic with tikz without margin

I have to insert a graphic into the whole page with tikz. The graphic has the same size as the final document. I use tikz because I have to insert some drawing and some text into the graphic. My ...
0
votes
0answers
52 views

How to properly change from A4 to 24x17 cm format?

I have my PhD thesis in a a4paper document book in LaTeX. Just like: \documentclass[a4paper,10pt]{book} The thing is that now I realize I need it in a 24x17 cm. Fortunately, I have all my figure ...
2
votes
1answer
55 views

Margins and line spacings

I have 2 issues. 1) how to adjust the margins in the CV format. 2) Spacing issues with different sections. I am new to Tex and any help would be appreciated.
0
votes
0answers
70 views

How can I replicate this page using LaTeX?

I'm new to LaTeX. I'm preparing a grammar book, and I like how the book "A Practical English Grammar" was designed, simple and easy to use. I've tried using section, subsection, list... but I couldn't ...
2
votes
0answers
75 views

Student work correction classe

I'd like to get my students work correction look like this page. This document was written with Word (and not by me) and I have to type similar documents with the same formatting. If I were to ...
0
votes
0answers
29 views

How to set same header and margins for even and odd pages

I am using the document class yathesis. By default, the header and page margins are different for even and odd page (prepared for a reverse printing) but i want them to be similar since i will print ...
2
votes
1answer
38 views

Mark lines like overfull

I apologize if this has been asked before. I have searched and searched to no avail, it seems questions about getting rid of over/underfull boxes drown out any questions about how to produce the ...
1
vote
2answers
59 views

lyx: table goes out the page margin

how to solve this problem? I tried to change the font size and text width and none helped
0
votes
1answer
28 views

Way to keep header footer distance same for first page, smaller after that? [duplicate]

Is there a way in which i can keep the original header/footer size for the first page, then use smaller margins from the second page then on in?
1
vote
0answers
32 views

Business cards with different margins on each side?

I'm trying to make a business card with an image on the backside. The front is set up using a memoir with an addresslabel function. The margins I need for the text on the front do not seem to work for ...
0
votes
0answers
20 views

Lyx: Can't change page margin

Every tutorial suggests this window to change the page margins and I do recall that I was able to change it before from this window (on another machine) but here I don't have a text-input to set the ...
2
votes
2answers
43 views

enumeration label out of margin

I am wring this enumerated list as part of my document. I created labels as Step-I Step-II Step-III However they went out of margin on left side which looks ugly. I have attached the rough picture ...
2
votes
1answer
41 views

How to set the exact distance between the edge of a paper and text

I need 3 cm of space between edge of a paper and text on four sides. I tried to set margin value to 3 cm, but it did not work. Also, I tried to set other parameters as \marginparsep to 0pt, but it did ...
0
votes
0answers
19 views

Flipbook package deactivates bindingoffset

I'm writing my thesis with the book class package. In this thesis, I'm willing to add a flipbook in the top right corner of each odd page. For now, this works fine. However, whenever I add the ...
3
votes
1answer
31 views

Remove the word “chapter” in book class and put number in the white margins at the same time

I am working on my thesis in the book class, I work in Kile under Linux. So this is an overview of my latex code: \documentclass[a4paper,10pt]{book} \usepackage[utf8]{inputenc} % ### Chapter title ...
3
votes
0answers
31 views

Fix Appendix formatting [closed]

For my thesis I'm adding various appendices to the end. However, for some reason the formatting changes for the appendices. The margins completely disappear, making the text go right up to the edge ...
1
vote
2answers
38 views

Some lines are formatted differently (overflowing) for a reason I can't tell

In my first attempt to use LaTeX a bit seriously, I formatted my CV using the template in ShareLaTeX. Some parts were confusing and I got some great help from here and finally produced a CV that ...
1
vote
1answer
27 views

Change margins for one item in a beamer slide

You can see that the equation is cut off at the right side of the slide. Can I reduce left margin only for this item? \begin{frame}{Conditional Hazard Ratio under Competing Risks} \begin{itemize} ...
0
votes
1answer
50 views

tufte-latex: math tag into margin

How can I push a \tag of a math environment into the margin when using tufte-latex? I tried to modify the answer in margin note left of an equation? but I didn't understand the command. Here is a MWE ...
0
votes
1answer
32 views

Amsart style margins [duplicate]

I have a question that somehow depends on people's taste I suppose. I like the amsart package for my documents, however I always found the margins too large, so I got used to making them smaller (3cm) ...
1
vote
1answer
36 views

Header layout for multilines title using fancyhdr

My current header looks like this. The second line of the header is touching the dividing line. My question is how to move the text upwards or the dividing line downwards so that the format looks ...
5
votes
2answers
117 views

How to add marginal notes on the right in `ltxdoc` document class

I am having an issue inserting marginal notes while using the ltxdoc document class. I see that the default layout is the following: From what I understand, the margin notes are set up this way ...
2
votes
1answer
27 views

Strange issue with the right side margin

I am not sure why the margin on the right side of my document is unusually larger than usual. I am presenting an MWE where I have (unsuccessfully) tried to resolve the issue: ...
1
vote
1answer
60 views

Left Content Bar/Area

I am working on a template for papers and documentation. Sometimes, the authors have "key facts" or other items they wish to callout in a left content bar (xxxx is left bar, ccc is main content): ...
0
votes
0answers
37 views

Trouble to get my thesis from 'oneside' to a 'twoside'

I am having troubles to edit my thesis file from a oneside to a twoside. When I change: \documentclass[a4paper,12pt,oneside]{report} to \documentclass[a4paper,12pt,twoside]{report} then the ...
0
votes
1answer
49 views

Letter with address in the Margin

I'd like to format a letter in line with this image: Instead of the usual three-part layout with Header, main body, and footer, I'd like to split it up into four parts: Header and footer across ...
1
vote
1answer
83 views

LaTeX Template for Newsletter/Brochure

I am looking for a LaTeX template that can be used for a brochure-like newsletter, A4 format, column-like design with optional spanning pictures, marginless pictures, marginless headlines. I browsed ...
1
vote
0answers
25 views

tabularx shifted farer than margin

I have a custom papersize and margins set with geometry package. Now I want a table to reach over the complete page (not the margins) \begin{tabularx}{\textwidth}{ |X|X|X|X| } \hline label 1 ...
0
votes
1answer
25 views

How can I change only the text margins to be inside the equation and section numbers?

How can I change only the text margins to be inside the equation and section numbers? Something Like this
1
vote
0answers
35 views

How to define margin for pdf doc?

I have the problem that my output pdf has the wrong margin between left and right. you can see it in the pic below: The problem is, I need the opposite way. left have to be wide and right narrow. ...
2
votes
2answers
51 views

Text not wrapping to margins if highlighted with \colorbox

In a test file such as; \documentclass{article} \begin{document} \begin{itemize} \item Short line of text \item Comparatively long line of text to illustrate that latex is wrapping my text ...
3
votes
1answer
32 views

apacite package causes misaligned footnotes in Springer document (svjour3)

I'm having trouble with footnotes and the apacite package. I'm using the Springer documentclass svjour3 and XeLaTeX (but I have the same problem with PDFLaTeX). Whenever I include the apacite package ...
0
votes
0answers
44 views

tufte-book and marginfix

I want to apply this fix Full width text shifts all marginfix-ed floats off the page to the right to the tufte-book document class, however I get an error whenever I use \chapter. ...