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

10
votes
3answers
51k views

How to bold just one word in a line

If I have a line of text, how do I make just the first word bold? I tried this: \bf{NTn} = Number of lines but it made the entire line bold.
6
votes
1answer
97 views

Reducing the size of greek letters in TeX Gyre Schola Math?

I've been experimenting with TeX Gyre Schola (and its math font), and I've noticed that the greek letters are noticeably larger than normal letters and numbers. For example, consider the following: ...
2
votes
1answer
64 views

How can I both use MathTime Pro 2 and newtxmath?

I would like to use both the mtpro2 and newtxmath packages in a single document and be able to choose which one to use. I would like for example to be able to show the following integral in both ways ...
3
votes
2answers
128 views

Anomalous bracket sizes when using the cancel package

I have been happily using the cancel package that allows to cross out parts of mathematical formulas for some time now. However, today I noticed a very strange behaviour in the size of brackets ...
3
votes
0answers
132 views

How to replace parentheses with symbol of other font so that they are expandable? [closed]

I use Bitstream Charter for my document, but I'm not satisfied with the appearance of round parentheses. I'd like to replace them with the parentheses from Palatino, both in text and math mode. In ...
3
votes
1answer
96 views

How can I fix the size of parentheses around stacked function symbols?

I apologize if this is a duplicate, I looked at a number of other questions regarding parentheses size but didn't find an answer to my problem. I'm trying to stack two function symbols within ...
3
votes
2answers
173 views

Display a breve over several letters

I'm writting with a very dumb question, buy I haven't been able to find anything regarding this topic, nor think of a more general topic to look into. I'm trying to have a \breve which scales ...
3
votes
1answer
95 views

Math aligned, equation pushed to the left

I am using the aligned environment in order to represent the equations aligned, but latex is always pushing the first line a little bit more to the left, since there is no for part there, i tried to ...
1
vote
1answer
32 views

Missing $ error with matrix

The code below produces the mistake in the picture. Any idea why? % !TEX encoding = UTF-8 Unicode \documentclass[a4paper,12pt]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
4
votes
2answers
40 views

Controlling vertical space in displayed math mode

Apparently \hspace works inside displayed math mode to move formulas horizontally, but it seems that \vspace is ignored when I want to moved them vertically. I would like to control the vertical ...
1
vote
2answers
632 views

How change math font size in power?

How can I change the font for power such a way that the power symbol is rendered much smaller than the number 3 in the following formula? I need to sum (necessarily with \displaystyle) was much ...
2
votes
2answers
686 views

Making parts of equations larger

Is there a way to make only a part of an equation larger? I'm working with the code below, but I feel like the s-angle-n and a-angle-n are far too small and would really like to make them both bigger ...
2
votes
2answers
1k views

Using \Mathsmaller in math display mode makes the character appear to the right of the symbol itstead of below it

I am trying to use \prod in math display mode but it appears large (larger than I want it to be) but when I use \mathsmaller from the relsize package the letter appears on right side of it instead of ...
3
votes
1answer
39 views

Subequation labeling inside an “aligned” environment

I can align several equations inside a single brace with the following code. \begin{equation} \left\lbrace \begin{aligned} k \cdot E &= 0 \\ k \cdot B &= 0 ...
1
vote
1answer
55 views

Default spaces between letters in math-mode

Question for TeX-gurus. Sometimes I find that the default spaces between letters in the math TeX-mode is to short. Say, I would prefer to have slightly increased spaces between abc in $abc$. On the ...
2
votes
2answers
96 views

Enforce continuous math environment when concatenating multiple math environments

I have a non-standard setup for my symbols. Instead of defining them explicitly in every equation, e.g.: \begin{equation} a_i={\bf b}^{(est)}_i \cdot {\bf c}^{(obs)}_i \end{equation} I define ...
0
votes
1answer
58 views

Plus-minus sign in the continued fraction

How to write the plus/minus signs aligned with the bottom of the fraction. I can write the rest of the part of equation (1.1) and (1.2). but can cot write the plus/minus sign at the bottom.
3
votes
1answer
95 views

