8
votes
2answers
204 views

How to get single curved quotation marks in math mode

I know I can get these fancy quotes `abc' I want to get those quotes separately. I know how to get the left one: {`}a But when I try just the right one, I get a different quote then when ...
8
votes
2answers
119 views

Quotation marks around operator in math mode

I want to create formulae where the \rightarrow is enclosed in double quotation marks and appears like any other word in a formula. What I'm getting instead, are formulae where these quotation marks ...
1
vote
0answers
62 views

Comprehensive list of mathmode dots with explanations

I have read on several occasions that there are differences between the multitude of dots commands that TeX and amsmath offer. However, I am not sure up to this day when to use which, and how critical ...
4
votes
2answers
200 views

Making aliases for variables

I'm trying to figure out how best to define an alias. I have some moderately complicated variable names, such as $p^{i,j}_{t}$, and having to type them over and over again is a pain. More importantly, ...
3
votes
3answers
266 views

How to type left/right quotes in mathmode?

I want to type "left-quotes" and "right-quotes" in an equation. I tried $P(x):`` \forall x \in \mathbb{R}, \, x^2 > 4 \Rightarrow x > 2. ``$ I get The end sign is not correct. How to ...
6
votes
2answers
120 views

Punctuation after multiline math diagram

How to place the punctuation after multiline math diagram at the last line rather than the first line as the case showed in my following code. \documentclass{article} \usepackage[utf8]{inputenc} ...
10
votes
1answer
108 views

Variations in ldots

Here is my code: \documentclass{article} %\usepackage{unicode-math} %\setmathfont{Latin Modern Math} \begin{document} The letters $a, \ldots, z$ are used. \end{document} It produces this ...
13
votes
4answers
514 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$ ...
7
votes
1answer
277 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 ...
45
votes
1answer
456 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 ...
10
votes
2answers
211 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
1k 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
730 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
145 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 ...
14
votes
1answer
936 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, ...
9
votes
2answers
3k 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
416 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
173 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
861 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
147 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
219 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
858 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 ...
10
votes
2answers
2k 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} ...
6
votes
1answer
337 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 ...
16
votes
2answers
3k 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
177 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
1k 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 ...
10
votes
1answer
1k 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
740 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 ...
15
votes
4answers
3k views

Comma as decimal point leading to confusion [duplicate]

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
2k 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
3k 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
801 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 ...