Questions tagged [math-mode]
{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}.
10,092 questions
4
votes
0
answers
52
views
Is there a “big” command for square brackets as large as `\left[ … \right]`?
I have the following LaTeX code (using amsmath and amssymb):
\documentclass[12pt]{article}
\usepackage{amsmath,amssymb}
\begin{document}
\[ \sum_{n=1}^{+\infty} \frac{\left(1 + \sin
\frac{1}{...
6
votes
3
answers
264
views
Bracket covers sum limits using mathclap environment
I have the following code:
\documentclass{article}
\usepackage{mathtools}
\begin{document}
\[S_1 = \frac{1}{2} \left(\sum_{\mathclap{i = n + 1}}^{n + m} a_i t_i \right)\]
\end{document}
And it ...
4
votes
2
answers
220
views
Proper way to represent a cuboid in math mode
It is well known that in LaTeX $ABCD$ is different from $\mathit{ABCD}$ as the former represents the multiplication of four variables while the latter represents some single object such as a rectangle....
2
votes
2
answers
154
views
Set minimum height for math lines
Can I make a line in a multi-line math block have a minimum line height?
For example,
\begin{align*}
x &= 1 \\
y &= 2
\end{align*}
renders as
but I want the second line to have more ...
4
votes
1
answer
163
views
Pulling the subscripts up in New Computer Modern
I think that the maths subscripts are placed too low in the Latin Modern and the New Computer Modern fonts. Here's an example with the NewCM fonts, compiled with LuaLaTeX.
\documentclass[12pt, a4paper]...
0
votes
0
answers
52
views
Line spacing decreases after trying to decrease font size in math mode
I am currently facing a weird problem.
I am using the custom \eqmathbox from here and it works perfectly fine.
Now, I was trying to decrease the size within the math mode. I tried using \small in the \...
0
votes
0
answers
15
views
How do I place a wide tilde underneath a letter to represent a vector? [duplicate]
I have tried for so long by using things like \underset, \underaccents using the accents package, and the undertilde package doesn't seem to be functional in the latest version of Overleaf. I am ...
1
vote
2
answers
56
views
Substack with varying font size
I've been trying to replicate the following figure from https://en.wikipedia.org/wiki/Cauchy%E2%80%93Riemann_equations:
More specifically, I am interested in the varying font size in the limit. My ...
0
votes
2
answers
77
views
Function sequences: improving a diagram with the xy package
I would like to improve the following code by placing the text on multiple lines, as in the orange box, and avoiding overlaps between arrows and text, as in the red boxes.
The code is written with xy ...
7
votes
1
answer
292
views
`\mapsto` as a subscript
The code
\documentclass{article}
\begin{document}
$x_\mapsto$
\end{document}
results in the following:
Changing x_\mapsto to x_{\mapsto} does what one would probably hope, but I wonder: is this the ...
1
vote
1
answer
66
views
How to add conditions next to an equation
Based on this this question I made yesterday, it occurred to me that the following feature would be useful:
Sometimes, when writing an equation, I want to write some condition next to it ("such ...
2
votes
2
answers
205
views
How can I make my custom `choices` environment display options in multiple columns (e.g., 2 or 4) using an optional argument?
I have the following Arabic exam template. I defined a custom environment choices that I want to show multiple-choice options.
I would like to be able to write
\begin{choices}(2)
to get two columns, ...
0
votes
2
answers
102
views
Square root style [duplicate]
How is this type of root obtained in latex?
Any hints would be appreciated.
5
votes
2
answers
510
views
LaTeX for lowercase h with a rounded bottom
How do I type the "h" on the LHS above in LaTeX?
8
votes
4
answers
524
views
Use AntykwaTorunska with unicode math
I wanted to add the AntykwaTorunska font as a math version to my document which uses unicode math. However, it seems that the corresponding otf file does not define a math table, meaning that this won'...
10
votes
2
answers
251
views
Fix integral lower bound kerning in textstyle or smaller with unicode-math
When using unicode math, the lower bound of the integrals is very close to the integral symbol, see this example
\documentclass{article}
\usepackage{unicode-math}
\begin{document}
Lorem ipsum $\int_0^...
4
votes
2
answers
196
views
Changing size of math environments
The document has quite a lot of commutative diagrams, and they are to be the focus. The contents of the nodes, although important should not be the focus of what we would be looking at. The goal is to ...
2
votes
3
answers
93
views
Bold hash symbol in math environment
I need to printout some bold math expressions, and in some of these the hash symbol appears. I noticed that this symbol is not rendered in bold consistently. What is the best option to achieve the ...
3
votes
1
answer
115
views
How can I insert math expressions which aren't simple strings into my lua-tikz setup?
I am building a package, part of which should be able to simply append mathematics to a picture. Unfortunately, it currently only works for simple strings.
How could I insert the following math ...
-1
votes
1
answer
126
views
Type gradient math text
how can I generate a math-text using gradient coloring, like this?
2
votes
1
answer
107
views
Adapting fontsetup for math sans Greek
I am using fontsetup with LuaLaTeX. According to its documentation a mathematical Sans-serif caputal lambda, is made with \msansLambda. I have a lot of macros that that use \mathsf{...} - so I would ...
12
votes
1
answer
330
views
Why does `\*` not show the multiplication sign "×" when using unicode-math with a math font?
I noticed that when I load the unicode-math package and select a math font (I tested several, and the issue occurs with all of them), the command \* no longer produces the expected multiplication sign ...
0
votes
2
answers
114
views
Symbol for "set interior"?
For interior of a space X I personally use \mathring{X}, which works fine for single characters but looks awkward for multi-character statements. When writing on paper I typically will use notation ...
1
vote
2
answers
152
views
math mode troubles with bm and raisebox [closed]
This isn't a super urgent question but I'm still wondering whether there's a fix. I'm introducing the cosh function in a book I'm writing and typed it as follows:
$$\bm{\cosh(x) = \frac{e^x + e^{-x}}{...
0
votes
1
answer
92
views
mathastext in color? [closed]
I apologize for so many latex questions in such a short time.
I use the mathastext package, because digits don't seem natural to me when mixed in math. Alas, I would love to have my math still look ...