# Tag Info

17

For the typographic comparison you're looking to make, we need to distinguish between two groups of environments that generate display-style equations: Methods for generating (mostly) single-line equations, such as the $...$ approach and the displaymath, equation, and equation* environments. Methods for generating multi-line equations (although they ...

13

Here are some pages of my end-of-post-obligatory-school work (Travail de Maturité in French). The whole source code can be found in my Git repository under examples/TM. Some of this document typo are given as separated files in the typographyArchive folder. The document is in French, it's compiled using XeLaTeX. The main font is Lato (it's publish under the ...

12

I suggest you use the \splitdfrac macro of the mathtools package, as well as an align* environment, to typeset the formula. \documentclass[twocolumn]{article} \usepackage{mathtools,lipsum} \begin{document} \lipsum[1] % filler text \begin{align*} P(A_i\mid E ) &= \frac{P(A_i\cap E)}{P(E)}\\ &= \frac{P(E\mid A_i)P(A_i)}{% \splitdfrac{P(E\mid ...

9

It's often said that the 19th century represented a nadir in typography, but I find many documents typeset in this period to be charmingly kitschy. I've recently undertaken a project to reproduce "Persecution of New Ideas", a notorious quacksalver's advertisement from an old 1875 railroad atlas. Here is the LaTeX reproduction, warts and all: And here is ...

6

Reading the amsmath package documentation you'll find that split (only usable within another environment) is for splitting a single equation on more than one line (e.g. when the equation is too long), while the align environment is for typesetting multiple equation (possibly related to one another) aligned in the same display environment I think this ...

5

Imho you shouldn't assume that people don't print a pdf and so \pagecolor is not really an option. But you can a similar effect with layers: \documentclass{article} \usepackage{geometry,color} \geometry{papersize={4cm, 4cm}} %for the tests \usepackage{ocg-p,tikz,eso-pic} \AddToShipoutPictureBG {\begin{ocg}[printocg=never]{backgroundcolor}{oc1}{1} ...

3

Having to type \multicolumn{1}{c}{ ... } repeatedly to center-set each header cell is certainly tedious. However, setting up a shortcut macro, e.g., via \newcommand\mc[1]{\multicolumn{1}{c}{#1}} % handy shortcut macro and then writing \mc{ ... } in each header cell should be manageable, unless your table has a very large number of columns. For sure, ...

3

Do you want an equation? Then use equation or $..$ (or equation* if you want it not to be numbered). Do you want more than one equation together with no text in between? Then use gather(*) (if no alignment is necessary) or align(*) if you want to align them at certain points. To me that's the way of deciding what to use. Now, if it's a single equation ...

2

You can use ref to set a reference format distinct from label: \documentclass{article} \usepackage{enumitem} \setlist[enumerate,1]{label={(\arabic*)},ref=\arabic*} \begin{document} \begin{enumerate} \item This is the first sentence. \item\label{toprime} I will give a variant of this sentence soon. \end{enumerate} Now here's some intervening material. ...

2

embrac doesn't work if you hide the text in a macro. So imho the direct input of brackets and parens won't work. But you can use the commands: \documentclass{article} \usepackage[biblatex=true]{embrac} \usepackage[backend=biber]{biblatex} \addbibresource{bibliography.bib} %\usepackage{filecontents} \begin{filecontents}{bibliography.bib} ...

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