{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}.

learn more… | top users | synonyms (2)

4
votes
0answers
62 views

Distinguish between upper index and power [closed]

I am currently writing the scriptum of our theoretical physics lecture. I always have trouble with the notation. Our professor uses lower indices like m_i for the i-th mass, upper indices like ...
13
votes
1answer
290 views

Why vdots and ddots are square dots, while cdots are round dots (in Beamer)?

I was writing some mathematical equations in Beamer and I noticed something strange. The outcome of the following code, using the standalone class, seems perfect. \documentclass{standalone} ...
1
vote
1answer
97 views

TeXworks compilation error when using ^ as a plain text

In my TeXworks (MikTeX 2.9) editor, the following file compiles correctly. But when I change sin-1(x) to sin^-1(x) the following error occurs. I thought TeXworks would treat sin^-1(x) just as a plain ...
5
votes
2answers
143 views

Different ways of inserting an expression into a text

I stumbled upon those two ways of writing a mathematical expression inside a text: I could easily do the first one by writing the expression inside $s, but what about the second one? If I use ...
2
votes
0answers
28 views

texh4ht how NOT to print math as images when math is displayed

Edit: I use an extension of tex4ht, https://github.com/michal-h21/helpers4ht ================================ I define a trivlist2 in order to control the space around \[ and \]. I want tex4ht to ...
3
votes
1answer
60 views

One overall subscript with double integral?

I want to assign only one overall subscript that cover the both integral symbols in double integration, I tried: \begin{equation} T_y=\iint_A \tau_{xy}\,dA=0 \end{equation} but it only goes with ...
6
votes
2answers
240 views

What is the character used in letters in math mode?

There are a lot of questions about the fonts used by default in latex. However I didn't manage to find exactly the font I'm looking for. Specifically, I'm looking for the font used by latex when ...
1
vote
0answers
56 views

What command can I use to break the formula to have the alignment acceptable? [duplicate]

Below, in the image, there is a math formula which has a pink underline (namely Ann_{f(A)+J}(J)=0). As you see the alignment isn't acceptable (highlighted). Question. What command can I use to break ...
8
votes
1answer
66 views

How to raise the output of \genfrac?

I want to write rational numbers in mixed-numeral notation. To do so, I currently use \tfrac (AmSLaTeX): \frac{5}{4} = 1\tfrac{1}{4} But the fractional part is still too big for my taste. Therefore ...
5
votes
2answers
140 views

Math environment $..$ in tabular works in some cases

I'm new in this, sorry for using noob phrasings (and possibly including too much/little info). I would think I'm covered from usepackages, but can't get all my math environments in tables to work - ...
0
votes
0answers
26 views

No multilingual support cannot enable multilingual quotes on input line? [duplicate]