How to write letters with a circumflex? [duplicate]

I want to write a theorem with letter G, which has over ^ it. I tried $G^{\^}$, but that doesn't work.
2
votes
4answers
107 views

Line up equations

I want to line up my two equations by the two first equal signals so I wrote this \begin{align} \left\ \begin{matrix} \Delta l &= \Delta l_1 + \Delta l_2\\ N &= ...
4
votes
2answers
172 views

How to make the function identifier ( f(x) ) more dominant?

When a function has a rather complex set of parameters, the function identifier (usually simply f), gets dwarfed by the parentheses and the parameters inside of them: As you can see in the red ...
5
votes
1answer
746 views

negated double turnstile

I'm new to the turnstile package, and I'm trying to figure out how to get a negated double turnstile sign, like the one with the regular \nvDash, but that allows me to have arguments above and below ...
1
vote
1answer
51 views

Problem with tocloft, minitoc and bold math mode

To ensure equations in headings are written bold as well I have added the following command to my document: \makeatletter \g@addto@macro\bfseries{\boldmath} \makeatother This works very well until ...
74
votes
8answers
18k views

How to typeset $:=$ correctly?

I like to use $:=$ for "is defined to be equal to", but this is never typeset with the symmetry one would like, as the colon is always too low relatively to the equals sign. Is there any way of ...
0
votes
0answers
55 views

Times new roman in math mode, except for greek letters

I'm using \usepackage{times} to change my font to Times New Roman, but I noticed that some math commands like $\max$ still show up in Computer Modern. So I used \usepackage{mathptmx} to fix this, and ...
3
votes
2answers
112 views

How do I vertical align text?

