{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
0answers
18 views

Wider margings but only in a zone (authors)

I am using the ACM stylesheet to produce a paper with five authors. This means that the area under the title where all author names are is quite crammed and all the affiliations are split over ...
7
votes
3answers
105 views

Overfull hbox in matrix

I am typing up a technical report that contains many large matrices. I am looking for a way to print these matrices with an equation number next to them without getting an overfull \hbox error. I ...
1
vote
1answer
47 views

Putting figures+caption in the margin

Is there a "clean" way to make figures and their caption appear in the margin? I'm using memoir with the companion pagestyle, so the margin is quite assymmetric and I think it might look nice enough ...
1
vote
1answer
53 views

How to adjust textwidth and textheight to paper size in mid document? (and header and footer “length” as well)

I want to adjust textwidth and textheight to papersize in mid document, that simple. I am planning to change some pages paper size, but I need both the header, footer and text to adjust (better if ...
0
votes
0answers
40 views

Margin content in Tufte's book class

Sorry, no MWE on this one, it's a general question about the Tufte book class. I noticed that margin content is top-aligned with the point in the main text that declares it: I know I can adjust the ...
1
vote
0answers
55 views

scrbook pagemargins with titlepage [closed]

I've finished writing my Bachelor's thesis and want it printed like a book. So I need to make the inner margins a bit broader than the outer ones ("BCOR"). Additionally, I want my chapters always to ...
3
votes
1answer
181 views

How to add double line border to a page?

I'm looking for options to add double line border to a page ; left hand top corner of border is mentioned below (border will be continous for entire page width and height).
3
votes
2answers
107 views

How to improve this custom MLA formatting?

I am required to follow a certain formatting that resembles MLA style. There has to be a 1/2" header top margin (the header being the "Essay #1:..." part). There has to be a 1" body top margin (the ...
2
votes
0answers
41 views

Why is my text going over the margin?

I have written a paragraph of text and one line is protruding out into the right margin. I am completely baffled, can anyone help? My text is thus "... cohomology of the base manifold. These ...
0
votes
0answers
35 views

how to stop table from going out of the page under LyX?

Here is the table source code: \begin{table}[H] \begin{tabular}{|c||c||c||c||c||c|} \hline & \textbf{Inspiration for new clothes} & \textbf{Purchase clothes/year} & \textbf{Period of ...
8
votes
2answers
175 views

Is it possible to typeset with angled margins?

I'm typesetting a book using memoir in XeLaTeX, but on some pages, as an accent, I would like to make an angled margin, something like this: Even if I have to define the page limit separately ...
3
votes
2answers
94 views

Automatically switching the margin

I created some new commands to type the question and answer in the margin under "You Try It": \newcommand{\margins}[1]{ \marginnote{ \flushleft{\color{framerule}{Simplify: \; #1}}}[-1cm] } ...
6
votes
2answers
88 views

Creating a document with no borders or margins

I want to create a small flyer. It should be folded once and have four pages in total. Also, I need a special geometry. So far, I am trying to achieve that using minipages. Here is my MWE: ...
2
votes
1answer
56 views

\textheight reduced by one inch?

I have the following in my preamble (actually it is in a file \include d): % One inch margins, NO HEADERS \setlength{\textwidth}{468pt} \setlength{\textheight}{630pt} \setlength{\topmargin}{0in} ...
4
votes
1answer
49 views

Too large top margin at the new page

Here is my code: \documentclass[a4paper,13pt,russian]{extreport} \usepackage{extsizes} \usepackage[utf8]{inputenc} \usepackage[T2A]{fontenc} \usepackage[russian]{babel} \usepackage{vmargin} ...
3
votes
3answers
58 views

Creating a new list Environment, how to change the length of \items

The code for the environment is bellow, For the longer lines in \list item how do I change the length of the \items so that it lines up with the date? Basically I want a kind of "margin" that is on ...
1
vote
0answers
15 views

Right minipage goes outside of margin [duplicate]

I have two minipages side-by-side. However, the right one goes outside of the right margin even though I specify the correct widths. As a consequence, the text is no longer aligned on the right. Here ...
3
votes
1answer
70 views

anchor tikz at the left margin

I would like to place a tikz picture at the left margin location of the current line. Here is a MWE: \documentclass{amsart} \usepackage{tikz} \begin{document} ...
2
votes
3answers
33 views

How can I get the same margin to a verbatim environment as the fleqn option gives to equation

When I use a verbatim environment, I'd like to have some margin, of the same length as those provided by the fleqn option when using an equation environment. \documentclass[11pt,fleqn]{article} ...
2
votes
2answers
105 views

Margin & style difference front page

Okay, a lot of questions have been asked about this already but I still couldn't really find the answers I was looking for. There's this standard front page I need to use for my thesis that has these ...
0
votes
0answers
28 views

How to even out margins around a border?

Any ideas as to why the document seems to shift up and to the right on the page? I've tried using {anysize} and {geometry} to adjust the borders but I've had some issues. With {geometry} the margin ...
0
votes
0answers
38 views

Problem to redefine margin in a \begingroup section

I am triing to redefine locally the margin for a part of my document, so I do this : \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tabularx} \usepackage{tabulary} \begin{document} ...
0
votes
0answers
42 views

MacTex different chapter margins in different cases

I'm totally newbie in TeX and looking for help. I need to configure chapter styles according to requirements given by my university. It requires chapter to have top margin of 18pt and of 36pt if it ...
3
votes
0answers
73 views

How to include page margin into header and footer in memoir?

I wonder how I can achieve the following two things: I want to have defined page margins for the use of \marginpar notes and comments. The problem is that, although I use memoir with twoside option ...
0
votes
0answers
26 views

automatic way to make sure that the formulas and text does not go beyond the margin

Is there any automatic way to make sure that the formulas and text does not go beyond the margin in latex. Not \linebreak in appropriate places. My text/math formulas are going beyond the margin in ...
0
votes
1answer
156 views

Beamer: print slides and notes on A4 paper correctly

Following up on this question, I have the MWE example below, that works well except for when I want to print the resulting pdf, which becomes completely shrunk ... so small that I cannot read the ...
6
votes
1answer
76 views

vbox of 0 height still adding margin

There is this box that I want to place next to a description list. It should not affect the list itself. I'm using an mbox and within the mbox a vbox with a height of 0. However, it still pushes the ...
0
votes
1answer
59 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
42 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
58 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
84 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
98 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
45 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
101 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
78 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
154 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
119 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 ...
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
117 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
144 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
26 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
23 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
145 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
51 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
80 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
72 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
43 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
59 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 ...