# Tag Info

## Hot answers tagged margins

5

The \item from the dramatist package confuses the tcolorbox settings as well as the following enumerate environment. A \leavevmode just before \begin{tcolorbox}...\end{tcolorbox} cures this. I strongly suggest to use enumitem package to adjust the spacings of the enumerate and as well as using a special \newtcolorbox definition which is easier to maintain ...

5

Here is a solution, based on the display style: \documentclass{book} \usepackage{lipsum,titletoc,marginnote, array} \usepackage[explicit]{titlesec} \usepackage[x11names]{xcolor} \usepackage{geometry} % page layout \geometry{% showframe, top=4cm, headsep=1.5cm, bottom=3cm, innermargin=3.0cm, textwidth=300pt, marginparwidth=4.0cm, ...

4

Here is a solution. We don't use fullwidth package since it can do nothing here. The idea is to patch \LT@output command (special output used by longtable) we move the table to the left, in fact we need to do that only for even page but we make it possible for odd pages too. \documentclass[twoside,a4paper]{article} \usepackage[T1]{fontenc} ...

3

As announced in my comment above here comes a MWE which uses the option calcmargin= of the caption package to setup a right margin which hopefully fits your specification: \documentclass{article} \usepackage{calc} \usepackage[figurename=Fig.]{caption} \DeclareCaptionStyle{figstyle} [format=plain,margin=0pt,justification=centering] ...

3

You can use R rather than r and then wrapfig will allow the figure to float to a certain extent to avoid falling off the end of a page.

2

Since you have shown no code it is hard to be definite but it is not clear that the setting is not ideal (that is within user specified limits) It may be that the page is over-full, in which case Tex would have warned, but over-full pages are not that common. It looks to me that you are just seeing the display extend below the bottom baseline of the page. ...

2

The answer provided by Stefan Kottwitz helped me. I wanted to add a working example for easy reference based on his suggestion of using the crop package. My example may need improvement. \documentclass{article} \usepackage{geometry} \usepackage{setspace} \usepackage[none]{hyphenat} \geometry{paperwidth=2in, paperheight=4in, margin=2em, bottom=1.5em, ...

2

You can have a solution swapping rows and columns and loading makecell for line breaks in cells. Here is a possible layout. In addition, I loaded siunitx to format coherently the (nonstandard) units in this table, and mhchem to have a simpler code for chemical formulae. \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...

2

You can use the rightmargin placement, but you need to make \chapter a member of the straight class. \documentclass{book} \usepackage{titlesec,marginnote} \usepackage{etoolbox} \usepackage{lipsum} \usepackage{geometry} % page layout \geometry{% showframe, top=4cm, headsep=1.5cm, bottom=3cm, innermargin=3.0cm, textwidth=300pt, ...

2

The basic problem is that the package code does not take care to avoid the introduction of spurious spaces. This is a bug and should be fixed. Normally, I'd suggest patching the relevant commands. However, I'm not sure how to patch something like \newenvironment{sequencediagram}{ so that we get \newenvironment{sequencediagram}{% In any case, a *lot ...

2

Use the amsmath package and then \begin{multline}\label{eq:master} f(x) =\\ E \end{multline}

2

As a small variation of answer provided by @Herbert, I can compile this document without a single warning: \documentclass[draft]{article} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{tabularx,booktabs,ragged2e} \newcolumntype{Y}{>{\hspace{0pt}\RaggedRight}X} \begin{document} \noindent ...

2

Apparently parskip and enumitem do not like each other. The best is to drop the parskip package here. (I'll try to figure out where the real source of the problem is with parskip) \documentclass[oneside,12pt]{article} \usepackage[left=3em,right=3em,top=3em]{geometry} \usepackage{microtype} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...

1

For mine similar cases I define new environment named wide for which I use macro adjustwith from package changewidth: \usepackage{calc} \usepackage[strict]{changepage} \newsavebox\widebox \newenvironment{wide}% {\@parboxrestore% \begin{adjustwidth*}{}{-\marginparwidth-\marginparsep}% \begin{lrbox}{\widebox}% ...

1

I found a manual workaround based on Using \footnote in a figure's \caption, but I would prefer an automated solution. % !TeX program = pdflatex % !TeX encoding = UTF-8 % !TeX spellcheck = en-US % !BIB program = biber \documentclass[a4paper,twoside,justified,marginals=raggedright,nobib]{tufte-book} \usepackage{graphicx,lipsum} \usepackage[% ...

1

By default, the Tufte classes are not too fond of you using a \footnote from within a \caption. Since biblatex doesn't know we are using \autocite from within a \caption it defaults to \footcite; indeed since patching the \footnote command failed, biblatex can't even detect it is in a footnote and use \parencite there. With \makeatletter ...

1

Use \documentclass[ngerman]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage{tabularx,booktabs,ragged2e} \renewcommand\tabularxcolumn[1]{>{\hspace{0pt}\RaggedRight}p{#1}} \begingroup \begin{document}\tabcolsep=3pt \begin{tabularx}{\textwidth}{@{}XX|XXX|XXX@{}} \rlap{Alternativen} & & $A_1$ & ...

1

You'll probably find an appropriate one among many citation commands provided by biblatex. Search for biblatex manual, this is in chapter 3.7. You'll probably go with \citeauthor* or \footcite.

1

In acro's manual section More on List Customization the extra-table template is described: The template extra-table typesets the list in a table with four columns: <short> & <long> & <extra> & <page> \tabularnewline In table Available List Templates and Their Options you can also read that the default column ...

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