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

2
votes
1answer
74 views

How to make dcases environment work in LaTeX

I'm using Kile (kde4) on Mac OS. I can use the cases environment just fine but my version of Kile doesn't have dcases. I'm using Kile via MacPorts. Does anyone know of a way to update my distribution ...
5
votes
1answer
62 views

Lining up angled tick labels on a pgfplots bar plot

I'm trying to produce a bar chart for publication with math text in the tick labels. The most readable layout would be to angle them, but when I do they clash with the axis and are difficult to relate ...
2
votes
0answers
96 views

LaTeX is not compiling consistently

I am really new to LaTeX, so it's possible I'm making some egregious error that I'm not aware of, but my documents are compiling inconsistently. By that I mean it compiles correctly maybe one in ...
7
votes
2answers
57 views

Setting an “attribute” for Theorem to be accessed later

I am writing a math paper with a large number of theorems. I'm looking to have a table summarizing my results, and I'd love it if the table could be generated automatically from my paper. I' looking ...
2
votes
1answer
119 views

How to number an inline-math equation?

I want to add an equation number in a formula, but I've got an error: "You can't use `\eqno' in math mode.". This is my code: $e_{33} = 0 \eqno(4.4)$ How I can fix it?
2
votes
2answers
67 views

How can I lower an \xrightarrow

I'm referring to a previous post where I asked how to handle lines that are too tall due to stacked mathematical symbols. In particular, the problem occurs in my texts when using \xrightarrow like in ...
2
votes
3answers
86 views

Grouping two lines inside align environment to put smth. to the left of them

I have an equation which is alligned at 1st equal sign like this: \begin{align} a &= b + c \nonumber\\ d &= e + f \label{eq1}\\ %this is row 1 g &= h + i \nonumber\\ %this is ...
5
votes
1answer
82 views

Emacs/AucTeX: can LaTeX-math-list read a macro that requires input?

I wanted to make a macro that inserts \left \right delimiters, but I wanted to write it only once and have different bindings pass different delimiters. To wit, I wanted to add the following code: ...
8
votes
1answer
94 views

Change the size of only a part/subset of a single equation

For example, I'd like to do: $Q^{r<1}$ but with the r<1 having a much smaller font size than the Q. Of course r<1 will naturally have a smaller size since it is a superscript, but I want ...
5
votes
2answers
128 views

Math mode in tabular without having to use $…$ everywhere

\begin{tabular}{|l|l|l|} \hline Column A & Column B \\ \begin{math} x & y \\ \end{math} \end{tabular} This won't let me compile and gives a lot of errors, how do I enable math mode in a ...
9
votes
4answers
156 views

Curved arrow describing a step in a mathematical derivation

Is it possible to achieve something like this in LaTeX? I want a curved arrrow pointing from 1st line to the other line and is coupled with an equation number which indicates the equation used. I ...
0
votes
0answers
37 views

How to make “\” in latex? [duplicate]

How to make '\' in latex if '\' has to be used in set theory equations? I have to use it in the following format $\forall X \in 2^\Omega-{\emptyset} $ Here instead of '-' sign i want to use '\'. Is ...
2
votes
2answers
39 views

“\bar allowed only in math mode” error

When I run \begin{align*} \textit{m}(A) &=a&, \\ \textit{\bar{A}} &=1-a& \\ \textit{m}(B) &=0& &\text{for} B \neq A \text{ or} B \neq \bar{A} \end{align*} I get the ...
3
votes
1answer
61 views

Citing a reference in a table

I was preparing a table in my research paper where I was having a formula in one column and the name of the Mathematician who discovered it in another column. I also want to cite the paper of the ...
13
votes
3answers
97 views

Difference between \mskip and \mkern

What are the differences between \mskip and \mkern? The TeXbook writes the following (ch. 18): You can insert math glue into any formula just by giving the command ‘\mskip⟨muglue⟩’. [...] ...
0
votes
1answer
39 views

LaTeX \bar in table [duplicate]

I'm very new to Latex. So i want to put a \bar W in a table but the bar is covered by the horizontal line of table.So it becomes invisible. I tried adding \noalign{\smallskip} after \hline but it cuts ...
4
votes
1answer
79 views

Upright greek math: `theta` with `textgreek` package too boldish

With the following MWE: \documentclass[british]{article} \usepackage[british]{babel} \usepackage{textgreek} \begin{document} \LARGE Normal text default font, italics and upright: ...
5
votes
1answer
102 views

Typesetting of volume integral

This question has been bugging me for a long time: How do I properly typeset volume integrals? I would like to use the convention often used in Physics: d^3x=dV and \int dx f(x) instead of \int f(x) ...
5
votes
1answer
41 views

How to use `\mathrm` with capital greek letter and `newtx` package?

I have macros that use \mathrm. However, if the argument is a capital greek letter, newtx package changes the outcome to a math symbol in T1 encoding. I do not expect \mathrm to do anything on capital ...
4
votes
1answer
102 views

LaTeX 'Missing $' Cannot find the reason

So i am writing up some maths definitions for my exams and for some reason Texworks says that I have a 'missing $' in my line of work, however I cannot see anything wrong with it. ...
1
vote
1answer
46 views

LyX: Vertical spacing only some lines in a paragraph/ only the inline formulas

I have the following problem in LyX: I get many paragraphs with awfully long in-line formulas, which by multi-lining come to be vertically adjacent. The aesthetic effect is quite awful, so I would ...
9
votes
2answers
100 views

Mixing math character classes (e.g. \mathord to the left and \mathrel to the right)

It is possible to have a symbol or group behave to the left as if it had one particular math character class and to the right as if it had another? One typical case where this comes up is when one ...
28
votes
5answers
942 views

Microtypography on equations

Is there a way to make all three lines of math in the code below take up the same amount of length by use of font expansion? I know too little about microtype to even see if it could offer a solution. ...
1
vote
3answers
142 views

Capital cursive E in math mode? [duplicate]

How do I get a capital Cursive "E" in math mode? See picture encl.
8
votes
2answers
64 views

recursive multiple subscript and superscript with xparse

How can I define a new command with xparse, something like this: \NewDocumentCommand\tensorkor{ m >{\SplitList{,}}o >{\SplitList{,}}o } { ????? } that i can execute $ ...
3
votes
1answer
46 views

Is there a way to \mskip 0mu plus 1 fill

I would often like to use a \hfil equivalent inside a normal display math without using some align like environment or leaving math mode. Is this possible and if yes how? Is this the wrong approach? ...
2
votes
2answers
73 views

How could I do big intersection with single $s?

I want to obtain similar result given by, \[ \bigcap_{n}J_{n} \] by using some function between single $ i.e. $ function $. Can anyone help me about it?
5
votes
1answer
56 views

`\hfill`-like spacing in math mode without using `align`

In question 83509, a way of getting \hfill-like behaviour in the align environment is described, but for my purposes, I need one that works in the equation environment. (I want to display some ...
8
votes
2answers
220 views

Any good way to write mathematical induction proof steps in LaTeX?

I need to write some mathematical induction using LaTeX. Are there any packages that I can use for that purpose?
8
votes
4answers
160 views

Splitting root symbol

How can the \sqrt command be modified to split root symbol into two or more lines automatically? Example: \documentclass{standalone} \begin{document} \begin{minipage}[t]{0.8\textwidth} ...
4
votes
1answer
48 views

Hyphen within variable names (Proteins and Amino acids)

I have to Amino acids as variable-names within LaTeX. So far I am using (and found out): \documentclass{a4paper}{article} \newcommand\dTRP{\mathit{d-TRP}} \begin{document} $[\dTRP] = 3$ (Ignore ...
1
vote
2answers
51 views

Spacing between a special character and text

Why do I get output like this ? Why is the alignment varying if I embed the special characters like lambda and eta ? code sample 1: \begin{gather} \label{eq:Highest spatial frequency} \frac{2 ...
4
votes
1answer
95 views

Correct way to typeset a bold and dotted math symbol?

OK, I've seen related questions which indicate that you only bold the main symbol and not subscripts, and a few other almost related questions. But what about when you are using a bold math symbol ...
2
votes
3answers
41 views

Bold text with nested braces

I'm sure this is an easy question, but I'm not sure what the proper terminology is to search for the answer. $$\textbf{k_{1,1}}$$ LaTeX gets all confused by this. How can I make k_{1,1} bold?
2
votes
1answer
95 views

False bold integral symbol

Why do I get a false integral symbol when I do \bm{\int(2x}? I've just loaded the package bm in a usual way, and I'm not using any other different font in the preamble.
2
votes
2answers
96 views

Displayed Math in tikz-cd diagrams

I have been using tikz-cd package to produce diagrams however I'm not finding a way to use displayed math within it. My point is that when I use the product sign for instance inside of it, it simply ...
2
votes
1answer
94 views

Proper way to typset minimum value of variable in formula?

To typeset a value with a subscript I use this: $U_{\text{res}}$ Which results in: Now I'd like to write "the minimum value of Ures", how would I correctly typeset that? The first thing I tried ...
0
votes
1answer
60 views

What's the difference between $$ $$ and \begin{equation} \end{equation}? [duplicate]

I don't know the difference between $$...$$ and \begin{equation}...\end{equation}. What's the difference between $$...$$ and \begin{equation}...\end{equation}? \begin{equation*}...\end{equation*}?
3
votes
1answer
62 views

Matching Brackets in TeX output

Is there any ways or features to make pdf-files using one of TeX systems so that when I move the cursor to one of brackets (either open or closed brackets) in pdf, then the bracket and the other ...
2
votes
1answer
35 views

Command for fontsize-dependent code selection

I have heard of a LaTeX-command which provides font-dependent code selection in math mode, but I forgot the name of it and cannot find it – Here is what I mean: \unknownCommand{display size ...
2
votes
1answer
74 views

How to stop Latex from inserting $ in my URLs? [duplicate]

When I type this \footnote{ http://www.cems.uvm.edu/~tlakoba/math337/notes_12.pdf. Page 3.} LaTeX inputs $ $ in for me when I do not want them. How can I stop this from happening?
5
votes
1answer
57 views

Getting the right font for text in math mode

I'm using the following commands in my preamble to get the fonts I want: \usepackage{cmbright} \usepackage{amsmath} \usepackage{amssymb} \usepackage{pxfonts} I recently found that, in math mode, ...
4
votes
1answer
111 views

Equal (=) sign within TikZ label

I was trying to use an equal sign within a TikZ picture as a subcaption of an inner TikZ picture for comparing two images. Here is my code: \documentclass{report} \usepackage{amsmath} ...
6
votes
3answers
76 views

\underbrace and align environment

I want to typeset a proof and want to emphasize what I do in each step e.g. by underbracing an equal-sign when I substitute a variable. In addition I also want to align equal-signs in every line. ...
2
votes
2answers
58 views

Set minimum math font size

Example: \begin{equation} \begin{array}{ll} \textrm{stejne rozptyly:} & U = \frac{ \bar{x}_1 - \bar{x}_2 }{ s \sqrt{ \frac{1}{n_1} + \frac{1}{n_2} } } \\ \textrm{ruzne ...
5
votes
3answers
153 views

Unusual custom math accent

I want to introduce a new type of math accent that is basically an overbar, but also has small (scriptscriptsize?) text set to the right of the bar. Basically something like $\bar{A}^{\mathrm{co}}$ ...
4
votes
3answers
55 views

Index with accented letters

I'm trying to typeset the following $Q_å=l_å \cdot m$ But LaTeX won't typeset these special or accented letters in my document! Is there a simple way to achieve this?
5
votes
2answers
44 views

Downarrow whose length I can specify manually

Is there a way to draw a $\Downarrow$ command of a custom length? I need a double arrow. I am sure such a command exists. I also need this symbol to be able to align inside align environment using ...
2
votes
2answers
129 views

Can I use both of setbuilder notations in one article? [closed]

There are two setbuilder notations, the vertical bar and the colon. In some cases, it is better to make a choice. For example, compare \{f \mid f\colon M \rightarrow N \text{ is continuous}\} and ...
11
votes
2answers
130 views

Differences in vertical positioning of superscripts and subscripts depending on grouping (`{ }`): Why? Caveats? Workarounds?

This question about {(x+y)}^2 vs (x+y)^2 drew my attention to the slightly different vertical positioning of super- and subscripts for such expressions. Compare (x+y)^8_8 (left) and {(x+y)}^8_8 ...

1 2 3 4 5 36