# Tag Info

## Hot answers tagged margins

6

A solution for \includegraphics as you've requested in the above comments. Add the following lines in the preamble: \usepackage{etoolbox} \let\oldincludegraphics\includegraphics \renewcommand{\includegraphics}[2][]{% \oldincludegraphics[#1]{#2}% \shorthandon{=}% } \pretocmd{\includegraphics}{\shorthandoff{=}}{}{} We first redefine \includegraphics ...

6

\usepackage[turkish]{babel} makes = active. That disturbs key value parser, because they usually assume that the syntax characters = and , have the usual catcode (other=12). The official way is indeed using \shorthandoff{=} % stuff that does not expect an active `=', e.g. \newgeometry{top=1cm} \shorthandon{=} Package keyval: \kvsetkeys A more comfortable ...

6

With longtable you can do this, if tabu has broken it then that's a problem with tabu:-) \documentclass[a4paper]{article} \usepackage{longtable} \usepackage{lipsum} \begin{document} \section{This is the original textwidth.} \lipsum[1] \section{This is the width I need for my longtabu} \setlength\LTleft{-1in} \setlength\LTright{-1in} ...

5

You can use the commands \AtBeginNote and \AtEndNote to modify this behavior. For normal notes you can add some negative space at the beginning, e.g. \hspace*{-10pt}, while for the others you have to modify itemize-specific lengths. For example you can issue a \addtolength\leftmargini{-10pt} at the beginning and \addtolength\leftmargini{10pt} at the end so ...

5

This version tries to take into account the vertical spaces taken up by sections; might even work with figures, tables, etc... (untested). \documentclass[a4paper]{article} \def\LINESPERPAGE{45} \usepackage[textheight=\LINESPERPAGE\baselineskip]{geometry} \usepackage{lipsum} \usepackage{xinttools}% requires version 1.09m or later % \edef\MOCKSINE {% ...

4

With the second example, I get the warning Package Fancyhdr Warning: \headheight is too small (12.0pt): Make it at least 46.54448pt. We now make it that large for the rest of the document. This may cause the page layout to be inconsistent, however. Solution: \usepackage[height=9in,width=7in,headheight=48pt,heightrounded]{geometry} (or 46.6pt, I ...

4

Just to correct some errors in your code: Don't use \bf which is deprecated in LaTeX, but \bfseries or \textbf (see for example Will two-letter font style commands (\bf , \it , …) ever be resurrected in LaTeX?) With 12pt as an option for the document class, use \large instead of \fontsize{14pt}{2pt} (BTW, it should be something like ...

3

I would recommend using the package enumitem. Then, you just add one line to your document: \documentclass{article} \usepackage{lipsum} \usepackage{enumitem} \setlist[itemize]{leftmargin=*} \begin{document} \lipsum[1] \begin{itemize} \item one \item two \end{itemize} \lipsum[2] \end{document} I also utilized lipsum for some blind text. The output is: ...

3

With babel 3.9 (if you are not using it, upgrade, because it fixes tons of bugs): \usepackage[turkish,shorthands=off]{babel} or if you want : and !: \usepackage[turkish,shorthands=:!]{babel} The Turkish style has been upgrade recently, too. The new manual explains how to deal with the =.

3

You have to use the \versewidth feature described in the manual of verse; here's a minimal example. \documentclass[a5paper,pagesize,10pt,bibtotoc,pointlessnumbers, normalheadings,DIV=9,twoside=false]{scrbook} % twoside, openright \KOMAoptions{DIV=last} \usepackage[georgian]{babel} \usepackage{fontspec} \setmainfont{DejaVu Serif} \usepackage{verse} ...

3

the environment verse seems to use an internal lap macro. However, you can indent the verse box and using package varwidth if you do not want to look for the longest line for versewidth \documentclass[a5paper,pagesize]{scrbook} \usepackage{trajan} \usepackage[georgian]{babel} \usepackage{fontspec} \setmainfont{DejaVu Serif} \usepackage[showframe]{geometry} ...

3

As far as I can tell PDF can also have rectangular shaped pages. Everything beyond must be done by cutting the paper after printing it. For a shape like the one in your question this won’t be cheap since the cutting die must be made especially for a single project. For digital documents: If you deliver a complex shaped page the user will see it on a ...

3

I save (\let) a copy of \includegraphics to \svincludegraphics and then redefine it with \renewcommand\includegraphics[2][]{\makebox[0pt]{\svincludegraphics[#1]{#2}}} so that it appears to LaTeX as being centered about a zero-width box (I could make that a \textwidth box if I wanted). As long as the \includegraphics usage is centered on a line by ...

2

The easiest way to obtain this is to specify the margin key-value using geometry: \documentclass{article} \usepackage{geometry,lipsum}% http://ctan.org/pkg/{geometry,lipsum} % default %\geometry{margin=1in}% 1in margin %\geometry{margin=1cm}% 1cm margin \begin{document} \lipsum \end{document} The above example shows a change in margin from the default ...

2

Put the marginnote before split (not inside). Further, as Gonzalo notes, changes to the font of marginnotes with the marginnote package are to be done using \marginfont. Also note that \footnotesize is a switch and it doesn't take any arguments. \documentclass{article} \usepackage{amsmath} \usepackage[fulladjust]{marginnote} ...

2

You can define a command for this using a minipage of the desired width inside a \makebox (using the optional argument you can change the default value of 3em to any desired value): \documentclass{beamer} \usetheme{Rochester} \usepackage{lipsum} \newcommand\Wider[2][3em]{% \makebox[\linewidth][c]{% \begin{minipage}{\dimexpr\textwidth+#1\relax} ...

2

If you add \usepackage{showframe}, you will see that it is at the top of the page. I think you want to adjust the margins: If you want to reduce the top margin I would suggest using the geometry package to adjust that. References: Remove vertical space at start of latex document Code: \documentclass[english]{article} \makeatletter ...

2

Please take a look (explanations are below): \documentclass[letterpaper,10pt,openany]{report} \usepackage[paperwidth=21cm, paperheight=28.8cm, top=3.55cm, left=2.03cm, bottom=7.28cm, right=1.27cm]{geometry} \usepackage[utf8]{inputenc} \usepackage{fancyhdr} \usepackage{array} \usepackage[spanish]{babel} \usepackage[demo]{graphicx} \usepackage{float} ...

2

This is indeed a pernicious problem. Practically every LaTeX document I see printed around the Math department here has been shrunk to fit within some margins. So everything is shrunk, fonts are too small, and margins are too big. This is absurd, of course, since the margins are already quite large. Apparently this is just what everyone thinks LaTeX looks ...

2

The extra space is added according to the inner sep and outer sep amounts. If you zero them out the image is tightly packed inside the node thanks to inner sep=0 and moreover the arrows start right from the border thanks to outer sep=0 \documentclass[tikz]{standalone} \usepackage{mwe} % For dummy images \usetikzlibrary{positioning} \begin{document} ...

2

I would try something like this: \documentclass[a4paper,oneside,12pt]{report} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% PACKAGES & SETTINGS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage[english]{babel} % formatting rules for the English language \usepackage[T1]{fontenc} % proper formatting for ...

2

You can use the \droptitle length that is defined in the titlingpackage. On another hand, there are several errors in your preamble: Firstly, the second argument to \fontsize is the value of the vertical space between two consecutive lines, so it should not be smaller than the design size of the font itself. Usually, it is about 20 % larger. Secondly, if ...

1

In response to your request "It's not crop marks that I'm interested in, but the different layout areas, such as textblock, header and footer, and margin notes." To see the different page measures, I consulted the "Normal Layout" image at "Killmargins" package? \documentclass{article} \usepackage{everypage} \usepackage{xcolor} \usepackage{lipsum} ...

1

Don't use \shorthandon{=}. With following code, it seems there is no problem. \documentclass[demo]{article} \usepackage[turkish]{babel} \usepackage[utf8]{inputenc} \usepackage[top=2cm]{geometry} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \shorthandoff{=} \newgeometry{top=1cm} \section{ğüşiöç} \lipsum[1] \includegraphics[scale=1]{} ...

1

For example: \documentclass[a5paper,pagesize,10pt,bibtotoc,pointlessnumbers, normalheadings,twoside=false, 0.7headlines,headexclude]{scrbook} % DIV=9, % \usepackage[nohead,nofoot]{geometry} % twoside, openright % \KOMAoptions{DIV=last} \usepackage{typearea} \areaset[0mm]{11cm}{17cm} % selbst setzen \usepackage{showframe} ...

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