Hot answers tagged

19

I would define some macros to handle the parts of the code that don't change. Here's an example of something you can do: \documentclass{article} \usepackage{amsmath,amssymb} \makeatletter %% user macro translated into internal control sequence %% to test whether short or long form. \newcommand\intU{\ae@intU} %% short form is flagged by a `*` ...


9

It's probably bad practice, although hard to say with no context. Firstly \\ does not end the paragraph. If your narrative reaches a point where a large visual break is needed then a paragraph break would seem more natural. If all paragraph breaks need the same visual skip then there is nothing more to do, but if this is a special break then using blah ...


8

That is the correct variable to play with. It is allow lines to be up to 8% shorter than standard. Try reducing it via e.g. \setlength{\RaggedRightRightskip}{0pt plus 0.02\hsize} for a percentage (here 2%) of the line length or \setlength{\RaggedRightskip}{0pt plus 1em} for an absolute possible shortfall. For the tufte classes this change needs to ...


5

The definition of \tuftebreak can be improved: \documentclass{tufte-book} \usepackage{kantlipsum,cleveref} \makeatletter \def\tuftebreak{% \if@nobreak\else \par \ifdim\lastskip<\tufteskipamount \removelastskip \penalty -100 \tufteskip \fi \fi } \makeatother \begin{document} \section{Monday} \kant[1] \section{Tuesday} ...


5

KOMA-Script's reasoning for that is: There is a rule in typography which states that one should mix as few fonts as possible. Using sans serif for headings already seems to be a breach of this rule. However, one should know that bold, large serif letters are much too heavy for headings. Strictly speaking, one would then have to at least use a ...


5

Since version 3.12 there is also an undocumented class option that results in a similar layout to the standard classes including serif font for the headings: \documentclass[emulatestandardclasses]{scrbook} \usepackage{blindtext}% dummy text \begin{document} \tableofcontents \Blinddocument \end{document} Note that this option needs package ...


4

As far as I have learned, the whole point of using serif font is to help the reader find the next line in justified text, i.e., not skipping one or reading the same line again. Serif fonts accomplish this through a strong emphasis on the baseline. On the other hand, headings are a) not justified b) usually not longer than one or two lines and c) ...


4

Use xelatex of course, along with a cursive font (there's plenty free online). Warning: This might not be sufficient, it still looks too "clean" and the lines too straight for it to be actually handwritten.1 \documentclass{article} \usepackage{fontspec} \usepackage{lipsum} \setmainfont{Cursive standard} \begin{document} \lipsum[1] \end{document} 1: ...


4

Honestly, your definition of .5\baselineskip is exactly the length of \medskip, which is equivalent to \vspace{\medskipamount}. If we show these values we get: \verb!\baselineskip =! \the\baselineskip \verb! \medskip =! \the\medskipamount So if we define a new length of that size, it'll look like \medskip. Of course, the major difference would be ...


4

Not convinced about the usefulness, but \documentclass{article} \def\numeros{N{\raisebox{0.2ex}{\textsuperscript{\underline{os}}}}} \begin{document} \section*{\numeros} \end{document} works:


3

There is no easy solution on this, as the font you have chosen does use some special "o" here. It is smaller. Just compare the letters "os" and you will see that the "o" from the numero symbol here has some other shape. Therefore it will always look wrong if you just put an "s" to its side. I could scale the letter down in order to fit the height, but this ...


3

The question is opinion-based -- I will provide an opinion-based answer Pagenumber (either in the header or in the footer), exception: Part/chapter start pages/titlepage Section title/chapter title in the header A copyright statement for special sections/document A statement that this document was produced with \LaTeXe (or ConTeXt, or LuaLaTeX or XeLaTeX ...



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