This is question is related to an extension of an earlier question: How do I display pi in LaTeX like Don? I want to display using LaTeX, the HTML+CSS equivalent of .pi sup { vertical-align: ...
32
votes
4answers
1k views

Is it ever bad to use \left and \right? [duplicate]

For mathematics, is it ever disadvantageous to use \left( and \right) in equations? I can't see any way that doing this would hinder the typesetting, so why isn't () just converted into \left( ...
1
vote
1answer
247 views

what is the latex command for this notation

could anyone tell me what will be the latex command for this? I am very much confused, I am not even comfortable in matrix writing while typing latex I always copy paste the matrix command to write a ...
8
votes
2answers
354 views

How to type a tall / symbol?

Say I want \documentclass{article} \begin{document} \[cl(V, q) =\left (\sum_{r=0}^{\infty} \bigotimes^r V\right)/\{v\otimes v = -q(v,v)\}\] \end{document} How to make the "/" symbol longer to ...
42
votes
3answers
158k views

Big Parenthesis in an Equation

I have an equation contained inside \[...\], which automatically makes a \sum with sub- and superscripts turn big--so that the summation sign looks awkward inside parenthesis. Any idea how to make ...
4
votes
2answers
56 views

Align baselines of underset elements in display math equation

I am trying to create a display equation showing the coefficients of an example polynomial for use in the quadratic formula. Basically, I want each coefficient of the polynomial to have an arrow ...
5
votes
2answers
381 views

Matrix doesn't shrink when put in fraction.

This is my minimal example, the problem is the different size of the two x. I would expect the matrix to be shrunken too, but it isn't. Why is this and how is it corrected? ...
7
votes
1answer
180 views

Why is my prime symbol too low? And: Why are my subscripts not scaled accordingly when I use \scriptsize?

I have two (maybe simple) questions concerning the following LaTeX document \documentclass{scrartcl} \usepackage[ansinew]{inputenc} \usepackage[T1]{fontenc} ...
7
votes
2answers
207 views

Create a resizable symbol?

Some symbols can be resized automatically with \middle when placed between a \left. and a \right. They can usually also be resized using \big or \bigg. Examples of such symbols are |and / and pretty ...
9
votes
3answers
29k views

How to make math symbols bigger?

Is there a way to make math symbols bigger? Reason: I've used \sfrac{q}{m}, and those symbols appear far to small, so I would like to make them a bit bigger. edit: I just thought that \sfrac{q}{m} ...
14
votes
2answers
2k views

divides, not divides and cardinalities

In group theory it happens very often that you want to say: "The order of $H$ divides / does not divide the order of $G$." But the length of | is then always the same: $ |H| | |G| $ produces |H|||G| ...
0
votes
1answer
40 views

What is \( used for? [duplicate]

I have seen the following syntax in a LaTeX example : \( Inline math formula \) What is the difference between those delimiters and $ ?
8
votes
1answer
118 views

Why do I need an \hbox inside \vcenter to make it work?

I want to vertically center an object in an equation. I thought: "Ok, \vcenter is the way to go." But I don't understand (not even from the TeX primitives reference), why I need an \hbox inside my ...
6
votes
4answers
422 views

Arrows between arrows

Here is a fragment from MacLane's classic book "Categories for the working mathematician": Here is another one that's a bit more complicated: Is there a package that allows to (hopefully easily) ...
44
votes
4answers
2k views

How do I display pi in LaTeX like Don?

Way back in 1979, Donald Knuth, tried to give the feeling that π is irrational using the idea of infinite sequence of smaller and smaller font sizes like what I have tried to do here using HTML and ...
10
votes
2answers
854 views

How can I force \left, \right delimiters to automatically (!) have the same size despite line breaks?

This code \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} \begin{split} z = \left( a + b + c \right. \\ \left. + \frac{d}{e} \right) \end{split} ...
-1
votes
2answers
80 views

Confusing missing $ [closed]

Can anyone help with this. I'm not sure at all what I'm doing wrong but i get an error Missing $ inserted. $ on the 2nd line with c)\ The rest of the text works fine and there are ...
37
votes
1answer
58k views

\mathbb{Z} yields undefined control sequence error

I am using WinEdt 6 for compiling my TeX documents. I am getting an error with contains the line $\mathbb{Z}$ showing that it is undefined control sequence. How should I rectify it? Should I include ...
0
votes
0answers
15 views

Undefined control sequence for $ \left\{ f\in \mathbb{R} :f\neq 0\right\}$ [duplicate]

Undefined control sequence for $ \left\{ f\in \mathbb{R} :f\neq 0\right\}$ and for $\left\{ x\in \mathbb{R} :\neq -1\right\}$.
3
votes
2answers
90 views

how to give some text an equation number

I want to be able to write the following in LaTeX: We make the further assumption that \begin{equation} \label{eqn:assumption} There is a bounded linear operator $B:X\to X^*$ such that ...
3
votes
1answer
73 views

how to typeset empty inner product

I want to typeset the following in TeX (without the arguments). < , > I know that I can accomplish this by doing \langle , \rangle As an example I want to write something like the follwing: ...
0
votes
0answers
24 views

How to use function \newcommand to turn off math mode? [duplicate]

I have a problem. I defined new commands: \newcommand\be{\begin{equation}} \newcommand\ee{\end{equation}}, which works perfectly for math mode. Then I tried with more advanced formulas: ...
6
votes
2answers
274 views

Fractions with large elements

What is best practice for typesetting fractions with large objects in the numerator and denominator? For example, fractions with limits, integrals, summations, etc... cause the expressions to look ...
1
vote
1answer
38 views

How to use the displaymath environment within a table?

I am trying to use the cases construct within a table. I tried to follow this example. When I copy paste the entire example, it compiles without an error. But when I try to reproduce it, I get ...
29
votes
2answers
17k views

What is the difference between \dfrac and \frac?

The title says it all, both \dfrac{a}{b} and \frac{a}{b} make fractions, so what is the difference between the two?
1
vote
2answers
54 views

LaTeX question for \overrightarrow

I'm new to LaTeX and I have a question about the LaTeX code (which I have to do for my essay), for the inner product of vectors on an exponential*,how can I fix the problem that the two vektors k and ...