{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)

1
vote
1answer
27 views

fleqn option makes math internal mode (inner) not detected

The following MWE points out that, without fleqn class option, math internal mode is detected ("i" and "o") but, as soon as fleqn class option is enabled, this mode is not detected anymore ("i" and "i"...
1
vote
2answers
79 views

Making the product operator (pi caps) with the extremes above and below the symbol

How can I make the symbol of product operator (pi caps) making the extremes remain the same above and below the symbol? (I do not want the extremes on the right side of the symbol) I wanna write this ...
2
votes
1answer
80 views

how to redefine single letter in math mode

I'd like to use in math mode instead the only letter g the \mbox{g} (with another tail). How possible to redefine it globally? I found example to redefine letter z: \catcode`\z=\active \def z{Yawn, I'...
4
votes
2answers
121 views

tikz pgf: Missing \endcsname inserted

I am getting the following error when trying to use mathematic symbols as part of a message caption: Missing \endcsname inserted Here is a working minimal example: \documentclass{article} \...
1
vote
1answer
31 views

vertical adjustment in mathmode

I created the symbol ${}_{\ulcorner\!\urcorner}$ by typing ulcorner followed by urcorner with the appropriate spacing, and forcing it down by placing it into a subscript. However, this made the symbol ...
3
votes
2answers
92 views

Bad Bottom Spacing For Equation After Section

As shown below the bottom spacing after the first equation is smaller than it should be to look right. I know I could manually add space, but is there a way to fix this automatically? I do know I ...
-1
votes
2answers
81 views

how do i create a linebreak in an inline math formula?

I tried to make a equation in Latex but the parentheses disappear near the edge of the page. How I put the equation in two lines? $\left(\omega=\frac{d\theta}{dt}=\int_{0}^{\dot{\theta}} d(\dot{\...
1
vote
2answers
219 views

How I make brackets in LaTeX?

How I make this brackets and the formula below in LaTeX?
0
votes
2answers
86 views

Error ! You can't use `\eqno' in math mode [duplicate]

\begin{equation} \label{Latent heat storage} E = m[{\int_{t_(i)}^{t_(m)} (c_{ps}dt }+\lambda + {\int_{t_(i)}^{t_(m)} (c_{pl})dt] \end{equation} The above code shows errors, please tell me what's ...
0
votes
1answer
100 views

Using the # symbol in equations

I want to use the # symbol in Latex equations. I already tried \#, but it is not working: When the # symbol appears in an equation, then the rest becomes a $ sign instead of #. Here is my code: ({...
5
votes
1answer
467 views

Why can't I use \pi or \equiv in a list?

The problem comes when I try to use a '\' inside an item tag. In my code: \begin{itemize} \item \pi\textsubscript{k} \item f\textsubscript{k}(x) \equiv .... \end{itemize} both \pi and ...
7
votes
2answers
136 views

Comments/tips on a (non Latex) pdf including mathematical formulas

My goal : I correct copies from students that I scan to pdf. I wish I could make the annotations on the scanned copies rather than on the physical paper. Today, I have to scan the copies again to have ...
3
votes
1answer
63 views

Combining multiple math-mode glossary entries

I would like to combine 2 or more math mode glossary entries to form a complete expression in math-mode. Background is a separation of nomenclature and symbols. I use expressions as in the second ...
1
vote
3answers
44 views

I want to put a matrix equation next to a system of equations

Hi everyone I am trying to put the matrix equations on the same row space as the system of equations. I am not sure how I tried to put a third align* to put the two together but it does not seem to ...
2
votes
1answer
43 views

Dashed or dotted scalable right brace in math mode wanted

How to to typeset a right brace which scales similarly to the left one in the "cases" environment and is dashed or dotted at the same time? The code below is almost ok---except that the curly bracket ...
8
votes
2answers
735 views

Own mathematical function f(x)

I'd like to define an custom function f(x). For example \f{3} should print ln(3) + 3 if the function is set to ln(x) + 3. One should be able change the function: \setfunc{sin(\x}}. This should only ...
2
votes
2answers
67 views

How to split a very long equation (using AMSMATH package)?

I'm trying to split up the following equation so that it fits the margins of my document, so far I have: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} 0 = n_1^3 ...
2
votes
2answers
205 views

Align math to the left

I need to align math to the left. I tried to add [fleqn] option to the \documentclass command - it works but now all equations in the document are aligned to the left which isn't what I want. My ...
0
votes
0answers
39 views

Decimal points interpreted as colons in Adobe Reader but not Chrome, et al

I have a maddening issue wherein the decimal points resulting from the rendering of siunitx's \SI and \num commands display properly in a PDF but are interpreted as colons by Adobe Acrobat Reader DC (...
4
votes
2answers
170 views

How to add overline on top of $\bm B$?

I represent a matrix in bold form throughout my paper, as $\bm B$. I need to add an overline to indicate a subtle transformation to this matrix. However the command $\overline{\bm{B}}$ does not seem ...
2
votes
0answers
29 views

polylongdiv with terms in reverse order

Is there a way to use \polylongdiv in the polynom package to display and calculate polynomials in the reverse order from the way the package is written? For example, \documentclass{article} \...
0
votes
0answers
39 views

Issue with underscore inside a newcommand for math mode

I have this new command as a shortcut for math mode: \newcommand{\m}[1]{$ #1 $} I get the error Missing { inserted error on lines including underscores like \m{f_1(x) = 10} and \m{f^2(x) = ...
1
vote
1answer
59 views

Why does $j=f$ cause error in forest?

\documentclass[oneside,12pt]{article} \usepackage{geometry} \usepackage{microtype} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{amssymb} \usepackage{amsmath} \...
4
votes
1answer
44 views

What does `\mathrel{}` do (with the empty parameter group)?

I know basically what \mathrel does when it's given a parameter: it typesets its parameter as though it were a mathematical relation for the purposes of spacing. However, I have seen in several ...
2
votes
1answer
23 views

How to remove the spacing between my modal operators?

I have two modal operators necessary and possible in my document. Since I don't really like the standard \Diamond from the amssymb package, I'm using the fdsymbol package. \documentclass{article} \...
2
votes
1answer
57 views

error: tipa in combination with \DeclarePairedDelimiterXPP

I would like to use phonetic spelling and found the tipa package. Somehow it seems to produce an error combined with a command I use to set conditional probability distributions: \documentclass{...
3
votes
2answers
76 views

vertical align matrix in table

I am trying to vertical align a matrix to the content of the other cells in a table, and im pretty much stuck. Here is a quick mockup of whats my problem. In fig2 at least the content is aligned ...
4
votes
2answers
131 views

How can I make a square of implication arrows in mathmode?

I have two equivalences A <=> B C <=> D This poses no difficulty in math mode. However, how can I insert implication signs from A to C, and B to D (i.e. A => C, and B =>D) in a nice way?
1
vote
1answer
45 views

arrow between parts of equation and tikzexternalize

In my document, I have an equation where I would like to connect two parts with an arrow, just as the way, as Alan Munn did it here. When I copy his example using \tikzexternalize, I get the error ...
2
votes
1answer
51 views

flush multiline equation to the right

How do I flush the two equations to the right? And keep the eqution number centered between the two lines? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} ...
4
votes
2answers
65 views

Circles at the same height

How do I get the two circles to be on the same height? I tried the following \newcommand{\sss}{\;\;\;\;\;\;\:} \overset{\circ}{R}_{\mu\nu\sigma\lambda}\overset{\circ\sss}{R^{\mu\nu\sigma\lambda}} \...
0
votes
0answers
20 views

How do I insert a space that is the same width as another element (e.g. a minus sign?) [duplicate]

I have a rotational transform equation that I want to typeset $$\begin{bmatrix}x_d \cr x_q\end{bmatrix} = \begin{bmatrix}+\cos \theta_e & \sin \theta_e \cr -\sin \theta_e & \...
7
votes
0answers
81 views

Why equation Recognizes section Above While aligned Does Not

I am placing equations either right after section headings, right before them or both. I know that this is not advised, but I do believe in my context it looks better. One interesting thing I noticed ...
3
votes
1answer
165 views

Adjunction symbol in commutative diagram

I'm writing about Category theory using tikz-cd and have a pair of adjoint functors, which is usually denoted by $F\dashv G$ I would like to have this \dashv symbol in a commutative diagram like ...
1
vote
0answers
47 views

More space between the lines in cases

I'm using the cases environment in one of my formulas. Each case is a fraction so I'm using \displaystyle to let them appear bigger. However, the result looks quite ugly because there is no space ...
4
votes
1answer
47 views

I need help with LyX math environments. They keep changing typeface after reopening the app

I have recently started using LyX. I am having some issues that none of my classmates nor my instructors could help me with. Essentially whenever I close the application I and I reopen my document (...
0
votes
1answer
40 views

How to write a text under subscript [duplicate]

I know two different ways to write the following: We can either type $(a_{ij})_{\mathop{1\le i\le n}\limits_{1\le j\le n }}$ or, as shown here, $(a_{ij})_{\underset{1 \leq j \leq n}{1\le i\le n}}$. ...
2
votes
1answer
37 views

Spacing and size of my matrix displays

I am displeased with some of my display in the following equation : \begin{frame} \begin{align*} \left[ \begin{array}{l} \dfrac{\partial \log L}{\partial b} \\ \...
6
votes
3answers
152 views

Writing sequence terms

What would be the best way to write out the terms of a sequence, somehow like this, but preferably aligned? Is there a way to automatically generate the terms from an equation i.e. with n² for ...
2
votes
1answer
52 views

siunitx per-mode and math in s-column

I am trying to use an siunitx s-column with per-mode = reciprocal for an units column but want to have my unit multiplied with a power. If there is a native way to do this with siunitx I missed it, so ...
1
vote
1answer
39 views

Center align after horizontal line inside an align environment?

I am trying to add a horizontal line in an align environment using the macro provided in this questiion and Package amsmath . The horziontal line looks okay with the equation but the contents below ...
1
vote
1answer
54 views

Nice line-break in inline math within theorem environment

This is my first question here, I hope it's not bad (please bear with me if it is). I have quite a specific problem concerning inline math and theorem environment. In general, I want to obtain the ...
2
votes
1answer
52 views

Typesetting Sets

I adapted a solution from Typesetting coordinates to typeset sets, but it seems to have difficulty with nested usage. $\coord[\big]{0,1, \coord{A,B,C}, \coord{3,2,1}}$ yields: Code: \...
1
vote
1answer
23 views

You can't use `\eqno' in math mode,Missing } inserted

I understand from previous post that this error come when you have extra {,( involved. But in my case i am not able to find any such case. \begin{equation}\overset{\wedge}{\pi}\left(\beta/ A_n\right) ...
6
votes
1answer
542 views

Reproducing Gauss' famous proof

The following appears in a text (in the context of generalizing Gauss' famous proof): I would like to reproduce this, but I cannot figure out how to get the alignment down. I thought of trying to ...
2
votes
1answer
42 views

Align text by numbers in table columns

I need to align the text in columns by decimals in the numbers. However the numbers go together with text so I can not simple use dcolumn package in 5th column as in the 1st one. If I split to more ...
0
votes
0answers
17 views

How to use '\' inside $$ [duplicate]

How can I make \ symbol inside $ $ in latex. As \ is used to start all the commands, so if I want to write some set A which excludes a few elements then usual math way is to write them as $A\ {a,b,c,d}...
4
votes
1answer
116 views

Equations with italic characters

I would like this equation: \begin{equation}\label{equ3} \textit{E}=\sqrt{p^2c^2+m_0^2c^4}=mc^2 \end{equation} to be shown in a nice way, italic characters, but I cannot. Any idea? it is my ...
2
votes
2answers
48 views

How do I adjust or suppress interletter spaces in math mode

In other words, how do achieve the effect of wrapping an entire equation in \mathit, except without italicizing numbers? More generally, how do I change the amount of whitespace that's added between ...
2
votes
1answer
31 views

Why does combining arrays and \left/\right cause alignment?

The following MWE is rendered as shown below: \documentclass{article} \begin{document} \begin{array}[t]{@{}l@{}} \left[\int abc\right]\\ \left[abc\right] \end{array} \end{document} Why aren'...