{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
48 views

Math font changing and siunitx?

Consider this MWE: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T2A, T1]{fontenc} \usepackage{amsmath} \usepackage{lmodern} \usepackage{siunitx} \usepackage{mathpazo} ...
4
votes
1answer
41 views

Adjust size and placement of \diameter symbol

I'm trying to match the size and placement of \diameter (from wasysym) with that of \circ. I want the two symbols horizontally aligned with the same size circle. Any suggestions? MWE: %XeLaTeX ...
4
votes
1answer
58 views

How much bigger are delimiters

While trying to duplicate TeX dimension computations, I noticed that the delimiters placed with \left…\right are slightly bigger than the box around which they wrap. How much bigger, how is that ...
10
votes
4answers
224 views

Indices with German Umlaut ä - \mathrm{} or \text{}?

I'm wondering about the correct use of \mathrm{} and/or \text{} (or similar) in formulas. I've read these topics (and some more): Is there a preference of when to use \text and \mathrm? and ...
2
votes
1answer
30 views

Wick contraction on boldface symbols

How can I Wick contract boldface letters? I am currently using the wick.sty package but it does not allow either {\bf X} nor {\bf X} to be Wick contracted against anything else. Is there some way ...
1
vote
2answers
33 views

Aligned Equation Resizing? (Above or Below \textwidth)

My input: \begin{equation} \begin{aligned}[t] & \min\limits_{\bm{\Delta(P,Q),u}} & & \sum\limits_i u_i, \\ & \text{s.t.} & & (P_{min_k},Q_{min_k}) \leq (P_k,Q_k) \leq ...
0
votes
1answer
29 views

How do I “align” numerator and denominator? [duplicate]

\documentclass{amsart} \begin{document} $\frac{(n+1)!}{(n+1)^{n+1}}$ \end{document} The problem is that I want to make (n+1) on the same line. How do I achieve this?
20
votes
3answers
5k views

Why use the control sequences \bigl, \biggl, \bigr or \biggr, as I can always use \big or \bigg?

