The text-mode tag has no wiki summary.
23
votes
4answers
448 views
Smart parentheses?
Is there a way of smartly nesting parentheses and square brackets (in text mode), so that LaTeX detects nesting relations and typesets them accordingly? I'm thinking in something like csquotes does ...
8
votes
3answers
156 views
How can you tell whether a given macro is meant to be used in text mode or maths mode?
I recently read answer that discouraged the use of \ensuremath on the grounds that one should know whether each command is meant to be used in math mode or text mode. Given a command, how can you tell ...
16
votes
2answers
227 views
Teuthonista diacritics?
I am looking for certain diacritics from the phonetic transcription system of the Sprachatlas der deutschen Schweiz (Swiss German linguistic atlas). It is a system that is similar to the one sometimes ...
9
votes
1answer
139 views
How to imitate a character that looks similar to an inverted 2?
I am trying to imitate a character that looks similar to an inverted 2. It can be seen at the start of the second last words in the following image:
What I have come up with so far is using ...
0
votes
0answers
47 views
Why some macros like \circ must be used in math mode? [duplicate]
Possible Duplicate:
Why are so many symbols restricted to math mode?
I think \circ is a frequently used symbol. For example, it can be used as item bullets. But it's undefined outside $ ... ...
21
votes
3answers
844 views
Difference between various methods for producing text in math mode
What is the difference between \text, \textrm, \textnormal, and \mbox (and possibly other commands commonly used to produce text in math mode)?
Various (La)TeX tutorials teach different methods, and ...
22
votes
3answers
515 views
Why are so many symbols restricted to math mode?
A common beginner's mistake is to forget \(...\)/$...$ around symbols that require math mode.
Why doesn't (La)TeX let people use isolated symbols in text mode by default?
I am sure there are at ...
2
votes
1answer
153 views
Access minus symbol of postscript font in textmode
Do postscript fonts such as libertine (from the libertine-legacy package) or mathpazo have a minus sign that can be accessed when in text mode? What I am trying to do is substitute the normal dash ...
3
votes
1answer
270 views
Command for inverse circumflex in text mode
I would like to write this name that have an inverse circumflex above letter c:
I have found the command \check{c}, but it is in math mode. I want to find something equivalent but in text mode, to ...
7
votes
2answers
291 views
Is it possible to typeset text inside math without amsmath?
Is it possible to typeset text properly inside math without amsmath?
Typically I typeset short text using mathrm, or text (amsmath) within equation:
$M_\mathrm{effective mass}$
$M_\text{effective ...
21
votes
4answers
5k views
Pixel-perfect vertical alignment of image-rendered TeX snippets?
What is the most accurate way to automatically calculate the text baseline in an image that has been rendered from a TeX snippet—so that the rendered image can be given proper vertical alignment in a ...
2
votes
3answers
500 views
Is there a “cases” environment in text mode?
The title says it all: The "cases" environment works only in math mode. Is there an alternative in text mode?
14
votes
4answers
637 views
Writing a negative number in text mode: $-$9 or $-9$?
If we want to produce -9, typing -9 in an input file is not correct because - is intentionally designed for hyphenation so its glyph is bad to represent the minus sign.
To produce the minus sign, we ...
4
votes
2answers
391 views
sub- and superscripting together in text mode
I want to use sub- and superscript together in text mode.
I've found this macro to solve the problem
\def\textsubsuperscript#1#2{\rlap{\textsubscript{#1}}\textsuperscript{#2}}
But it doesn't works ...
7
votes
2answers
342 views
Is it worth defining \ensuretext ?
We already have \ensuremath to make sure the argument get enclosed in math mode. Is it worth defining \ensuretext ?
5
votes
4answers
4k views
Missing $ inserted
I am new to latex. I am trying to compile someone else's document. I have all the correct packages installed, but I get the following error:
*Overfull \hbox <37.8394pt too wide> in paragraph ...