# Tag Info

## Hot answers tagged margins

9

I think you are using align environment from amsmath and that there are many lines of equations inside align. If they come at the bottom of the page, they won't break across the page. You have to add \allowdisplaybreaks in the preamble (say just before \begin{document}. \documentclass{article} \usepackage{amsmath} \allowdisplaybreaks %% Add this ...

5

There are two things here You want this only for one page. You can use a minipage You want it for all pages. You can use background package. Only for one page \documentclass[a4paper]{article} \usepackage{tikz} \usetikzlibrary{calc} \usepackage{kantlipsum} \usepackage[a4paper,left=1in,right = 1in,top = 1in,bottom=1in]{geometry} %\pagestyle{empty} ...

5

You can set the \indexproofstyle for example to use a smaller, non typewriter, font and make the marginpar ragged right. This will avoid many of the overfull boxes: \documentclass[draft]{scrbook} \usepackage[papersize={170mm,240mm} ,top=27.4mm ,inner=20mm, ,outer=25mm ,marginparwidth=50pt ]{geometry} \usepackage{index} \makeindex ...

5

You are looking for the switch option: \documentclass[twoside]{book} \usepackage[switch]{lineno} \usepackage{lipsum} \begin{document} \linenumbers \lipsum[1-30] \end{document}

4

Redefine \makeLineNumber and give more room to the left margin: \documentclass[12pt,twoside,ngerman]{report} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[a4paper]{geometry} \geometry{verbose, tmargin=2.5cm, bmargin=2.5cm, lmargin=5cm, rmargin=2.5cm, nomarginpar, headheight=14.5pt, heightrounded, showframe} ...

3

If you want only the top margin of the first page to be modified, you can use \vspace*{1in}: \documentclass[a4paper,10pt,oneside]{article} \usepackage[english]{babel} \usepackage[letterspace=150]{microtype} \usepackage{fancyhdr} \usepackage[top=1.5in,bottom=1.5in,right=1.5in,left=1.5in,headheight=95pt,headsep=-0.5cm]{geometry} \usepackage{lipsum} ...

3

You can use mdframed package and only keep the left line visible. \documentclass{article} \usepackage{lipsum} \usepackage[% linewidth=1pt, middlelinecolor= black, middlelinewidth=0.4pt, roundcorner=1pt, topline = false, rightline = false, bottomline = false, rightmargin=0pt, skipabove=0pt, skipbelow=0pt, leftmargin=-1cm, innerleftmargin=1cm, ...

3

The adjustwidth environment of changepage takes two arguments, both of which are adjustments inward from the existing margins. So, \begin{adjustwidth}{-1cm}{-1cm} % <stuff> \end{adjustwidth} will enlarge the text block width around this environment on the left by 1cm, and on the right by 1cm (adding a total of 2cm to the entire text width). ...

2

The way you define your layer introduces spurious spaces, which you see on the left. If you add percent signs at the end of these lines: \setlayer[img_horizontal][x=0in,y=0in]{% \setupTABLE[frame=on, width=10.8in, offset=0mm]% \bTABLE ... this space disappears. (At least I hope this what you are trying to achieve, your description "at the exact location I ...

2

In a twosided document, you need to tell LaTeX not only to clear a single page (\clearpage), but to clear a double page if necessary (\cleardoublepage). \documentclass{article} \usepackage[twoside, bindingoffset=5mm]{geometry} \usepackage{lipsum} \usepackage{showframe} \begin{document} \pagenumbering{gobble} \lipsum[1-4] \cleardoublepage ...

2

For your first requirement, use \setlist[itemize]{rightmargin=\widthof{\textbf{YYYY}}} for a global adjustment of itemize or, locally, use \begin{itemize}[rightmargin=\widthof{\textbf{YYYY}}] The above requires the calc package, which provides \widthof{..}. The second adjustment is obtained by setting a regular itemize with an empty \item[]. ...

1

You can move the aside section by changing the numbers in the textblock command \begin{textblock}{h-width}(x-pos, y-pos) Changing these numbers can be difficult, so I suggest you to add a red background (as shown in this question Add a border to textblock) to better understand what you do. In this MWE the left margin is reduced: ...

1

but because the line numbers are always on the left margin on even and odd pages The assumption is not true. You can use the switch option of the lineno package. See Line numbers on different margins in two-sided document for a MWE.

1

Using the \newgeometry macro is the way to go here. Changing the page is as simple as adding to you MWE \newgeometry{top=20mm, bottom=20mm, right=20mm, left=20mm} A Title Page \restoregeometry% \clearpage This gives a new complete MWE of \documentclass[12pt,oneside,a4paper]{article} \usepackage[ left=40mm, top=30mm, right=20mm, bottom=20mm, ...

1

I would say that the book class (nor any others) does not saves space for margin notes; rather, it allows you to specify the maximum space that you want to allow for marginalia so that they do not exceed the specified margin widths. In two sided printing (e.g., for books) the basic layout is a double spread --- left hand and right hand pages open where the ...

1

After ferahfeza updated his answer on using latex to keep a diary the diary.tex is updated like that diary.tex \newlength\sidebar \newlength\envrule \newlength\envborder \setlength\sidebar{1.5mm} \setlength\envrule{0.4pt} \setlength\envborder{2mm} \makeatletter \long\def\fboxs#1{% \leavevmode \setbox\@tempboxa\hbox{% \color@begingroup ...

1

With the possibility, that this is not what you want: \documentclass[aip,jmp,reprint]{revtex4-1} \usepackage{blindtext} \begin{document} \preprint{AIP/123-QED} \title[Sample title]{Sample Title} \thanks{Footnote to title of article.} \author{A. Author} \altaffiliation[Also at ]{Physics Department, XYZ University.} \author{B. Author}% ...

Only top voted, non community-wiki answers of a minimum length are eligible