Hot answers tagged

6

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} %\DeclareUnicodeCharacter{2026}{\dots}% … % \u8:… ->\IeC {\dots } \expandafter\def\csname u8:\detokenize{…}\endcsname#1{\dots#1} \begin{document} $\left\{a \dots \right\}$\vline $\left\{a … \right\}$\vline \end{document} \dots looks ahead at the next token to see whether ...


4

The macro \biburlsetup sets \Urlmuskip to 0mu plus 3mu, which is responsible for the space stretching. Here's a way for reverting the choice, but of course you'll get an underfull line. \documentclass{article} \usepackage[margin=1in,paperheight=3in]{geometry} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @Book{Example, author={Authorson, ...


3

First, we define a \newcommand for the \rightarrow, called \arrowx (so we don't inadvertently break something), and then we can enclose the first part of your list in a \makebox like: \makebox[<horizontal length>][<alignment>]{<text>} We can even turn this into a command without having to type everything every time, like ...


3

The tcolorbox package puts the tcolorbox environments in a paragraph, unless the option nobeforeafter is used. A better way to preserve the indents is to apply before={\hskip\dimexpr\leftmargin-\speechskip} and an empty after={} The remaining spacing is \itemsep and the natural \interlineskip. Compare the difference between \martax and \martay ...


3

Here is a demonstration of principle. The idea is to reduce the remaining space on the page to a multiple of \baselineskip. Note that \baselineskip could change between the figure creation and final location (not likely unless you like to change font sizes). \documentclass[twocolumn]{article} \usepackage{environ} \usepackage{mwe} % skip to the next grid ...


3

Here is my attempt to get an automatic method. Read this page to know how to split Bézier curves. I define the new limit bb style with two arguments: the maximum distance between actual bounding box and perfect bounding box. the action (draw, fill...) applied to the path. This new style splits automatically and recursively all Bézier curves to remove ...


2

By default, part of the bounding box comes from \def\pgf@lt@moveto#1#2{% \pgf@protocolsizes{#1}{#2}% \pgfsyssoftpath@moveto{\the#1}{\the#2}% } \def\pgf@lt@lineto#1#2{% \pgf@protocolsizes{#1}{#2}% \pgfsyssoftpath@lineto{\the#1}{\the#2}% } \def\pgf@lt@curveto#1#2#3#4#5#6{% \pgf@protocolsizes{#1}{#2}% \pgf@protocolsizes{#3}{#4}% ...


2

You're using the wrong tool, in my opinion: a tabular is much simpler. \documentclass[14pt,handout,t]{beamer} \usetheme{Warsaw} \geometry{paperwidth=297mm,paperheight=210mm} \setbeamersize{text margin left=100pt,text margin right=100pt} \newcommand*\arrowx{\item[\large$\Rightarrow$]} \newcommand*\tabit[1]{\makebox[6cm][l]{#1}} \begin{document} ...


2

To increase the separation between the number and the text, change \labelsep to the length you prefer. It is assumed that the numbered paragraph ends with a blank line. \documentclass[a4paper,12pt]{report} \usepackage{blindtext} \newcounter{mypar}[chapter] \renewcommand{\themypar}{\thechapter.\arabic{mypar}} \newcommand{\mypar}{% ...


1

The \dbltextfloatsep space is the space below the figure before the start of the columns it is not added separately to each column, it is added _after- latex has constructed a partial page box with the columns. It's natural length is used to determine the target height of the columns to go under the figure and any stretch is used to adjust any shortfall, but ...



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