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

3
votes
1answer
86 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
37 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
42 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
31 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
33 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
143 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
44 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
34 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
39 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
46 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
18 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
536 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
37 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\ ...
4
votes
1answer
111 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
45 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
30 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 ...
0
votes
1answer
36 views

Place tikzmark at Vertical Center of Math Line

Based on a previous question I asked, I have created the following: \documentclass{standalone} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[fleqn]{mathtools} ...
0
votes
1answer
50 views

tufte-latex: math tag into margin

How can I push a \tag of a math environment into the margin when using tufte-latex? I tried to modify the answer in margin note left of an equation? but I didn't understand the command. Here is a MWE ...
8
votes
2answers
332 views

Inconsistent superscript placement in $q_x^{n_x} q_y^{n_y}$

As part of a document, I am typesetting the objects q_x^{n_x} and q_y^{n_y} right next to each other, as \frac{ q_x^{n_x} q_y^{n_y} }{2} It bugs me that the n_y gets displayed at a different ...
1
vote
0answers
73 views

What is the font used by Nature magazine? How can we get the same or similar text font and math font in LaTex? [duplicate]

For example, in this paper: http://www.nature.com/nature/journal/v529/n7587/pdf/nature16961.pdf How can we get the same or similar text font and math font in LaTex?
1
vote
0answers
40 views

\mathcal only allowed in math mode

I am having a couple of errors with this code. With the second line 'missing $ inserted' Then with the third line it says '\mathcal only allowed in math mode'. Would anyone be able to help me with ...
0
votes
1answer
250 views

Why does LaTeX insert space before formulas?

What is the typographic reasoning here? Does it make the text look less crowded?
1
vote
0answers
42 views

Can't make maths equation - possibly Calligraphy? [duplicate]

I have included a picture of a maths equation that I need to convert to LaTeX. However I just can't figure out how to convert the first two symbols or figure out what they are/stand for. The picture ...
2
votes
1answer
55 views

Labeling rows/columns of a matrix with text and braces

I would like to label rows and columns of my matrix with formulas and text. I've started with a version using bordermatrix. \[ \underbrace{ \bordermatrix{ & \underset{\downarrow}{x} & ...
0
votes
0answers
30 views

mathbf related to math in sectionheading problem [duplicate]

I am using the \blacksquare symbol from the amssymb(?) package in my section heading. But this leads my bold math turning into ASCII symbols after a while. Thanks for your help. \boldmath helped. ...
1
vote
1answer
36 views

How to get tilde enclosed in parenthesis

