3
votes
0answers
129 views

Typesetting programming packages/libraries in LaTeX

When referring to programming packages/libraries (such as matplotlib for example) within a LaTeX document should one typeset it to denote it as a package/library name? Such as using \texttt{}?
5
votes
1answer
100 views

How to get proper spacing when typesetting an expression such as $f\left(\frac{y}{2}\right)

I am trying to typeset the value of a function $f$ for $x = \frac{y}{2}$ (or something other which requires more vertical space). To get properly sized parentheses I tried: f\left(\frac{y}{2}\right) ...
12
votes
4answers
388 views

How to properly typeset multiletter quantities, e.g. Re or Nu (Reynolds, Nusselt numbers)

Is there a canonical way to typeset such quantities in equations and inline math? \documentclass{article} \begin{document} $Re$, $Nu$ are clearly not an option. $\mathit{Re}$, $\mathit{Nu}$ appear ok ...
8
votes
3answers
385 views

How should I typeset the physical dimensions of quantities?

As an example: The Newton's Law gives F=ma vs. dim F=MLT^{-2} My question is: Should I typeset the "MLT" in \mathit shape? You can contrast ...
6
votes
2answers
249 views

Using a negative space \! to differentiate between functions and products

In Physics, I often have functions like f(x), but also multiplications like y(-x). I would like my math to be easy to understand, so I am looking for a way to suggest function calls and ...
3
votes
2answers
408 views

Table layout: cells with short and long text

I've been fiddling with a table layout where some cells contain very little text while others may need multiple lines, and I can't seem to get it readable and nice-looking. MWE: ...
14
votes
0answers
650 views

Best practice for typesetting physical quantities using siunitx [closed]

Consider the following example. Code \documentclass{article} \usepackage{amsmath} \usepackage[ locale=DE, output-product=\cdot, product-units=single % I use this option a lot in the document, ...
5
votes
2answers
741 views

Professional slashbox alternative

Suppose I have the following table which lists conversion rules, where rows denote the input and columns denote the output type (so, for example, the conversion int8_t -> int16_t would use b, while ...
15
votes
4answers
795 views

Good typesetting practice for long equations

I have the following (quite horrible) equation in my thesis: \begin{align*} \frac{\partial^2}{\partial t_1^2} f(t_0,t_1) = ( \delta+2t_0+2t_1)^{\alpha( w-t_0+t_1 )-1} \cdot \bigl( ...
3
votes
0answers
7k views

Where should I use \textsc? [closed]

When should I use macro \textsc ? What is common practice in document like diploma thesis? Should I use it for names of persons, names of described entities of particular interest or in some other ...
5
votes
1answer
6k views

Using Koma-Script's scrartcl class as an American academic: suggested changes?

It was recommended to me when I first started using LaTeX (not too long ago) and asked a question about footnotes to use Koma-Script's scrartcl class because of its /deffootnote command. Browsing ...
3
votes
1answer
589 views

Tag placement in split equation within alignment block

Whenever I have an equation that does not fit on a single line, I am using \begin{equation}\begin{split}...\end{split}\end{equation} as recommended in the AMS math guide. This gives me an equation ...
15
votes
3answers
872 views

What are some best practices for the typography of tables and figures?

I put captions above my tables and below my figures. I use the booktabs package (and no vertical lines) for my tables. Do I show both tables and figures (graphs) for the same data? If so, in what ...
12
votes
1answer
1k views

Style question: serif or sans fonts in figure and chart text?

Question for you design-y types: I like to use a serif font for all my text (title, headings, body). What I'd like to know is whether you think that I should go with a serif or sans serif for text in ...
57
votes
5answers
3k views

What is best way to mention that a document has been typeset with TeX?

Is there any common way to mention that a document has been typeset by TeX? So non-TeXnicians (TeXperts) may become a little familiar with the TeX world. Update: It would be nice if one hero make a ...
14
votes
2answers
3k views

How to properly typeset footnotes/superscripts after punctuation marks?

I find the spacing of footnote marks after punctuation marks quite unsatisfactory, especially with sans serif fonts and compared to the spacing after letters. Example follows: I came up with a ...
39
votes
3answers
2k views

How to properly typeset all forms of punctuation used in English-language documents?

English documents tend to use these types of punctuation: periods apostrophes brackets of various kinds colons and semicolons commas dashes and hyphens ellipsis exclamation and question marks ...
16
votes
1answer
774 views

Vertical position of punctuation following fractions in display-style equations

Assuming that one wants punctuation in equations, what is the best way to adjusting the vertical position of the punctuation if it follows a fraction? I am using Palatino and Euler here (which I ...
29
votes
3answers
8k views

Why not use vertical lines ('|') in a tabular?

My question is a follow-up to the answer to a follow-up question, to be found here. ;) I'd like to know why one would advise against using vertical lines (via |) in a tabular (i.e. in ...
30
votes
4answers
1k views

References for learning how to check for typesetting problems

The following thread discusses a number of tasks one must accomplish to finish up a document: What are the finishing touches you put to a document? Did the original author of TeX make such small ...
16
votes
3answers
1k views

How to typeset the symbols for charged particles?

Maybe this question will seem trivial, but I was wondering how you people typeset symbols for charged particles? I was thinking here in particular about the electron, the proton and the neutron. This ...
12
votes
5answers
1k views

Which equations should be numbered?

Is the best practice to number all equations, or just those that will be referred to?
8
votes
4answers
1k views

Can my LaTeX (maths) code be improved?

I feel that my code isn't written very efficiently. \documentclass[a4paper,11pt]{article} \usepackage[english]{babel} \usepackage[pdftex]{graphicx} \usepackage{tikz} \usepackage{wasysym} ...
81
votes
5answers
3k views

What are the finishing touches you put to a document?

I'm curious about the finishing touches that people put to LaTeX documents. Are there any canonical or special things that people do in finalizing a document? What I do: Careful proofreading of ...
36
votes
4answers
8k views

When should I use non-breaking space?

DEK gained a reputation of painting red the draft dissertations of his students, taking particular note of incidents when they omitted a non-breaking space that should have been included. I have this ...
5
votes
4answers
1k views

Which combination of font-size, font-family, font-color, background-color, line-width, spacing make the most comfortable to read?

I am searching for a good combination of font-size, font-family, font-color, background-color, line-width, line-spacing, paragraph-spacing, indentation, tabulation, heading, etc. Which combination ...
13
votes
2answers
1k views

Conventions for formatting scientific units?

I would appreciate some guidance on how to format units that incorporate SI, molecules, and text. Right now I am formatting the letters in chemicals or names as 'text' and the SI units, sub/super ...
42
votes
3answers
7k views

When to use bold, italics, small caps, typewriter etc.?

I'm a little confused on the purposes of each kind of text in LaTeX. I know the function of some of them, but sometimes people use each for different reasons. For example: \texttt is for code (no ...