{math-mode} is about typesetting mathematical content, e.g. tweaking the appearance of spacing and symbols in a formula, or producing specific mathematical constructs. For questions about "wrapper" environments like equation or align, consider the tag {equations}.
2
votes
2answers
129 views
Can I use both of setbuilder notations in one article? [closed]
There are two setbuilder notations, the vertical bar and the colon.
In some cases, it is better to make a choice.
For example, compare
\{f \mid f\colon M \rightarrow N \text{ is continuous}\}
and
...
11
votes
2answers
131 views
Differences in vertical positioning of superscripts and subscripts depending on grouping (`{ }`): Why? Caveats? Workarounds?
This question about {(x+y)}^2 vs (x+y)^2 drew my attention to the slightly different vertical positioning of super- and subscripts for such expressions. Compare (x+y)^8_8 (left) and {(x+y)}^8_8 ...
2
votes
2answers
119 views
Breaking a long math expression
I am trying to type long expression by using parenthesis inserting some sentences, as an example I have a expression like product of
\documentclass{12 pt}{article}
\begin{document}
\begin{multline}
...
8
votes
3answers
194 views
LaTeX font for 'old-fashioned' script characters
Browsing through a copy of Counterexamples in Analysis (Gelbaum & Olmsted), I'm quite enjoying the typeface used for 'script' letters (see links to examples below); visually it's somewhere ...
4
votes
1answer
114 views
Bad math font quality in PDF
I have a problem with bad font quality that only affects "math" environments.
I am writing a document with lyx 2.0.2 (OS: Ubuntu). The chosen class is "report". Since the normally used fonts were ...
7
votes
2answers
67 views
Determining the math class of a non-keyboard symbol
What is the "right" way of determining the math class (e.g. ordinary/0, relation/3, closing/5, etc.) of a non-keyboard symbol?
Something like \oplus is easy enough to guess, but I wasn't immediately ...
4
votes
1answer
84 views
Read single numbers from data file (LuaLaTeX)
Is it possible to read a number from data files?
How to read a file with luatex
I found the example above but I don't need the whole line at once.
I need somthing like:
read(file)
get(A)
get(B)
...
7
votes
2answers
107 views
Make §…§ marker for textmode INSIDE math mode
I want to definde §...§ as markers for textmode inside math mode. This would be useful for example inside "cases" environments, to add text defining the cases; or for defining sets.
Instead of having ...
4
votes
1answer
95 views
Must I include \begin{math} every time I want to enter a symbol?
I am using the following syntax in my document's preamble :
\usepackage{amssymb}
Question is, must I use \begin{math} \*symbol* \end{math] every time I type in a symbol ? Or am I missing an easier ...
7
votes
1answer
125 views
How to make the math font slightly thicker?
I'd like to use TeX Gyre Schola as my text font and the default LaTeX font for the math mode. (Side question: is the default font Latin Modern in math mode or another font?)
MWE:
...
3
votes
1answer
58 views
where do I report bugs in font packages
There are two font packages I like for great readability (letters are clearly distinguishable, and math fonts stands out from text since it is heavier a bit). Unfortunately, they are buggy.
The ...
7
votes
1answer
56 views
Modified \overline over first character of complex argument
I've been using zref to handle my references. It has allowed me to customize a reference the way I want through its property lists. In particular, I reference a variety of structures in my document ...
16
votes
3answers
345 views
How can I create a new extensible symbol?
Given an arbitrary thin vertical symbol, can I create a new math delimiter from it (and if so, how)?
Edit: Ideally, I would like to be able to create an extensible symbol, either built out an ...
5
votes
1answer
231 views
Do you recognize this math font?
I have been looking in different sources such as the Survey of free math fonts but I am not able to recognize which math font is used for typesetting the following formulas appearing in a beamer ...
2
votes
1answer
47 views
Math mode in knitr
How do one use a math-mode in knitr? For example as a label for X-Y axis:
<<fe, echo=FALSE, sanitize=TRUE, dev="tikz">>=
plot(1:10, main="${}^{57}Fe$", xlab="$\\\\lambda$", ...
11
votes
1answer
141 views
Thermodynamic partial derivatives
Does anyone have any ideas how to make this:
look like this:
The only difference is the differentials are "pushed over" making it appear more compact and readable. I achieved the first picture ...
5
votes
2answers
58 views
Double subscript error with \newcommand?
Disclaimer: I know of Defining a newcommand with sub- or superscript and avoiding "double subscript" error but this only gives a work-around, but no explanation to my question.
Here's a ...
5
votes
2answers
102 views
Typesetting Quine quotes
The obvious way of typesetting Quine quotes, also known as quasi-quotation marks, in LaTeX doesn't work well when the content of the quote is tall. For example:
\documentclass[12pt]{article}
...
4
votes
2answers
214 views
How to switch to upright greek in math mode?
tI use libertine and newtxmath font packages, they provide upright greek letters. However, there is no way to automatically swith between italic and upright greek letters. I need a command, simillar ...
6
votes
1answer
74 views
Help with the command \binom
I want to write an expression of the form $\binom{a}{b}$.
I tried with the command \binom, but the result is too big, and then I tried \tbinom but it was too small, I want to know if there is another ...
25
votes
1answer
352 views
\{ & \} vs \lbrace & \rbrace
Surprisingly I haven't found a question, so if this is duplicate, I will remove the question.
So, what is the difference in using \{ and \} to using \lbrace and \rbrace?
Which one is preferred, and ...
2
votes
0answers
61 views
radical of polynomial A rad A [closed]
Do we have something like \rad for the radical of a polynomial in LaTeX? I am writing in the equation mode within the theorem environment and everything is in italics. If I use \text{rad}, then I get ...
2
votes
1answer
48 views
Using \limits in a customized \overset for superscript together with \sideset for subscript
I am trying to create a notation for a certain space. I am using a customized \overset in mrf's answer in this thread to suppress the extra vertical space. I still want the subscript on the right ...
3
votes
1answer
50 views
How to adjust the following split equation to be left aligned
I want to have the split equation on LHS to be left aligned. My 2 attempts are shown below, i.e., option A and option B. Please see the source code for the details.
\documentclass[10pt]{article}
...
0
votes
0answers
88 views
why wont this \therefore command work? [closed]
I want to type this but I am getting an error message
\begin{align} % (15) &a_n = \int_{0}^{1} (X - 1) \sin (n \pi X) \mathrm{dx} = \frac{-1}{n \pi} \\\\ \nonumber
\therefore ~~~~ &V(X,T) ...
7
votes
3answers
127 views
Can \left( … \right) be instructed to ignore nonexistent upper or lower limits of summation? [duplicate]
In a formula such as
\[ \left( \sum_{n\in\mathbf{N}} \right) \]
the left and right delimiters extend not only downwards to cover the lower limit of the sum, but upwards an equal amount as if to ...
-1
votes
1answer
49 views
How to specify the step in sum? [closed]
The traditional sum's step is 1, but what if I want to specify the step to be some integer else?
4
votes
1answer
74 views
Tex for Mathematical Operator which Looks Like a Y [duplicate]
Does anybody know what the correct latex is for the character which looks like a Y in this equation?
I've sometimes seen it used for the Euler homogeneity operator too.
I can't seem to produce ...
5
votes
2answers
108 views
LyX & LaTeX formulas
When I open a new project in LyX, i cannot pass LaTeX functions inside my text. e.g. \sqrt A or \frac{A}b etc. As i know and i have seen in many video presentations when the user insert a LaTeX ...
3
votes
1answer
78 views
Inline equation doesn't fit in page
I have an inline equation that I don't want to split in lines.
If I use
foo bar foo bar foo bar foo bar foo bar foo bar foo bar ${ B = A \cap \{ T \leq n \} }$
It doesn't fit in the page's width ...
3
votes
1answer
56 views
Limits not showing properly when placed in a fraction
I am trying to apply a limit law in which the limit is distributed to both the numerator and the denominator. However, the \lim_{x\to \infty} does not render properly when I place it in a fraction ...
7
votes
1answer
125 views
How to automatically add \! in subscripts?
This code
\documentclass{article}
\usepackage{fouriernc}
\begin{document}
$a_1$
$a_{\!1}$
\end{document}
produces this output:
I like the spacing on the lower one much more.
Is there a way to ...
14
votes
4answers
575 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
2answers
95 views
Fonts and calibration in math mode
Anyone have any ideas on how to obtain the small + in the subscripts, shorter \overline on the \mathbb{N} and the fat \verts on the semi norm on the bottom as seen in the following notation?
8
votes
3answers
202 views
How to use \checkmark and Cambria Math?
In a document I need to use Cambria Math but at the same time be able to use \checkmark for an itemize environment. But as soon as I load unicode-math the checkmark disappears. Is there a work around ...
10
votes
1answer
87 views
Comment an equation without creating extra space
I try to make a comment on the right (or left) of one line of proof. But the align* environment automatically move the whole equations to the left to leave space for the comment. But I still want the ...
4
votes
1answer
77 views
Making large substack more readable?
I have the following code:
\[\mathcal{I}(A,B) = \inf_{\substack{h : M\times I\rightarrow M\\
h(\cdot,t) \;homeomorphism\\
h(x,0) = ...
4
votes
1answer
95 views
Why different bra ket notations?
Why are bra and ket defined in the official package braket.sty in two different ways (\bra, \Bra and \ket, \Ket). I do not understand why there exists the command \bra with non-scalable delimiters. ...
1
vote
0answers
126 views
Anki - LaTeX, Math Font Size, & DeclareMathSizes
I use the Anki flashcard program and render math equations using LaTeX within the program.
The problem is that the font sizes are generally too big, unless the equation is really long, in which case ...
2
votes
1answer
53 views
How to automatically scale `\mid` within delimiters
\mid within \left and \right delimiters is expected to be automatically scaled, but today I noticed such behavior:
L = \sup \left\{ \sum_{x \in F} a(x) \mid F \subset X,\, |F| < \infty \right\},
...
1
vote
1answer
128 views
LaTeX error: missing $
I have some math equations within my LaTeX file and I usually denote these with $ to enter math mode. For longer equations, I will use \begin{math} ... but for some reason this is giving me an error ...
10
votes
1answer
219 views
Not equal sign (≠) with a vertical bar
Is it possible to get a \neq but with a vertical bar instead of a slanted one? There are inequality operators like AMS's \gvertneqq that feature this kind of "not equal" but not without mixing it with ...
3
votes
1answer
83 views
Diagonal text in diagonal matrix
I have a tridiagonal matrix whose diagonals d_{-1}, d_0, d_1 (thought as vectors) can be written as vector expressions.
Is there a way to nicely represent this, e.g. via a matrix which is blank ...
2
votes
1answer
98 views
How to force math symbols up and down inline text
I've a simple question I can't figure out.
There should be an option that can force the symbols up and down of a formula put inside text.
e.g. If I write
blablabla $\bigcup_{stuff}$ blablabla
the ...
3
votes
0answers
60 views
How to use only mathematical input in the first column with pgfplotstable
I can use a mix of text and mathematical input in the first column of a table generated with pgfplots with no problem, and also mathematical input in, e.g. the last column, as this mwe shows:
...
21
votes
10answers
992 views
Best typesetting of formula
Consider the following example.
Code
\documentclass{article}
\usepackage{amsmath}
\newcommand*\mathsetfont{\mathbf}
\newcommand*\DeclareMathSet[1]{%
\expandafter\newcommand\csname ...
2
votes
2answers
57 views
Vertically centered underscore
What is the mathematical symbol equivalent to a vertically centered underscore ?
I need a symbol a little larger than a simple minus.
6
votes
1answer
54 views
How do I add space to my math fraction
I am using math to create fractions. But with indices it kinda looks crammed. Example:
Code:
$\eta = \frac{U_{OC}I_{SC}FF}{P_L}$
Can I somehow add vertical space around the fraction bar?
2
votes
2answers
113 views
How to make circumflexes wider but still of a fixed size in XeTeX?
Circumflexes looks too small and they are to close to the symbol in the PDF generated by XeLaTeX from UTF-8 source with Asana Math font for mathematics:
Source:
\documentclass[12pt]{article}
...
2
votes
1answer
44 views
How can I fix the size of parentheses around stacked function symbols?
I apologize if this is a duplicate, I looked at a number of other questions regarding parentheses size but didn't find an answer to my problem.
I'm trying to stack two function symbols within ...




