{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}.
16
votes
3answers
342 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
228 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
134 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
56 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
99 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
203 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
71 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
340 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
60 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
44 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
47 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
84 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
125 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
107 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
55 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
572 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
94 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
195 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
86 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
71 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
90 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
119 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
52 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
125 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
217 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
81 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
97 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
990 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
111 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
43 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 ...
3
votes
1answer
63 views
Overset placement is uneven
I'm using this code to show that one element of the equation is greater than zero and the second element is less than zero.
\begin{align}
\overset{+}{\pi_{i}} + \overset{-}{w_{g}(S)} > 0
...
1
vote
0answers
26 views
TeXShop auto-deletion of certain groups of pasted in characters
For my LaTeX equations I use Mathtype's excellent capability of copying equations as TeX code. My minor problem arises when I want numbered equations in LaTeX and also want to type the equation in ...
7
votes
1answer
193 views
“Display math should end with $$” error
I'm trying to write math in a code listing, like so :
\documentclass{article}
\usepackage{listings}
\begin{document}
\begin[mathescape]{lstlisting}
$\infty$
\end{lstlisting}
\end{document}
I get ...
12
votes
3answers
274 views
Repeated division - Converting from base 10 to another base
I am teaching how to convert from one base to another base, however, I can't find a way to do something like this:
I know little about Tikz, the only thing I have been able to produce is a simple ...
12
votes
2answers
217 views
How to have a number directly under a decimal point?
I am trying to write a number in quaternary form and would ideally like to show this by having a four underneath the decimal point. I've searched around, but can't figure out how to do this so any ...
3
votes
2answers
146 views
Typesetting a Fourier-transform expression (in a figure caption)
I tried to add the fourier function in the figure caption but i failed, any help?
\begin{figure}[h]
\centering
\subfloat{\includegraphics[width=\linewidth]{Data/DFT.png}}\label{pic9}
\caption{DFT of ...
6
votes
1answer
157 views
Double-bar notation for second-order tensors
I want to use the double-bar notation for second-order tensors, which is common in continuum mechanics (e.g. for the strain and stress tensors).
I've searched the Comprehensive LATEX Symbol List but ...
2
votes
0answers
66 views
Numbers under each other [duplicate]
How do you put numbers under each other in LaTeX?
For example: In physics, when describing decay, a carbon atom with a mass number of 14 and an atomic number 6 is denoted in the following way:
...
1
vote
2answers
119 views
How to write norm which adjusts its size? [duplicate]
I need to write norm of sum, but the sum symbol is larger than tho norm symbol (||) and it doesn't look good. Is there any symbol for norm which will adjust its size?
...
4
votes
1answer
54 views
How can I use right curly braces in MathTımeProfessional II?
I want to wrap 2 or more cases in right curly brace using the MathTıme Professional II font. When I use 2 lines it seems to work, but with 3 or more it doesn't show correctly.
I've used this code :
...
3
votes
3answers
84 views
Is there a command to write the form of a combination or permutation?
I'm trying to write
^nP_k=\frac{n!}{(n-k)!}
\binom nk=^nC_k=\frac{n!}{k!(n-k)!}
but when compiled the n is a little far away from the P and C for my liking. Is there a command to write this? I ...
2
votes
1answer
77 views
Formula expansion symbol / /
I need to expand formula in LaTeX using / / symbols, like this:
Current version:
Needed version:
How can I do this?






