# Tag Info

## Hot answers tagged spacing

3

The \textit command adds the italic correction, which is usually desirable when in normal text: compare \textit{full} size {\itshape full} size that gives where the second line has too short space. However, this is not desirable in a monospaced context, as you notice. Either use {\itshape fine example} or the following more complicated version. ...

3

The trouble is that when Metapost converts a string into a picture, it just does it in the simplest possible way, turning each ascii code in the string to the appropriate glyph (also using the font metric, I guess). With a TeX font, the space character (ASCII 32) is not needed for typesetting, so it is used for a funny little diagonal dash thing, which ...

3

I found the alignat environment to be most useful: it allows you to specify alignment at multiple places in a list of equations. Here, I aligned at the start of each function and the start of \alpha > 0. \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \begin{alignat*}{2} \text{Fr\'echet:}\quad\qquad &\Phi_\alpha(x) ...

2

I'd like to suggest another solution using alignat. How does my solution differ from the other alignat solutions? I am using the colon of the text, the equals sign, and the \alpha as alignment points. I kept your \R macro and added the additional \ee macro which typesets Euler's number upright. Instead of \quad\quad you can use \qquad. In the future ...

2

Playing with hhline and the boldline package produces a more acceptable result: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{newtxtext,newtxmath} \usepackage[table, x11names]{xcolor} \usepackage{graphicx} \usepackage{multirow, float, booktabs, boldline, hhline} \usepackage{cellspace} \begin{document} \begin{table} \centering ...

2

According to the LaTeX Graphics Companion (Second edition) itself, p. 174 and 175, you should insert a line like the following: SetupText(1, "", ""); This one tells PieChartMP to use TeX as typesetting engine and so solves the problem explained above by Andrew Kepert: the space string character is now appropriately handled by TeX. See the LGC2 for further ...

2

The command \showthe works exactly like \the (see The \the command), with the difference that TeX stops compilation for showing the resulting token list, instead of delivering it to the input stream. So \showthe\abovedisplayskip would interrupt the TeX run (if found in an interactive session) printing > 12.0pt plus 3.0pt minus 9.0pt. l.10 ...

1

semi-automatic method, using the \pdfsavepos extension to work out where the text ends then constructing a suitable length to use with \\[something] to extend the row. I have not here tried to automatically determine the rows where the page breaks, so at the end of edits just change \\ to \zz{AomeUniqueLabel} You can see the lengths it is making in the aux ...

1

The actual problem here is that the default font used by Metapost is cmr10 which has the plain TeX textfont0 encoding; since this does not have a space at code point 32 this is a particularly poor choice! You can fix this by changing the default font to one that has a more useful encoding. Try adding this at the top of your file: defaultfont := ...

1

The problem is not with tufte-book and it can be reproduced with article as well. \documentclass{article} \usepackage{graphicx} \usepackage[caption=false]{subfig} \usepackage{lipsum} \begin{document} \lipsum[2] \begin{figure}[!htp] \centering \includegraphics[width=.6\textwidth,height=2cm]{example-image} \end{figure} \lipsum[2] \begin{figure}[!htp] ...

1

We have to add another conditional: if we are not in the main matter, \chapter should behave like \chapter* as far as formatting is concerned. \documentclass{memoir} \makeatletter %% Thomas Dye's southall chapter style (modified) \makechapterstyle{southall-mod}{% \chapterstyle{default} \setlength{\afterchapskip}{5\baselineskip} ...

1

This is a hack. It is provided as is. There are no guarantees. I don't even guarantee that it has anything to do with forest, multiline nodes or TeX. At this point, in case it is not clear, I should state that I guarantee nothing whatsoever. If the code dials the CIA, MI5 and the KGB and offers them your cat in exchange for a tube of Smarties, don't say I ...

1

The TikZ library files use blank lines very generously. A \par in vertical mode is ignored (well, not really, but the effects are irrelevant for the problem at hand). So you must load TikZ libraries in the preamble or between paragraphs. One might think that doing \documentclass{minimal} \usepackage{tikz} \begin{document} ...

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