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}.
232 questions from the last 365 days
1
vote
0
answers
104
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 ...
3
votes
0
answers
41
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{...
0
votes
0
answers
80
views
Opinions on \renewcommand\[{\begin{equation}} [closed]
Let's assume we are writing a report in a field where commonly all equations are numbered.
So far I always used \begin{equation}...\end{equation} which, of course, works fine. I now noted that LyX (...
4
votes
1
answer
102
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 ...
2
votes
0
answers
61
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
104
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
66
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
108
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 ...
7
votes
2
answers
207
views
\mathunderbar automatically gobbles the subscript following it
Consider the following example:
\documentclass{article}
\usepackage{unicode-math}
\begin{document}
\( \mathunderbar{s}_f \)
\( \mathunderbar{s}{}_f \)
\end{document}
It seems \mathunderbar ...
2
votes
0
answers
100
views
LuaTeX: modifying the position of underbar without touching the position of overbar
With some Lua code (adopted from this answer), I am trying to adjust the horizontal position of "bar" under a symbol (such as the one produced by \underline or \mathunderbar). However, ...
1
vote
1
answer
56
views
Tagging augmented matrices and row reduction
I want to tag this row reduction in the style that @DavidCarlisle showed me today in chat.
https://chat.stackexchange.com/transcript/message/68753083#68753083
I also want the arrow with operations to ...
-1
votes
0
answers
60
views
Setting a different font for theorems [duplicate]
I would prefer for all of the theorems in a document of mine to be written in slanted style rather than italic. The math symbols themselves should still appear in italic, only the written text should ...
5
votes
2
answers
113
views
Numbering equations in dcases without \usepackage{empheq}
At the moment, I don't remember how to number the equations inside dcases , with the amsart class, without empheq, in order to assign a label to each one.
\documentclass{amsart}
\usepackage{mathtools}...
3
votes
1
answer
65
views
LuaLatex unicode-math, how to make subscripts upright as default with unicode-math
I have created a class for typesetting articles submitted to a scientific journal.
Authirs will compile their papers through pdflatex. However, in production, the typesetting is done with LuaLatex due ...
2
votes
3
answers
154
views
\raisebox does not seem to work in this math mode command
Consider the following example, in which I wish to define a command that draws a bold dot over a symbol (ideally, the first optional argument adjusts horizontal position, and the second adjusts ...