{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
2answers
101 views

fractions in table

I have a table with three columns, in the second and third sometimes appear fractions: \documentclass{scrartcl} \usepackage{array} \newcolumntype{C}{>{$}c<{$}} \begin{document} ...
0
votes
0answers
18 views

Sharelatex and spaces in mathmode text [duplicate]

I've used LaTeX (a long time ago!) before, and the following code would usually (if I remember properly) produce a set with spaces preceding and immediately following the words "and" and "or", however ...
6
votes
3answers
94 views

Aligning text to the right of matrices in math mode

I wonder how I could make LaTeX align to the right some specific descriptions I wrote about the operations I apply to matrices. For example, here is a screenshot of what I have right now but I want it ...
1
vote
1answer
31 views

Displaying $\chi_{A}$ properly? [duplicate]

\documentclass{amsart} \begin{document} $\chi_{A}$ $\chi_{S_{i}}$ \end{document} I found that the $A$ in $\chi_{A}$ does not look like a subscript; it seems too large. This problem becomes more ...
6
votes
3answers
135 views

Display math gets typeset as inline math

When typesetting the below annotated equation my summations are being typeset as inline maths rather than display maths. If I wrap the sum and subscript with \smashoperator{} then they are typeset ...
4
votes
3answers
136 views

Multiple alignment in math mode - a math equivalent to `\multicolumn`?

I have some quite long lines of maths I have to put into a two-colum document format, so the maths often needs to be split between multiple lines. In the example below, I'd like to align the open ...
1
vote
0answers
44 views

Can anyone help me identifying this font? [duplicate]

I have been looking for a long time over the internet (and yes I have stumbled here many times) the font or typeface used for example, on the book Physics for Scientists and Engineers, Serway and ...
1
vote
0answers
47 views

pgfplotstable and _{some text} or ^{such text} in an string type column

So this is the second question i need to ask to get this table working: I'm using this: \documentclass{article} \usepackage[margin=1cm,a3paper]{geometry} \usepackage{siunitx} ...
2
votes
1answer
39 views

Alignment like in align environment

Does anyone know how to get the following alignment?
1
vote
2answers
236 views

Arrow with multiline expression above and below

I was trying to write this in latex but I don't know how to to insert the arrow in the middle with the expressions below and above on it.
4
votes
1answer
52 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 ...
3
votes
1answer
62 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
60 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 ...
2
votes
1answer
32 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
42 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 ...
10
votes
4answers
232 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 ...
0
votes
1answer
34 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?
3
votes
2answers
93 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
624 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: ...
1
vote
2answers
83 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?
3
votes
1answer
70 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
40 views

TeX question about double underlining in math mode [closed]

I am trying to define a macro for double underline in TeX (not LaTeX).
6
votes
3answers
608 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 ...
1
vote
1answer
67 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 ...
2
votes
1answer
48 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
2answers
51 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
45 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
52 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
323 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
47 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}$
1
vote
1answer
96 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
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)\\ &= ...
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
32 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 \, ...
5
votes
1answer
70 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 ...
4
votes
2answers
108 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
2answers
74 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
68 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?
3
votes
2answers
72 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 ...
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
4answers
156 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 ...
0
votes
0answers
35 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
44 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
151 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
0answers
46 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 ...
2
votes
2answers
66 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
2answers
39 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}, ...