i get an error in \begin{equation}, i write long equation and split it using \\. it shows an error Package pgfplots Warning: running in backwards compatibility mode (unsuitable tick labels; ...
1
vote
1answer
93 views

How do I do a contour integral in complex analysis [duplicate]

I want to do the integral sign over the sign gamma (integrating around a path gamma)
3
votes
2answers
61 views

$v$, $w$ variant with stix package

Is there an easy way to get variants of $v$ and $w$ in using the stix package? I would like more "pointed" versions similar to the classic Times italic font.
1
vote
0answers
43 views

Right-aligning specific text in math-mode

I got a long code to place a text on the extreme left (by defining a new command \beforetext) in all math modes, could someone please provide similar code to place a text on the extreme right? Also I ...
2
votes
1answer
45 views

Monospace font in cases environment

I have this code: \[ text \begin{cases} text, text \rightarrow text\\ text \rightarrow text, text, text, text text \end{cases} \] ... \[ text \begin{cases} text text \rightarrow text, text text, ...
16
votes
1answer
176 views

Generate wordcloud of LaTeX document symbols

Is there an automated way to generate either a wordcloud or at the very least a list of all symbols used in all math environments in a LaTeX document? I'd like to generate a symbol-only wordcloud, ...
11
votes
3answers
566 views

Subscript like math but without the minus sign

There are several questions regarding subscripts on Stack Exchange, but I did not find an answer to my specific problem. I want to write something about P_1 ... P_n and then about R_en-1 ... R_en-q. ...
3
votes
4answers
179 views

“Such that” typesetting for multi-variable equation having two variables after the pipe

What if I have a multi-variable equation and I want to put two 'given that' conditions? For example, say an equation contains two variables 'x' and 'y' and I want to state its values after the pipe, ...
3
votes
2answers
133 views

How to define variables with white space

I'm writing a LaTex document in which I must refer to some variables in some points of the document. In order to ensure that each variable is written in the same way, I defined a LaTex variable for ...
6
votes
1answer
61 views

Having regular text within a lemma

I want the following lemma: Given k\"ahler metric $g_{\al \overline{\be}}$ with associated Ricci curvature $ \text{Ric} =R_{\al \overline{\be}}$ the Ricci form defined by \begin{equation*} \p ...
1
vote
2answers
71 views

Number the equations [closed]

I am a new user of latex, and I have the follow question. How can enumerate the equations that I write in a document ad during the text write the number to a specific equation Currently I can write ...
2
votes
1answer
44 views

How to change the arrows tips for the whole document?

After I asked this question: What is "\SelectTips{a}{b}" (and how to increase the head of an arrow's head?) I'd like to know one more thing: I want to change it (the arrow tips) for the ...
2
votes
1answer
43 views

\stackrel{-}{x} of different letters makes overline at different quote

I'm writing my PhD Thesis. I have a stylistic problem with an equation. These are the code and the output (the red lines are mine). Per ovviare a questi due inconvenienti si è ritenuto opportuno ...
5
votes
1answer
71 views

How can I use \foreach in math environments?

I'm looking for a way to generate in a loop the rows of an align environment, or IEEEeqnarray or some such thing. I can see that \foreach works in math mode (inside \[ \] e.g.), but something like ...
3
votes
1answer
42 views

What is “\SelectTips{a}{b}” (and how to increase the head of an arrow's head?)

At is \SelectTips{a}{b} and is the meaning of {a} and {b}? I know that the first one changing the type of the arrow, but what is the second one? The value there can be only 10,11,12.... And if I can ...
4
votes
1answer
313 views

How can I add more than 4 dots to a derivative?

I have 2 questions : What is the maximum limit of dots that I can display above a variable to indicate its derivative ? (I read it somewhere that 4 is the limit. Still not sure) How do I print more ...
2
votes
2answers
78 views

Enable \ifmeasuring@ flag

Apparently the \DHLhksqrt macro in the MWE below measures its content 20 times: Questions: Where exactly can I put the \measuring@true and \measuring@false so that I get the count of 1? If you ...
2
votes
1answer
40 views

Subscripts and superscripts on accented math characters [duplicate]

\documentclass{article} \begin{document} ${x_i}^j$ works as expected but not with an hat as in ${\hat{x}_i}^j$. The way I found to make it work is $\mbox{$\hat{x}_i$}^j$. Is there an nicer ...
6
votes
1answer
73 views

How can I number the different equations in one line?

I want to write the different but similar equations in one line, just like the picture shows, I know maybe the \tag command can work, but I have no idea on how to make the numbering automatic.
3
votes
2answers
39 views

equation align inserts whitespace

I'd like to make equations that align like this: x = y x z = a x b Here's an MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} x &= &y \times ...
0
votes
0answers
26 views

LaTex says it should be math mode, but I don't know why [duplicate]

I'm writing a thesis text and got several error messages telling me always I have to insert $, which if I understood correct starts and end the math modus. However, I want to stay in the text modus. ...
2
votes
1answer
51 views

Missing $ inserted with \left and \right

Hello everybody I am a new Latex user and I try to write a my first presentation starting from a templete. When I try to make a slide with this code \subsection{Main Result} \frame { ...
4
votes
1answer
85 views

How can I improve my partial derivative in latex?

I am writint notes with a lot of partial derivatives. When the function to be differentiated is long the variable am differentiating with respect to (say t), \begin{equation*} \pd[2]{}{t} ...
5
votes
1answer
71 views

How to get the straight vertical line next to derivatives?

I am trying to get this to display: My current attempt is : \begin{equation} \begin{align} \frac{\dd{x_c^{*}(t,u)}}{\dd{u}}=\gamma + \alpha \lambda \{[r(t)-x(t,0)]\\ + ...
3
votes
2answers
153 views

How to display an integral equation in LaTeX?

I want to display something like: My current attempt is : \begin{equation} Z=min E \int_{0}^{\infty} exp(-\rho t)\{ \alpha^2[r(t)-x(t)]^2+[\lambda ^ {-1}\frac{\dd{x(t)}}{\dd{t}}]^2 \} \dd{t} ...
2
votes
1answer
44 views

Spacing before parenthesis in math mode

Suppose, I have something like \overline{q}_{l m_1}'(i) \overline{q}_{l m_2}'(i) \overline{q}_{l m_3}'(i) Now, this renders to which looks rather unpleasant. How can I reduce the spaces in front ...
6
votes
1answer
32 views

How to put the asterisk on the end of max function rather than right above it

I am writing my report using TeXnicCenter, and it has been going very well. However, I want to write max* in the equation mode, but all i code get is the asterisk right about the a in max if I ...
4
votes
2answers
42 views

Break line in $ $ mode [duplicate]

I have a long list of vectors written between the signs $ $, the problem is that the list is so long it does not fit the page. I want to make the list break at some point and continue in the following ...
8
votes
2answers
52 views

Set the font size for a special math symbol by `\mathscr`

I need to manually set the font size of a special math symbol by \mathscr for which the \fontsize{<size>}{<size>}\selectfont does not work. Here my sample is: \documentclass{article} ...
39
votes
8answers
1k views

Is there a way to automatically transpose a matrix written in Latex?

As writing matrices in LaTeX is an extremely time-consuming activity, I was wondering if a software or a site exists that automatically gave the transposed form of a matrix, that is to say, given a ...
6
votes
1answer
45 views

Hiding an equation tag but still using it for referencing

I use the semantic package for displaying natural deduction-style inference rules in equations. The \inference command has an optional argument which can be used to tag rules: \inference[Rule1]{A}{B} ...
8
votes
1answer
44 views

How to define ReDeclareLargeMathOperator

I want alter an existing math operator by applying a macro to it. In the MWE the \ReDeclareLargeMathOperator applies the \ProcessSymbol macro which in this example changes the color of the symbol as ...
3
votes
1answer
58 views

Why \ell produce a character like grave in PDF?

\`{}$\ell$ \bye produces a PDF, then I search ` in it, finding two, why?
4
votes
3answers
283 views

How to get big curly braces for an equation with 3 parts?

I am very new to LaTeX. I want to display this: How should I go about doing this?
1
vote
1answer
41 views

Avoid splitting of math expressions in text [duplicate]

I am writing a math expression, $P = \omega \tau$, in the middle of my text, and LaTeX splits it such that "P =" is on one line and "\omega \tau" is on the next line. I would like the whole expression ...
2
votes
2answers
217 views

Error when trying to change imaginary unit's style

I want to have a special symbol for the imaginary unit i, but I also need the usual character for the letter i in the same context. So, I tried to change the style of the imaginary unit by setting ...
1
vote
1answer
23 views

Setting a question font / style that will apply to text and inline math environment?

I have defined two commands for the font/style of questions and key concepts in my notes as follows: \newcommand{\key}[1]{{\bfseries\sffamily#1}} \newcommand{\qtxt}[1]{\textbf{#1}} Where the ...
2
votes
1answer
76 views

Correct way to write words with - in formula

I am wondering if there is a generally preferred way to write words with - in formula. For example: $k-distance$ or $k \textit{-} distance$ of maybe something better?
1
vote
1answer
46 views

Spacing around variables in math-mode

I'm using mtpro2 for math. In the original math-alphabet (the font mtpro2 uses), the letters seem to have greater spacing around them than what I would like. For example: $ GM = tc^3 $ produces ...
1
vote
0answers
50 views

Big double integral sign

I'm trying to make a double integral, but, somewhy, the sign appears small compared to regular integral signs, does anybody knows why? And how do I solve this? I am using the 'equation' environment