# Tag Info

0

\def \ifempty#1{\def\temp{#1} \ifx\temp\empty } always adds a space token to the output each time you use it, you intended \def \ifempty#1{\def\temp{#1}\ifx\temp\empty } However it is not generally safe to define an \if this way as it is a macro not a tex \if.. so will not work naturally if combined with other if for example \iffalse \ifempty{} yes ...

17

The first case: \hfil Horizontally centred \hfil\par (the blank line adds \par). When \par is processed, the first thing TeX does is \unskip, then it adds a very high penalty, so the next added glue \hskip\parfillskip is not removed. Since the default value of \parfillskip is 0pt plus 1fil, you get centering. Almost, because you have a space after “centred” ...

1

If you are writing a book then maybe you are using the memoir class --- a superset of the book, report and article classes. As Ulrike Fischer said it provides the \plainbreak macro for inserting a number of blank lines between adjacent paragraphs and also a \fancybreak macro that inserts some decorative text, such as a string of fleurons, between paragraphs. ...

1

I don't know what you have done but hopefully the following will help you. % titleprob.tex SE 528758 equal spacing between title page entries \documentclass{article} \begin{document} \begin{center} % centering the entries The Title \vfill The Author \vfill The Date \end{center} \end{document} The \vfill macro basically pushes apart the text above and ...

2


0

Below the duck you have ...\glue 13.6 ...\glue(\parskip) 13.6 plus 1.36008 ...\glue(\baselineskip) 5.99585 ...\hbox(7.60416+0.0)x418.25555, glue set 0.38042 ....\hbox(0.0+0.0)x0.0 ....\OT1/cmr/m/n/10.95 H ....\OT1/cmr/m/n/10.95 e ....\OT1/cmr/m/n/10.95 r ....\OT1/cmr/m/n/10.95 e so both \intextsep (13.6pt) and \parskip (13.6pt plus 1.36008pt) and the ...

Top 50 recent answers are included