If my manuscript file has $$\biggl({\partial^2\over \partial x^2}+ {\partial^2 \over \partial y^2}\biggr)\bigl|\varphi(x+iy)\bigr|^2 = 0$$ or $$\bigg({\partial^2\over \partial x^2}+ ...
3
votes
2answers
83 views

Use different math font in inline-style and display-style formulas

I would like to use a different font in inline-style math mode ($...$) and displayed equations (e.g., \begin{equation} ... \end{equation}). Currently, I set my fonts with \setmainfont{Frutiger 45 ...
8
votes
4answers
614 views

Norm of “a” looks different from Norm of “b” in math mode

I run into the following little problem in the LaTeX math mode: $ \left \|\tilde{a} \right \| + \left \| \tilde{b} \right \| $ when trying this in the Latex Equation Editor, it looks a bit weird: ...
18
votes
2answers
43k views

How to make the limit (mathematics) sign?

I want to learn how to make the limit sign. For example, take 'Limit of f(x) as x approaches 2 is 5' , how to make this?
3
votes
1answer
86 views

How to braid a character around other characters

What I want to do is braiding one (or more) letters around one (or more) letters. It should be possible to use it in math as in text mode. This is what I have in mind: But so far nothing worked. ...
1
vote
2answers
82 views

How to italicise a number in a math environment?

When typing 'variable0' in a math mode, only the letters are italicised. How can I force the 0 to be italicised as well?
6
votes
3answers
584 views

circled “less than or equal to” symbol

Is there a better way than: \mathlarger{\bigcirc}\hspace{-3mm}\mathsmaller{<} which, though, mathjax does not seem to like (Ignore the last line which caused confusion. Also, instead of < I ...
3
votes
1answer
64 views

Math symbols in text mode

I need to write a text which contains some math symbols. In detail those include \rightarrow, \forall and \exists. I know I can switch into math mode with the $ symbol, but I have quite a lot of text ...
1
vote
1answer
37 views

TeX question about double underlining in math mode [closed]

I am trying to define a macro for double underline in TeX (not LaTeX).
0
votes
2answers
91 views

Alignment of two equations on LaTeX

I'm trying to get two equations aligned via the equals sign, this is my code so far: \begin{align} \int_0^1 xJ_v(\lambda x)J_v(\mu x) \mathrm{d}x &= \frac{\mu J_v(\lambda)J^{\prime}_v(\mu) - ...
21
votes
2answers
14k views

\xRightarrow (text)

I know it's possible to have \xrightarrow (text), but if I try to do \xRightarrow (text) I get an error each time. Does anybody know if it's a syntax error or if there is a other way to produce the ...
1
vote
2answers
44 views

Resolving this aligning problem?

\documentclass{amsart} \begin{document} \begin{align*} \nabla \varphi (r, \theta) &= \nabla f(x, y)\cdot Dg(r, \theta)\\ &= \nabla f(r\cos \theta, r\sin \theta)\cdot Dg(r, \theta)\\ &= ...
2
votes
1answer
46 views

How can I fine-tune the position of equation numbers (given they are all on the right)?

My equation numbers are all on the right. I have the distance from the margin set to 18mm, but I wish to vary this on any particular page as I progress through the document. I presume it would mean ...
1
vote
1answer
57 views

When to use Roman and Italic Font in Math

I am wondering when to use roman or italic font in math mode. I found that variables should be italicized and functions like max should be put in roman. I found some sites on the topic, e.g. this or ...
1
vote
0answers
35 views

How to change horizontal alignment for \frac? [duplicate]

Typing \frac{W+W^*}{2} gives $\frac{W+W^*}{2}$ in which the denominator appears to the eye to be in the wrong position. Is there a way to correct this, ie place the 2 in under the + (without using ...
1
vote
2answers
48 views

Box around equations in align environment and no indentation

I have the following code and I want to do two things to it.First, I want to have the output maximally on the left, that is I do not want any indentation of the stuff in the align environment, I want ...
2
votes
1answer
42 views

How do I insert bold words inside math mode?

I want to make write an equation that looks like this: if (x belongs to A) then (B is a subset of C) I tried using \documentclass[]{minimal} \begin{document} \[ if x \in A then B \subseteq C \] ...
1
vote
0answers
49 views

Error: Missing $

I have bla $ H $ bla bla $ 2 \times 2 $ . blabla: \begin{equation} H = \theta \textbf{I} + \textbf{ \tau } \cdot \textbf{a}, \end{equation} Why does it give me the following error: ! Missing $ ...
2
votes
0answers
79 views

I'm getting a “missing $ inserted” error even though it's plaintext. What did I do wrong? [closed]

Here is the text that generates the error. SaaS is een afkorting voor ``Software as a Service". Dit houdt in dat de klant tegen een doorlopende vergoeding online gebruik kan maken van de software ...
4
votes
1answer
322 views

Is it possible to reduce the number of arguments of \frac?

The number of arguments of the command \frac is two. Is it possible to make it only one? For instance, I would like to make $\frac{a}{b}$ as, say $\quot{a,b}$.
3
votes
1answer
34 views

How to use `\texorpdfstring`. Characters disappear

I'm using hyperref, which causes trouble when having math in my section title. MWE: \documentclass{report} \usepackage{hyperref} \usepackage{fixltx2e} \begin{document} \section{Basis for ...
2
votes
1answer
33 views

Increase the size of subscript in math mode

I would like to add the size of the subscript p_i in the math form here: $loc_{p_i}$
5
votes
1answer
66 views

Bad math delimiter in enumerate using enumitem

Please consider the following code: \documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate}[label=\arabic*$\star$] \item ABC \end{enumerate} \end{document} Does anyone know ...
1
vote
1answer
94 views

How to write like that picture [duplicate]

I have a problem in latex. I can't write like that picture. how to write like that. Please.
1
vote
0answers
42 views

Error message: “I've inserted a begin-math/end-math symbol…” [duplicate]

In laTeX I have this line: <onEntry>do_something </onEntry> which is giving me this error: $ l.28 <onEntry>do_ something </onEntry> I've inserted a begin-math/end-math ...
3
votes
2answers
66 views

Regression equation font face for long variable names

I'm writing a paper for a journal that contains several regression equations (a first for me). Some of the models have long variables names (between 2-7 characters in length). I'm wondering what the ...
1
vote
1answer
66 views

What is the command to show the product of two integers or the square root of an integer positivo?

LaTeX has a command that shows the Division Algorithm: $$\opdiv{42}{75}$$ Is there a command to show the product of two integers or the square root of an integer?
4
votes
2answers
103 views

What is better math or text mode for special utf8 symbols

There are some utf8 symbols (ĉ ĝ ...) in the input for pdflatex and I use in preambula commands like \DeclareUnicodeCharacter{0109}{$\hat{c}$}, \DeclareUnicodeCharacter{011D}{$\hat{g}$} and so on ...
3
votes
1answer
87 views

How to restrict TexStudio macro script to work only in text/normal mode?

I understand that you can write (?highlighted-as:numbers,math-delimiter,math-keyword) before your trigger and TexStudio will execute the macro only in Math mode. I already tested that in "scripts ...
3
votes
0answers
53 views

How to change $$ $$ to \[ \] [duplicate]

I have a long math file where $$ $$ was used for display math. I want to change these to \[ \] to make it look neater. I don't know whether I can use the find/replace function in TeXworks to alternate ...
2
votes
1answer
30 views

Strange alignment issue in subequations

I have the following set of subequations (amsmath): \begin{subequations} \begin{alignat}{3} &\frac{\partial^2 \, (r \, \Pi_{1 \perp}^e)}{\partial r^2}+k^2 \, r \, \Pi_{1 \perp}^e &= E \, ...
3
votes
4answers
144 views

Underset spacing

I've got the following equation \begin{align*} \hat{\boldsymbol{\eta}} = \underset{(\boldsymbol{\beta}_{1}, \ldots, \boldsymbol{\beta}_{d}, \boldsymbol{\theta}) \in B_{1} \times \cdots \times ...
15
votes
2answers
9k views

Bold upright i-hat and j-hat for vector notation

I am trying to typeset a vector with i-hat and j-hat components: \documentclass{article} \usepackage{amsmath} \usepackage{mathtools} \newcommand{\ihat}{\mathbf {\hat \imath}} ...
9
votes
4answers
13k views

Making a shorter minus

I am doing some display typography with an equation in it using the mathpazo package. At one point I have this fraction: $\sqrt{-\frac{1}{9}}$ To me, the minus looks too long. I would like to make ...
3
votes
2answers
69 views

Applying MakeUppercase to non-English characters in math mode

I have some macros to distinguish between two varieties of similar objects. So, for example, I need \psi to come out as expected, but \MakeUppercase{\psi} to come out as \Psi. (Obviously my real ...
3
votes
2answers
37 views

How do I get filled black < and \leq while using the MnSymbol package?

Some time ago I posted the question How do I get filled black < and \leq? and got a very useful answer which I accepted. However, my \bleq only fills 95% with black, and the author of the answer ...
0
votes
0answers
28 views

latex2html: cannot use mathematical formulas

I use latex2html to have my document in HTML format. I have a problem with mathematical formulas. I include the following packages: \usepackage{amssymb} \usepackage{amsmath} And when I write ...
1
vote
1answer
42 views

How do I manually adjust the space between a symbol and the plus sign in amsart? [duplicate]

I found that amsart seems to deliberately create space between a symbol and the plus sign. But sometimes I do not need the space, say \documentclass[12pt]{amsart} \begin{document} \[ f(x) \to l ...
2
votes
2answers
136 views

How to make this simple expression $f(\dfrac{r}{h})$ look nice?

How to make this very simple expression nice? I am not convinced by the parenthesis and the vertical spaces among the fraction. Feel free to share how you would have written it. ...
1
vote
2answers
35 views

Problem with rcases*

I want to put a right bracket because I need it, but it goes out of the page. \[ \begin{rcases*} \text{Si }f:\left[x_{1}, x_{2}\right]\longrightarrow\mathbb{R}\text{ es continua en } \left[x_{1}, ...
2
votes
2answers
58 views

Use mathclap as default in limits of integration

I would like to change the default behaviour of limits to include \mathclap. Rather than writing every time \int\limits_{\mathclap{verylonglimit}} x \, dx I would like to simply write ...
1
vote
0answers
33 views

Qtxmath package with MiKTeX

I was planning to test the qtxmath package with the tgtermes fonts with MiKTeX 2.9: \usepackage{qtxmath,tgtermes} However, I encounter problems compiling the document: miktex-makemf: The qtmri ...
32
votes
2answers
35k views

Big integral sign

Is there a possibility to draw large integral signs? I have found the package bigints but I have the feeling it is not very professional... Any better idea?