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,156 questions
4
votes
1
answer
65
views
Is there a lowercase Greek letter font with a fixed width in math format?
I've noticed that monospaced fonts have uppercase Greek letters but no lowercase Greek letters. Is there a mathematical format to resolve this issue with monospaced fonts?
\documentclass{article}
\...
0
votes
0
answers
50
views
Mix and match lowercase letters from different mathematical fonts
I'm currently using the unicode-math package and I want to mix lowercase characters from different mathematical fonts. For example, lowercase Latin letters $x$ from XITSMath-Regular.otf and $u,v,w$ ...
2
votes
2
answers
226
views
Use the main font in math mode (Roboto serif)
I'm writing a document using the font roboto-serif, and I struggle setting the same font to the math mode.
Here is an MWE :
\documentclass{article}
\usepackage{amsmath, amssymb}
\usepackage{roboto-...
2
votes
1
answer
49
views
Trying to align gap between two equations on a middle line with the equals signs of singular equations on first and third lines
Bear with me, I've only been learning LaTeX a week now. I've included pictures to give a better idea of what I'm talking about. As the title says, I'm trying to write a set of equations such that the ...
3
votes
1
answer
202
views
How to label an equation when using $$ ... $$
I am carrying out some work that insists on using $$ ... $$ instead of \[ ... \] for maths (not my choice, I am forced into using it).
Trouble is I also need to add a tag to an equation. Normally I ...
4
votes
2
answers
135
views
An equation in the middle between several equations in cases or dcases
Starting from
\documentclass[a4paper,12pt]{article}
\usepackage{mathtools}
\begin{document}
\[
\begin{cases}
x=x(t) & t\in[a,b]\\
y=y(t)
\end{cases} \begin{cases}
x=x & x\in[0,\pi/3]\\
y=y(x)...
9
votes
2
answers
175
views
\not\supseteq with kpfonts
With kpfonts, \not\supseteq becomes \supsetneq, which is not desirable:
Expected result should look like:
This appears to be a bug, because \not\subseteq looks fine. However, before the package gets ...
3
votes
1
answer
49
views
aligned inside inline math in a tasks cell: is this correct?
I am building a reusable worksheet framework using the tasks package to lay out multi-step math problems in two columns. Each cell contains a multi-line step-by-step simplification, with the final ...
1
vote
0
answers
114
views
What's the best way to compile or view a really long latex expression?
I have a latex expression that is 635k characters long. What is the most feasible way of viewing it in its entirety? I want to be able to scroll through the entire expression longitudinally. Online ...
6
votes
1
answer
98
views
Modifying existing math kerns (aka cut-ins or staircase kerning) to OpenType math fonts
It seems that the code from this answer works when introducing new math kerns (aka cut-ins or staircase kerning), but does not seem to modify existing ones.
\documentclass{article}
\usepackage{...
4
votes
1
answer
116
views
Top right math kern value not being used with \directlua code (bug?)
I want to add a topright math kern (aka cut-in or staircase kerning) to DOUBLE-STRUCK CAPITAL R (Hex value: 0x211D, Code point: U+211D). I tried the method as shown in this answer of mickep, but it ...
3
votes
0
answers
113
views
Using OpenType MATH typesetting features with glyphs from a traditional math font
Can I set manually and use features of OpenType MATH fonts while using glyphs from traditional fonts?
For example, as shown below, suppose I want to use the traditional Knuth calligraphic letters with ...
1
vote
0
answers
108
views
Uniform sequences of mathematical dots
When I need to write a sequence of dots without using TikZ, I often define a simple macro based on \bullet or another symbol that produces two or three dots (which they can be increase and decrease in ...
2
votes
2
answers
71
views
I am trying to \protected@edef a bmatrix, and then I token.get_macro that token from Lua, so I can print it to the .tex at a later time
I am trying to \protected@edef a bmatrix, and then I token.get_macro that token from Lua, so I can print it to the .tex at a later time.
The error:
WARNING: mathml missing for hash ...
3
votes
1
answer
117
views
Baseline, sub- and superscripts and vertical centering in math-mode
See my edits below
Subscripts are meant to be typeset below the baseline. However in math-mode LaTeX simply ignores this by default and supposes that a symbol like X_i should be centered vertically as ...