Quick and simple question (actually surprised I couldn't find it on Stackexchange already): How can I typeset (in math mode) quantities with a tilde on top that is enclosed in parentheses? Something ...
3
votes
2answers
111 views

Proper style/use of parenthesis

I'm using 'mathpazo' for text and math. One thing I have noticed is that the style of the parentheses in text and math mode are not alike. What would you use? \documentclass{article} ...
1
vote
1answer
35 views

How to make parentheses under math formulae?

How to make parentheses (with labels J1 and J2) as shown on the picture below?
6
votes
1answer
181 views

How to get limits in integral to the right hand side

I like the integral from mathdesign, but how can I get the limits to the right hand side? \documentclass{article} \DeclareSymbolFont{md}{OMX}{mdput}{m}{n} ...
5
votes
1answer
105 views

Left-justified text with wrapping math

I would like left-justified text with embedded math which wraps in a manner similar to the behaviour with fully justified text. It seems LaTeX will wrap math at "sensible" points (e.g. between certain ...
1
vote
1answer
40 views

Writing Lines and Lines of Math Without Continuation Characters

I've recently converted to using \[ \] instead of $$ $$ as my begin/end math command since I read that is the "correct" method. However, the backslash character is near my pinky on my keyboard and ...
0
votes
0answers
33 views

subscript appearing properly but following character are italic

To write subscript say, x subscript 1 , I am writing x_1. However, the problem is that anything following 1 appears to be italic. Why is it so? I am using Kile as editor.
6
votes
3answers
171 views

bar through letter in mathmode

Hi do you know how I can produce this symbol in latex? Only the bar through the letter i need I know the rest. And i need something that works on math mode for sure. I tried using \sout with ulem ...
1
vote
0answers
36 views

\triangleleftneq and \trianglerightneq commands?

There are certain 6-tuples of commands, such as: \subset, \subseteq, \subsetneq, \supset, \supseteq, \supsetneq <, \leq, \lneq, >, \geq, \gneq There are also commands \triangleleft, ...
3
votes
1answer
72 views

XeLaTeX does not load newtxmath with LinuxLibertine (sometimes)

I'd like to use newtxmath along with LinuxLibertine under XeLaTeX. What maybe sounds simple really drives me crazy. Here's an MWE: \documentclass{article} \PassOptionsToPackage{no-math}{fontspec} ...
4
votes
2answers
72 views

Horizontally misalligned sub-/superscripts in fractions when using 'minus' sign

I am combining sub- and superscripts in the denominator of a fraction. I get ill behaviour when the exponent is preceded with a minus sign: I would expect the sub- and superscript of the first two ...
3
votes
1answer
46 views

Putting a subscript beside \det

I am trying to write that the trace is the pushforward of the determinant, and so I would like to have * as a subscript beside \det in mathmode. But when I type $\det_*$ then instead the * appears ...
0
votes
1answer
56 views

Standard way of typing a set of equations in math mode involving two relations, for example: $=$ and $<$ [closed]

When typing a set of equations in math mode, is it better/clearer/standard to type, for example, how Rudin types this equation (pg 15 'baby Rudin'): Notice, how the third line changes to $\le$ and ...
0
votes
1answer
39 views

The expression seems not good ( mathematical operator)

I am trying to write an expression but the output is not the same as expected. Try: $c_{j_{1}}^{L,n} = \displaystyle\sum_{m=1}^{M-1} (t_{j{_1}m})$ How can I correct it. Please help me.
0
votes
0answers
41 views

Bar symbol with subscript

I want to type Y bar with subscript as shown in following code. However, when I try to use \bar , the Bar symbol is going beyond Y. I want to limit the bar symbol to Y. \documentclass{article} ...
2
votes
1answer
40 views

Array Problems Math mode

\documentclass[12pt,a4paper,notitlepage]{report} \usepackage{amsmath} \usepackage{array} \usepackage{multirow} \begin{document} \[ \begin{array}{llll} \hline & \multirow{2}{*}{\tilde{b}\leq ...
2
votes
1answer
57 views

Wrong to delete/replace equation by using changes package

I am using changes package to check the changing in my latex file. For changing in sentence, it works well. However, it showed some wrong/unexpected result when I change equation. This is my problem ...
5
votes
1answer
54 views

How to automatically remove additional space introduced by primes of left superscripts?

I need to use left superscripts. I know that there are packages as mathtools, tensor and leftidx. But they all suffer from the same typographical problem. If I typeset a left superscript and this ...
0
votes
1answer
78 views

How to create augmented matrix in iBook Author using LaTeX [duplicate]

I am very new to LaTeX so please bear with me if my question is rudimentary. I searched through other questions and while this question has been answered the solutions provided did not work for me, ...
3
votes
2answers
80 views

Text under equation

I'm trying to achieve which can be best described from this picture: I want to be able to write the green text and line under my equation (it's exactly this equation actually) but how do I do that? ...
7
votes
2answers
92 views

Custom command with \ensuremath within \textbf

I have created a custom command to help me with scientific number notation: \newcommand{\E}[1]{\ensuremath{\cdot 10^{#1}}} The command works OK, but now I have a need to bold some of the numbers ...
3
votes
2answers
34 views

How can I align an equation with the & placed inside an \underbrace?

I have an aligned equation that looks like: \begin{align*} 1 &+ 1\\ 120 &+ 120 \end{align*} I would like to add an underbrace to one of the lines, but keep the alignment. However, when I ...
1
vote
0answers
97 views

Problems compiling math w/Beamer when running as non-administrator

I am having problems compiling a Beamer-presentation w/math symbols when running as non-administrator under Win7-64. (I use TeXStudio 2.10.8 with a complete install of MiKTeX 2.9.) To give an example, ...
1
vote
1answer
36 views

Raising the content in brackets in math mode

@egreg helped me to get my math AVMs right (Aligning math brackets in AVMs). I noticed that it is more common to have the type at the top of the AVM and I changed the code to reflect this. However, I ...