Tagged Questions
10
votes
4answers
167 views
Using commas in mathematical formulas
I need write some formula, but I don't know how to arrange the comma's place.
$p,\ q\in N$, blabla $0<a,\ b<1$ blabla $i,\ j=1,\ 2,\ \dots,\ n$
or
$p,\;q\in N$, blabla $0<a,\;b<1$ ...
6
votes
1answer
95 views
Decimal comma: extract one feature from babel-spanish
\usepackage[spanish]{babel} makes $12.34$ to print "12,34", not "12.34". It doesn't change dot to comma if one says for example $x.y$.
Can I use only that feature from babel package, and still use ...
42
votes
1answer
356 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 ...
9
votes
2answers
125 views
Math Spacing in the presence of a trailing/non-trailing comma
I thought I knew how to use a \hphantom{} but don't know of an easy way to handle this case due to the comma. I want to get the text aligned for the X row. I added the appropriate \hphantom{{}+1} ...
8
votes
2answers
149 views
To Imply a Dash and not Minus Sign in Math Mode
If I am in Math mode, and I want to name a variable, say max-color, here max and color are treated as two different variables and two spaces are placed around the minus sign. Now, what I really meant ...
8
votes
3answers
302 views
How to convert dots to commas in mathmode?
For my study of physics I have to do various lab reports. Normally I just process all my data using python, gnuplot or Mathematica and copy it from there to my TeX document. Unfortunately all these ...
4
votes
1answer
80 views
punctuation after a fraction in math mode
I use to punctuate my equations.
In math mode, when the last "word" is a fraction, I raise the final point using \cdot like in
x = \frac{3}{2} \cdot
so that the "." is at the same height as the ...
13
votes
1answer
291 views
adaptive \ldots with no (“…”) spacing
Due to the typographic traditions I'm used to, I prefer my \ldots to have no spacing in between, ideally exactly the same amount as in text. In math mode I would like to write things like \(1, 2, ...
5
votes
1answer
959 views
How to write quotation marks in math environment?
How to use quotation marks in math mode? I need to get \lim with the quation marks above.
5
votes
1answer
269 views
A comma decimal separator that is bigger than a dot
\documentclass{mwrep}
\usepackage{amsmath}
\begin{document}
Check:\\
with "," $0,125$\\
with "." $0.125$
with commas:
\begin{equation}
P=
\begin{bmatrix} 0,1 & 0,3 & 0,0 & 0,6 \\
...
0
votes
2answers
131 views
Force printing of parentheses around a single character in math mode [closed]
Although this is not strictly mathematical notation, I would like to denote an object with a calligraphy capital T and subscript non-italic P. I have this:
...
2
votes
1answer
528 views
Matrix in an align environment
I'm currently writing on my masters thesis and I have a question about matrices at the end of a sentence.
I write my matrix as a pmatrix in an align environment. Actually the matrix is at the end of ...
4
votes
1answer
144 views
autopunctuation not working properly
What am I doing wrong? According to my understanding, these two formulae should look different (the second one should have a thin space):
\setupmathematics[autopunctuation=yes]
\starttext
$(2,5)$ ...
2
votes
1answer
178 views
mathptmx gives me commas in the wrong font
When I use mathptmx, it gives me commas in computer modern not times roman. Anyone know how to fix this anomaly?
Compile this to see the difference:
\documentclass{article}
\usepackage{mathptmx}
...
16
votes
1answer
514 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
2answers
1k views
How to get the closing single quote in math mode
How to get the closing single quote in math mode. The apostrophe in math mode
is displayed as prime.
\documentclass{article}
...
4
votes
1answer
204 views
Could icomma conflict with siunitx?
I'm also having the problem with the space after a comma in decimal numbers (like discussed here: German language: use of comma in numbers)
and I wonder if I can use both the icomma-package (which ...
14
votes
2answers
1k views
Period after math-mode equation
If I write
If $x \rightarrow y$, then $y \rightarrow z$.
it looks fine. But if the sentence is more involved and formulas longer, I tend to change $...$ to \[...\]. In many cases I think the result ...
5
votes
1answer
152 views
“$$…$$.” has the dot on the wrong line; How to punctuate correctly?
I like to use the $$\sum S_{i}$$ or something similar. But I get the dot . or the comma , placed in an awkward position. I work around this problem sometimes by using $ \sum S$, but this is not good ...
1
vote
2answers
677 views
How to create better dots in continued fraction
Consider
$$\left( a_1, a_2, \cdots a_m \right) \mapsto a_1 + \frac{1}{a_2 + \frac{1}{\cdots + \frac{1}{a_m}}}$$
I want to change the cdots into three dots like the following
dot space dot ...
9
votes
1answer
860 views
Unbroken en-dash
I am trying to get an en-dash by using two '-' characters, but instead of appearing as one long en-dash symbol, I'm getting --. Any idea how I can get an unbroken en-dash?
0
votes
0answers
536 views
Decimal point in LaTeX Math Mode [closed]
I am writing a large document with equations in LaTeX. I suddenly noticed that a small unusual problem is occurring. I am writing an equation as follows:
\begin{equation}
f_{c}(t) = 1.0 + 0.024 ...
12
votes
4answers
1k views
Comma as decimal point leading to confusion
I'm writing a report in a language that uses decimal commas. In some cases that clashes with commas used for punctuation, causing hard to read text, e.g.:
for $x_i \in [-1,5, 1,5]$.
Is there a way ...
7
votes
1answer
1k views
Punctuation in equations
My document will contain a lot of equations, and as usual in that case I would like to use "punctuation" in the equations, like commas, colons, periods/full stops, semicolons, etc.
Is there a special ...
5
votes
4answers
1k views
Avoiding placing `,\,` everywhere in mathmode
Whenever I write ", " (with a space after the comma) in mathmode, I really want a space there. usually, this is either something like
the points, $a, b$, and $c$....
or in an explicit vector:
...
6
votes
2answers
560 views
Proper punctuation after cases environment
I know that when writing a displayed equation, it's correct to write punctuation before the closing \] as follows:
This proves \[ x^2 = 3, \] and it follows that \[ x = \pm\sqrt{3}. \]
If I'm using ...

