Tagged Questions
2
votes
1answer
61 views
Compound fractions (i.e., “mixed numbers”) look bad in displaystyle
I find that in display mode, fractions that represent simple rational numbers look way too big. For instance, consider this case:
$$ a = \frac12(b+c) $$
The fraction gets inordinately large ...
14
votes
4answers
599 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(
...
43
votes
1answer
372 views
Is it always best practice to not include text punctuation in inline math mode?
It has been pointed out on this site, e.g. here by egreg, that text punctuation doesn't belong to the formula in inline math. I've been following this practice for a long time, so I write for all ...
6
votes
1answer
166 views
When should we use \DeclareMathSizes, \xxxstyle and font size changing macros (\tiny, \small, etc)?
Could you give me a complete overview when we should use \DeclareMathSizes, \xxxstyle (such as \scriptstyle, etc), and font size changing macros (\tiny, \small, etc)?
I want this answer to be CW so ...
12
votes
1answer
155 views
Which command should I use for textual subscripts in math mode?
Textual subscripts like in W_{total} should be typeset in an upright text font (so that code isn't good practice), as has been discussed in various questions here. Now there are several ways to ...
35
votes
1answer
561 views
What is the advantage of using $f^\prime$ instead of $f'$?
Although the two outputs look quite similar, what is the advantage of using $f^\prime$ instead of $f'$?
By the way, here is my code:
\documentclass{article}
\begin{document}
\[ f^\prime ...
34
votes
6answers
2k views
Writing readable LaTeX
Lets say I have the following LaTeX code
\subsection{Convex sets}
A set \( \mathcal{S} \)
in \( \mathbb{R}^n \)
is said to be convex if
\[ \mathbf{x}_1, \mathbf{x}_2 \in \mathcal{S} \implies \lambda ...
3
votes
1answer
305 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 ...
0
votes
1answer
699 views
How should I write arctanh? [duplicate]
Possible Duplicate:
Define additional math operators to be typeset in roman
If I want to use the function sin in LaTeX, I write $\sin x$ or $\sin(x+1)$. If I want to use the function ...
9
votes
1answer
397 views
What is the best practice for typesetting set-builder notation with a large number of membership criteria?
That is, I have something akin to the following right now:
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
We must have $(a^i,b^i,c^i) \in X^i(d) = \bigg\{(a,b,c)
...
8
votes
1answer
237 views
Alternative ways to format the cases environment in display math-mode
The cases environment of amsmath package is useful for defining a function that takes different values in different regions. For example:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
...
20
votes
3answers
1k views
Should I \mathrm the d in my integrals?
When writing an integral, it seems like something should be done to separate the "d", as in \int f(x) dx, so as not to confuse it with a variable. I've seen it left as-is, bolded, and straightened. ...
13
votes
4answers
3k views
How to best typeset “special” constants (complex unit i, Euler's number e,…)?
I'm trying to come up with a typographically appealing way to express "special" numbers such as the complex unit i = sqrt(-1) or Euler's number e. It has to be such that it cannot be confused with ...
9
votes
1answer
155 views
Best and recommended way to write prime on i in $i^{th}$
I have two $i^{th}$ and $i^{\prime th}$ and it is hard to see prime in $i^{\prime th}$. I would like to know the opinion of expert LaTeX users about this. I wonder what is the best and recommend way ...
16
votes
1answer
536 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 ...
9
votes
5answers
657 views
How do I get function argument parenthesis to position correctly?
I'm having trouble with the appearance of parentheses representing function arguments. They appear to far away from the function name.
For example the code
...
4
votes
1answer
3k views
typesetting modulus operator, as in remainder
Is there a standard way to typeset the modulus operator (as in arithmetic remainder)? The percent sign (%) is often used by programming languages and mathematicians tend to use mod, but because of the ...
24
votes
4answers
1k views
When to use math mode?
In my document, the numbers inside math mode appear differently than those numbers out. Sometimes, I have numbers like "10 squared" within a paragraph, so it seems useful to use $10^2$. However, maybe ...
41
votes
4answers
5k views
When not to use \ensuremath for math macro?
I have gotten into the habit of using \ensuremath around math components in every macro that I define, so that I can use the same macro inside and outside of math mode. But egreg's comments in ...
1
vote
1answer
3k views
Best way to typeset the identity operator, or unit? [duplicate]
Possible Duplicate:
Blackboard bold characters
I have seen the unit (or identity operator) typeset via
\newcommand{\unit}{1\!\!1}
Is this really the best way to get a double-stroke 1? ...
10
votes
3answers
818 views
Using ] and [ as math symbols, not delimiters
I'm writing some topology up, and I prefer to use the notation ]a,b[ to denote an open interval as opposed to (a,b), since the ( and ) symbols tend to be over used in this subject.
Is there a ...
8
votes
4answers
896 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}
...
40
votes
4answers
21k views
“(” or “\left(” parentheses?
What is the difference between ( and \left( in LaTeX? Sometimes, when the content is small, it does not seem to matter which pair I use.
What is the best practice when it comes to which parentheses ...
122
votes
8answers
4k views
Are \( and \) preferable to dollar signs for math mode?
Along the lines of Why is \[ ... \] preferable to $$?, what reasons are there (if any) to favor \( ... \) over $ ... $?
