{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

0
votes
1answer
44 views

Short caption in margin

Is it possible to insert the short caption of a figure in the margin next to it? I tried to get it working with etoolbox but without success. Additionally it has to work with the package subcaption ...
4
votes
1answer
39 views

Making a class to change the margins of TeX file, it fails

I'm currently trying to develop my own resume however I'm having trouble making a .cls file that does anything that makes since. As of now I'm simply trying to change the margins. Tex file ...
1
vote
1answer
52 views

glossaries \gls prints too wide

I am using the glossaries package to define acronyms in my thesis report. When I use \gls{} command to print an acronym in the body of the text, the printed line exceeds the margin (too wide). ...
1
vote
1answer
66 views

How to change margins in a thesis template?

I'm using an online available LaTeX template for my PhD thesis. In the template, the margins are the following: \setmarginsrb {1.5in} % left margin {0.6in} % ...
4
votes
2answers
88 views

remove blank space before text under figure when using sidecaption and memoir class

As you can see, when using sidecaption in memoir class, the text in the margin control the text position under the tabulate. Is it possible to remove all this blankspace under the tabular ...
0
votes
0answers
40 views

custom template change of leftmargin and rightmargin on new page

I have using own custom LaTeX Class file and how to change the oddside and evenside margin in the new page to End of the document. I'm not possible to use \newgeometry options because more development ...
4
votes
4answers
78 views

Colored box with image and text, no margins

I would be extremely grateful to get some help with this following problem: I would like to have following outcome: Where the grey box is all the way out in the margin, but the image and the rest ...
3
votes
1answer
50 views

Aligning a minipage in the absolute top left

I'm formatting a cover design in LaTeX. The cover has pages of 145×210mm which includes 3mm margin. The side should be 13.93mm wide and the bleed is 3mm. This gives me the following code, which ...
4
votes
1answer
134 views

KOMAoptions{headsepline = true, footsepline = true} change geometry settings

I am using tex(-based techniques) for the first time. Currently I am writing my doctoral thesis via pdflatex and encounter an annoying problem: My university predetermines very strict page geometry ...
2
votes
0answers
34 views

How to eliminate extra margins around text? [duplicate]

I have a problem that the regular text of the article adds extra margins to the specified margins. To make it more clear, whatever I do, the text is "narrower" than what I specify with the geometry ...
2
votes
0answers
30 views

Small adjustments in formatting to make my work fit on an integer number of pages

Suppose I am doing some work which does not have very tight formatting restrictions. My work goes a little bit over 2 pages, but, if I change the margins from 1 inch to .97 inches, the work fits on 2 ...
4
votes
1answer
105 views

How to put question numbers in margin?

I'm trying to put numbering to the solutions of my assignment in the margin of my document like so: Ideally I'd like to enter the numbers "1.", "2.", ... etc. manually, i.e. not have them numbered ...
0
votes
0answers
38 views

Marginalia not appearing [closed]

If you look Here you will see a wonderful answer to a question I asked about how to insert Automated Marginal Documentation of Page Changes. I've been looking over the document where I used this and ...
1
vote
0answers
15 views

Lstlisting running off screen [duplicate]

The text in my lstlisting is running out of screen on the right. I googled, but only found problems with the code box's position on the left side, and white lines. My problem is that it does not know ...
3
votes
0answers
107 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 ...
0
votes
0answers
89 views

How can I change the bottom margin in res.cls LaTeX file?

I'm using \documentclass[margin]{res}, I can change the top margin by using \topmargin=-.5in. But I don't know what to do for bottom margin. Help?
0
votes
0answers
25 views

Controling left margin when dealing with tikz picture, or better yet - centering tikz picture properly [duplicate]

I have the following tikzpicture: \documentclass{article} \usepackage{parskip} \usepackage{amssymb} \usepackage[fleqn]{amsmath} \usepackage{tikz} \usepackage{relsize} \begin{document} ...
0
votes
0answers
22 views

Are the default margins good enough for a book? [duplicate]

I'm writing my Master's Thesis in LaTeX, using the bookclass (maybe I should have used the memoir one, but now it's too late) with the twoside option. I thought the larger margin was that in the ...
8
votes
1answer
129 views

Why are default LaTeX TOP and BOTTOM margins so big?

In the question Why are default LaTeX margins so big?, it is explained very well why the side margins have the large size they have (compared to most Word processors): The smaller line width provides ...
0
votes
0answers
49 views

I'd like to fill my page margins with art. How can I go about doing that?

I am guessing TikZ is going to be involved somewhere in the answer, but I may also want to put in images I created in other software into the page margins. How might I go about doing something like ...
0
votes
0answers
78 views

Formatting like this sample

I'm writing my dissertation and have difficulties in producing the same formatting as in the sample. Can anyone help? There are several requirements here: CHAPTER NUMBER: TITLE (in captions and in ...
1
vote
0answers
70 views

how do I make latex allow breaking a line whenever reaching line boundary [closed]

I started writing my HW in latex, I use an online latex editor+compiler. Sometimes, when I write long math expressions, the expressions exceed the right boundaries of the page. I've seen that it has ...
3
votes
1answer
38 views

How to change margins when using termcal

I'm using term cal on a syllabus. I want to type a lot of text within the columns of my syllabus calendar, so I want to use as much of the width of the page as possible for those columns (on an 8.5 ...
3
votes
1answer
52 views

Can I align something to the right using tabbing?

I have two questions regarding the "tabbing" environment. Basically I am trying to set up formatting for parallel translation. I would like the original Chinese aligned flush left with the English ...
3
votes
1answer
71 views

How to change margin of the document title?

I want to move the title of my document up in order to save space. I can't figure out how to do this. This is what I have in LyX And this is how it shows up in PDF. I'd like to move it up.
2
votes
1answer
37 views

removing an extra column from a resume template

So I downloaded a resume template here: the template .tex file. Basically after the first \section{Contact Information} section, I'd like everything left aligned. The reason is that I am making a ...
3
votes
1answer
67 views

Right margin with two lines: is this something to be concerned about?

MWE [note, this must be compiled via XeLaTeX]: \documentclass[11pt, twoside]{article} \usepackage[showframe, top=0.5 in, bottom=0.5in, left=1in, right=1in, includehead, includefoot, headheight = ...
0
votes
1answer
93 views

Changing margins in .sty

I'm trying to change the margins in an input .sty. I'm trying to set different margins for the first and second page. I've managed to alter the margins but the first paragraph in the second page has ...
2
votes
1answer
131 views

Marginalia inside tcolorbox

I created some fancy tcolorbox for writing solutions of the problems: \documentclass{scrartcl} \usepackage[breakable, many]{tcolorbox} \usepackage{changepage} \usepackage{lipsum} \NewTColorBox[auto ...
3
votes
1answer
58 views

Equation left margin

I have equations inside an environment which has a larger left-margin than the main text (analogous to an enumerate/itemize environment, implemented with the changepage package's adjustwidth ...
3
votes
2answers
82 views

Footnotes and broken margins

Suppose that for random reasons I want the footnote mark before the text it is related to instead of after it. Then the code \documentclass{memoir} \begin{document} Hello my name is Gaussler and I ...
2
votes
2answers
76 views

Stretch line to \textwidth without starting a new line

I have a figure, containing three subfigures with captions and a caption for the whole figure, that all together takes more than a whole page. I can change the geometry for the particular page where ...
0
votes
0answers
19 views

twoside making wrong margins [duplicate]

I'm using twoside on my article. The first pages in the report (Abstract and preface) has the correct margins (larger margins to the right for left-pages, and larger margins to the left for ...
1
vote
1answer
35 views

Setting margins with esami package

Is there a way to customize the margins of the document while using the esami package? I've tried geometry, fullpage, etc., with no success. The documentation says nothing about doing such thing.
1
vote
1answer
66 views

Chapters number moves out of margin

i'm new to LaTeX and got a problem. The picture says it all... When my number of chapters exceeds 9, the second digit moves out of the margin.... I have copied the following layout, for the ...
2
votes
1answer
53 views

hrule exceeding margin in second column

I'm using tabular to make two columns of different width. Ideally I would like to have the title of each column under which there would be a horizontal line until the end of the column, for the first, ...
1
vote
0answers
16 views

Inserting abstract{} changes margins of the page [duplicate]

There is the template I have to use for a papaer and it looks like this: \documentclass[a4paper,11pt]{article} \usepackage{graphicx} %%% for including graphics \usepackage{url} %%% for ...
2
votes
0answers
33 views

Trying to print to 11x17 as a book, but scale pages with booklet, margin problems

I'm trying to print a book to be bound in signatures for a finished size of 6x9 inches. My printer duplexes but only prints 11x17. I used the booklet package and set source to 6x9, but when the ...
2
votes
1answer
72 views

Remove top margin in multicolumn \enumerate

I am trying to combine the multicols and enumerate environments (alternatively, the multicols and enumitem packages). Basically, I want to get rid of the top margin when having enumerate inside of ...
3
votes
1answer
103 views

Width of image = headwidth when head is textwithmarginpar

Using scrbook and scrpage2 with a headwith of textwithmarginpar, I am trying to set individual images in the textbody to this wider headwidth. \hoffset is 0pt. Adding up \textwidth, \marginparwidth ...
2
votes
1answer
165 views

from A4 paper to A5 and keeping the number of characters per line

I have written my thesis for A4 paper using the memoir class. I would like to print one version on A5 paper. Is there a way to reduce margins automatically in order to keep the same layout for the ...
4
votes
2answers
57 views

Text boxes that go into the the margin in a two column article

I'd like to highlight some important quotes in my article by writing them into floating (invisible) boxes, that go half into the (left/right) margin and half into the respective column. I'd prefer a ...
0
votes
0answers
25 views

How to write text vertically right/ left to the margin to the whole document? [duplicate]

I want to write text vertically right/ left to the margin to the whole document. A sample figure is shown below. Is there any way to do this? Please suggest.
2
votes
1answer
71 views

My frame is too big for the limits margins, How do I add more space. to have all my content complete in my presentation

My frame is too big for the limits margins, How do I add more space. to have all my content complete in my presentation. This is the code \documentclass[aspectratio=169,draft]{beamer} ...
2
votes
0answers
20 views

Chapter-Header Font Size - Too Big [duplicate]

I'm using the book class for a particular document, and I've run into a bit of problem. I don't know exactly how to explain this, so I'll just post an explanatory picture instead of sounding obscure. ...
2
votes
1answer
52 views

Header margin bigger

I'm trying to make the header "margin" bigger. It is to close to the edge. I've been trying to make \setlength{\headheight}{10pt} larger but then the page number moves to much down? Any thoughts? ...
3
votes
1answer
61 views

How can I prevent \newgeometry from affecting bottom margin when changing the side margins?

\documentclass{article} \usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=2cm]{geometry} \usepackage[demo]{graphicx} \usepackage[english]{babel} \usepackage{tikz} \usepackage[utf8]{inputenc} ...
0
votes
1answer
51 views

I have a problem in the output PDF margins

I have a problem in latex template of Circuits, Systems, and Signal Processing journal the output file has not equal margins from left and right, and has a large margin from bottom of the page. I ...
2
votes
2answers
90 views

Figure or longtabu/longtable causes bottom margin overflow

I have been searching for a while now without any luck, so I hope you can help me. The problem is that when I insert a figure/longtabu on my page, the text below is running out of the page, like this ...
3
votes
1answer
40 views

Unexpected margin

I have the following code: \documentclass[11pt, a4paper]{article} \usepackage[margin=1cm]{geometry} \usepackage{showframe} \begin{document} \fbox {% \vbox to 4cm{\hbox to 4cm{\fbox{% ...