Tagged Questions

{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

2
votes
1answer
147 views

Header and footer with tables. Right margin go off the page

I'm not completely sure if this topci is repeated, but anyway... I'm writing some company reports that have a special header and footer layout containing tables. I have been able to configure the ...
10
votes
4answers
288 views

\newgeometry doesn't work with Turkish babel package

\newgeometry is a nice feature of geometry package. I found out that it doesn't work (together with many other problems) when \usepackage[turkish]{babel} is also used with many errors stating: ...
0
votes
1answer
82 views

ConTeXt: Left-justify text to overlap hidden/disabled frame border

Background Looking to left- and right-align text in a footer. Problem The following image shows that the word "Betasec" is not left-aligned with the black horizontal line above it: I believe ...
4
votes
2answers
98 views

On the second page of my PDF, the margin gets larger

I'm not quite into this Latex yet, and I have a bit of a problem.. My preamble looks like this: \documentclass[a4paper,article]{memoir} \usepackage[utf8]{inputenc} \usepackage[danish]{babel} ...
5
votes
1answer
67 views

Inline math overflow does not happen with minipages, but everywhere else

When writing in a minipage environment, unsplittable math formulas never spill into the right margin. Instead, spacing is introduced in the current line and the formula is moved to the next line. ...
2
votes
2answers
442 views

Tables extending into the right/outer margin

I have some wide tables (might be figures, too) that don’t fit into \textwidth. If the draft document option is active, there’s a black border on the right indicating that it’s wider than allowed. ...
3
votes
2answers
71 views

How to make an enumerate list with a set margin

I simply want to nest lists for answering homework problems with multiple parts as such \begin{description} \item[3] \item[5] \begin{enumerate} \item \item \end{enumerate} \end{description} ...
0
votes
0answers
44 views

Increase algorithm distance to margin

I've been using \vspace to increase or decrease the vertical distance of figures to the margin, but I found out it doesn't work inside and algorithm evironment. Is there an alternative or workaround ...
2
votes
0answers
269 views

Typesetting Classicthesis without margin notes

I am using classicthesis-v4.1 Lyx template for my thesis. I know that it is not advisable to make many changes in classicthesis.sty but I don't want to use the margin notes option in it. I tried the ...
2
votes
1answer
829 views

How to change geometry for one page without using \newgeometry or \restoregeometry

I am trying to establish one geometry for my first page (not a title page), and use another for the rest of the document. However, because I am trying to make a template, and thus do not want to rely ...
10
votes
4answers
264 views

“Killmargins” package?

Editors such as "Gummi" show a split-screen with the LaTeX source code on the left, and a preview of the later document on the right. However, having a substantial paper margin makes editing more ...
3
votes
1answer
511 views

Trying to understand Memoir page layout

I'm trying to figure out how to set up custom page layout in memoir. below is a page I set up in InDesign and transferred the dimensions into a minimal memoir document. I just can't figure out why ...
2
votes
1answer
91 views

Labels with envlab: unwanted space a the top of the page

I'm trying the make labels with the package envlab, in order to print them on Avery label-stickers paper. So far it's all good, except that there is an unwanted space at the top of the page. I don't ...
1
vote
0answers
85 views

How to force natbib citation to respect general page margins

When citing with double surnames in 'Harvard style' with the natbib package, it sometimes happens to have the start of the citation at the end of one line. It seems that natbib doesn't allow ...
3
votes
2answers
150 views

Displaying layout marks in a document set with different layouts

Is there any package that allows for the display of layout marks within a document where the layout changes several times throughout? I'm using the geometry facilities to issuing \newgeometry commands ...
8
votes
1answer
278 views

Center over-long equations between both margins

I understand the reasoning behind the fairly narrow textwidth in a default LaTeX article. 60-80 characters per line and all that. However, I am preparing a document that features many lengthy ...
3
votes
1answer
100 views

Stop table going off page (vertically)

Much like this question, I want to force a table to fit within the vertical page margins. Any ideas? Edit: Margin size: \usepackage[left=3cm,right=3cm,textheight=23.5cm]{geometry} Present ...
6
votes
2answers
200 views

Is there a way to tell LaTeX to use smaller margins without setting an absolute margin length?

So, I generally like letting LaTeX make most of my typesetting decisions for me--- it generally knows what is typographically "good" better than I do. One area I just haven't been able to turn ...
7
votes
2answers
160 views

More aesthetically wrap text in a table?

I have a table that I must fit in one page but have difficulty doing so in any aesthetically pleasing manner. A MWE is pasted below. Are there any suggestions to improve this? Regretfully I haven't ...
2
votes
1answer
136 views

Tikz picture as large as possible on A4 Page

I'm trying to make an origami template in tikz. I've made a latex document with 0.5cm margins on all 4 sides. Here is my tikz code: \documentclass[landscape,a4paper]{article} \usepackage[top=0.5cm, ...
14
votes
2answers
4k views

Scale tikz figure to a percentage of \textwidth

A user asked a question about scaling a figure to a factor of \textwidth and got an answer like this: \documentclass{article} \usepackage{graphicx} \begin{document} ...
1
vote
1answer
67 views

Changing the margins of a single page while keeping the headline the same

I need to print a huge figure in my latex document on one single page. I'm currently using \newgeometry{left=10mm, right=10mm, top=25mm, bottom=30mm} \begin{figure}[thb] .... \end{figure} ...
12
votes
2answers
253 views

How to properly align three-level enumerate 1. 1.1. 1.1.1

I've created my environment, and modified the enumerate command: \renewcommand{\labelenumi}{\arabic{enumi}.} \renewcommand{\labelenumii}{\arabic{enumi}.\arabic{enumii}.} ...
6
votes
1answer
115 views

Compiling with “latex” instead of “pdflatex” command leads to upward movement of text body

I am writing a thesis with specific margin requirements. I am using a template recently created (read: untested?) by someone else. The problem is that when I use my computer's latex command the text ...
0
votes
1answer
59 views

Increase textblock size in memoir document

I'm using the memoir document class to style my document. I'm using a two side layout. Now I simply want to increase the textblock width (in Figure 2.2 of documentation labeled with \textwidth). There ...
9
votes
1answer
462 views

How to have different margins on odd and even pages?

I want to make a book which has the following specifications for margins for odd and even pages. How I can do this in letter paper?
7
votes
1answer
158 views

Fore-edge painting package for books?

I would like to add fore-edge painting to the edge of each page, so that when the pages are fanned, it reveals text or an image. It seems it would be easy enough to slice up an image(Tikz/PGF), or ...
1
vote
1answer
68 views

Indent entire section using only preamble

I heavily use org-mode in Emacs to create TODO lists with timekeeping, which has a handy export to LaTeX feature. The problem is that in order to get my exported LaTeX document to look right, I want ...
2
votes
1answer
616 views

Need figure to break/ignore page margin (LyX)

I'm writing a report in LyX (using a personalized classicthesis-LyX) and I have troubles with my figures. What I want is to force a figure to break the page margin in order to center it (without ...
2
votes
1answer
81 views

Header superimposed over text

The header in my report is superimposed on the text. I've tried altering voffset and header height but it didn't get me satisfactory results. \documentclass[12pt,a4paper]{article} ...
4
votes
1answer
578 views

Left margin of table of contents in beamer

I'm making a presentation with the beamer class, and I use the theme Madrid (with default settings). After having completed some frames I noticed that the left margin of the contents page is much ...
2
votes
0answers
235 views

Page layout: problems setting margins and placing footer

I am having trouble setting the correct margins for my page, especially the bottom margin in combination with a footer which includes only my page number. I feel like I'm close to making it work but I ...
4
votes
1answer
174 views

graphicx (or graphics) package distorts format

I have a strange problem. I am writing my thesis and the style file is provided by my university. The normally working graphicx package seems to be distorting the format when I enable it using ...
1
vote
1answer
111 views

Page Layout of Songs Package problems

I'm creating a Songbook from the songs package. Currently I am having an issue with the format of the page. If the song is too long it doesn't break on the page end and goes to the second column. ...
0
votes
0answers
31 views

font latex IEEEtran [duplicate]

I am trying to convert my paper to IEEEtran. the problem is when I try to upload the paper. it gives me the message on the paper font as follows: The PDF file cannot be accepted: Publishers require ...
5
votes
1answer
276 views

Changing page margins in {pdf-,Xe-}TeX

In TeX, changing the \hsize and the \vsize changes the main text size and the page size of the dvi output. When I compile a document with pdftex or xetex, the page size remains at A4. How can I change ...
5
votes
2answers
531 views

Addmargin on even and odd pages

I have large outer margins and I want some time more text, on the left for even pages and on the right for odd pages. I tried: \begin{addmargin*} ... \end{addmargin*} But the result is good only ...
2
votes
2answers
116 views

Example title in outer margins

If I have large outer margins (even and odd pages) how I can put Example (and Solution) in both pages in the outer margins?
1
vote
1answer
151 views

twoside page, outside border on right side smaller than on the left

I have to hand in my thesis tomorrow and it's not working. I want to print it like a book (print front and rear of a page). That's why I am using twopages. But the outside border is different for the ...
5
votes
1answer
242 views

Different margins in title and chapters

I am struggling here with adapting school template for my document. The problem is that I need different margins on the title and on the chapter pages. Here is the code. On the title page is all easy. ...
4
votes
1answer
67 views

Sec/subsec in the margins

It is possible to put sec/subsec numbers in the margins (enlarged), on the left for even pages and on the rigth for odd pages? The corresponding titles must be left aligned on even page and rigth ...
6
votes
2answers
120 views

Width of text in amsbook

I am writing my master thesis as amsbook and I am not quite satisfied with the width of my text. It is not wide enough. Does someone know whether you can change the width?
6
votes
1answer
42 views

Prevent floats on a single page OR change page margins for a single page

I've got a particular problem with a custom chapter style. Essentially my chapter title is on the left page, then there is a picture on top of the right page (waves, see below) and below the picture, ...
4
votes
1answer
111 views

Springer format full width text

I'd like to use the Springer format llncls.cls but with full width text. Which settings do I need to change in order to remove the wide page margin?
2
votes
0answers
52 views

Page layout not in accordance with pdf printout

For my thesis, the rule for page layout is determined as: \usepackage[lmargin=1.5in, rmargin=1.0in,tmargin=1.0in,bmargin=1.0in]{geometry} But when I compile to produce PDF and take a print out and ...
3
votes
1answer
474 views

New chapter top margin is large

Similar question to this. I have too much space from top to the start of the chapter heading. How can I fix this and make it just as the other pages. I use my university thesis stylesheet. I din't ...
3
votes
0answers
142 views

Funky pdfscreen margins

You can set the margins on pdfscreen to 0pt, but when the vertical size is < 1.2in there remains a gap at the top of the page. \textheight has the correct value, and it is possible to write all the ...
6
votes
1answer
131 views

Dealing with Large Tables/Figures in The “Narrow” Documentclass Book

I am writing a document that involves several lengthy mathematical expressions, tables that have to be adjacent, and large algorithms. The documentclass in use is 'book'. Despite the many attempts ...
3
votes
1answer
2k views

changepage package's \adjustwidth environment adjusts only left margin

I was trying to create a custom abstract environment with minipages and adjusted margins. Everything works fine, except for that the right margin changes according to the left. I could'n find ...
0
votes
1answer
81 views

Remove double margins for a single page?

I'm using the AIP template seen here, I need to be able to make it so I can return to normal margins for a single page or two and then return back. How can I achieve this? ...