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

5
votes
1answer
66 views

Trying to build a more intelligent (context sensitive) macro

I would like to build a macro that correctly identifies the context within which it is being called and appropriately set modes and font size according to context. Yesterday I started building a ...
16
votes
2answers
424 views

Stacked symbol doesn't align properly. Why?

A modified equals sign used represent use of L'Hopital's Rule isn't aligning well with other equals signs. How would I fix that? I'd prefer to do so without manually fiddling with spaces, if possible. ...
4
votes
1answer
88 views

Why are certain mathematics operators not defined and how do I replicate them?

I noticed that while \ker renders correctly as the "kernel" operator in Linear Algebra, the corresponding \im for the "image" is not defined (I tried everything that could possibly be an abbreviation ...
1
vote
1answer
56 views

Minimal Requirements for Creating Math PDFs

I downloaded WinEdt, MiKTeX with TeXworks, and SumatraPDF for viewing. I was alerted that WinEdt is shareware and I will have to pay in one month to keep it. Is this the case with the other two ...
5
votes
2answers
65 views

Missing $ inserted when printing numerical phrase

Thanks for taking the time to reply, I did already search the forums and google and know this is a common problem but none of the suggestions I found worked. When trying to use latex to print the ...
0
votes
1answer
62 views

Define shorthand command

I use a lot of times the following code: \begin{gather} \begin{aligned} Math here \end{aligned} \end{gather} Is there a way to define a new shorthand command like the following: \SC { Math here } ...
4
votes
2answers
99 views

Delimiters as math symbols (and not delimiters)

I am currently using delimiters (brackets, [ and ], to be precise) as symbols in math equations. Of course, the compilator considers the brackets as delimiters, and the spacing is thus not very ...
6
votes
1answer
123 views

Choosing sans-serif font, without changing anything else

How do I make Arev the font for the sans-serif family, but nothing else? I tried using \usepackage{arev} \usepackage[T1]{fontenc} as instructed on this page, but that made everything sans-serif. I ...
5
votes
2answers
357 views

Can I move the hat symbol vertically upwards?

I'm using mathpazo to format a document and have just become annoyed that a hat appears to be rendering too close to the letter it's decorating. I'd like to move the hat upwards, but am not sure how ...
2
votes
1answer
82 views

Subscripts on Variables uneven

When I write something like $|x_n y_n - xy|<\epsilon$ the n's in the subscripts are placed at different depths, which looks awkward in my opinion. For instance, see this post over on ...
7
votes
2answers
185 views

Creating Mathematics PDF

I am soooooooooo confused... you people can laugh at me while I waddle in my technological ineptitude. OK. As per the half dozen (mutually contradicting) suggestions in which (or under which) I was ...
0
votes
2answers
45 views

How to square a previously squared terms

I am trying to get my term to look like 2^(2^n) and that is how I put it in the code, but it is not working. Any help would be appreciated!
5
votes
1answer
87 views

Typeset WHOLE document in sans-serif, Including Math Mode

The reigning answer for the Simplest way to typeset entire document in sans serif (Helvetica) completely disregards math-mode. This might be preferred when all math equations are set display style, ...
3
votes
2answers
124 views

How to create this arrow?

How to create this arrow with letter up and down ?
0
votes
1answer
37 views

extending \widetilde in formula [duplicate]

I have the following code: \widetilde{\text{trunc}(\Delta_\mathbf{tot}(X))} and the output in codecogs is How Can I do to extend \widetilde? How Can I do to have the following formula:
6
votes
2answers
149 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 ...
0
votes
2answers
96 views

How to create a mathematics LaTeX document [duplicate]

Ok, this is a complete newbie question: How does one create a methematics paper using LaTeX for a PDF? Specifically, I need help knowing: What to write the document in How to render the Latex How ...
3
votes
1answer
53 views

Problem with cases environment when used in a stack

I use the following code when I want to typeset math which was kindly written by Stephen B. Segletes but I have a problem when I try to use in it the cases environment. There is no problem with the ...
4
votes
3answers
469 views

How to create this matrix in LaTeX?

I want to create the following picture in LaTeX. How can I do this?
4
votes
0answers
63 views

PGF pretty number printing equivalent in LaTeX

For TikZ and pgfplots I use : \tikzset{/pgf/number format/.cd,use comma,1000 sep={\,}} And all numbers are typeset accordingly, with no other command. Is there a way to have the same convenience ...
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( ...
2
votes
2answers
65 views

How to create two series of align equations in the same document?

This question is similar to a previous question about how to create two series of numbered equations in the same document. However, the proposed solution doesn't work for my question, because it ...
14
votes
1answer
274 views

Etiquette for math subscripts and superscripts

It is my first question here, I hope it is not too stupid... I am writing my thesis in math and I need a lot of subscripts and superscripts. My problem arises since in subscripts and superscripts ...
4
votes
1answer
116 views

Old Style Fonts not applied to whole document

The old style font is not applied to the whole document. Whats the issue there? The MWE: \documentclass{article} \usepackage{siunitx} \usepackage[osf]{libertine} \begin{document} 92\si{\percent}\par ...
1
vote
0answers
44 views

Style question: Good spacing in (display-)math

I was quite disappointed to find no recommendation on spacing in math-mode in the AMS guide, so I wanted to ask if there is some rule of thumb for spacing math like \[ x_n \to 0 \quad (n \to \infty) ...
4
votes
2answers
75 views

Decrease Vertical Space in Aligned environment

How can one have control over the vertical space brought on by a \\ for the new aligned entry in the aligned environment? For example, how to I condense the following? $\begin{aligned} a & b \\ ...
3
votes
0answers
27 views

Changing a macro's output depending on immediate context

I've set up a macro for differential parts as so: \newcommand{\dd}[1]{\,\mathrm{d}#1} which is useful for differentials at the end of integrals because of the space. (I realise the argument ...
4
votes
2answers
101 views

Resizing dynamically the `e` of the exponential function

I've been looking around and found that this question has been asked at least a couple of times, but the solutions are been correct work around. Let's say that I have a formula with a piece like: ...
2
votes
0answers
69 views

MinionPro package conflicts with {esint}

I am using MinionPro font but it conflicts with esint package. The compiler always complains: LaTeX Error: Too many math alphabets used in version normal. Therefore I am forced to use the integral ...
1
vote
1answer
78 views

Math mode in LyX (on a Mac) does not display properly [closed]

When editing math mode basic symbols (such as \in, \cdot, \leq) do not render properly. Once I leave the edit mode of a particular equation it renders properly in the cmr font. (See screen shots ...
3
votes
3answers
186 views

How can I typeset this mathematical expression?

How can I typeset this mathematical expression?
2
votes
2answers
106 views

Set notations problem [closed]

I am trying to write that y contains the elements a,b and c and that y is a subset of x and that x contains {a, b, c} and d and e. However, my latex code doesn't parse. I have been trying this for ...
4
votes
1answer
36 views

How to make \StrLeft understand the math expressions as full words in headers?

Here How to cut a section title in the header we learn how to use \StrLeft with the package titleps. However, LaTeX outputs an error when there is a math expression in my header say, \section{The ...
5
votes
4answers
195 views

How to add a line break in math mode but number the whole as one formula?

I am trying to get the following formula on two lines like this: \begin{equation} W \in \mathbf{M}_N \rightarrow W' \in \mathbf{M}_{N+1}\\ (w_{ij})_{1\leq i,j\leq N} \mapsto (w_{ij})_{1\leq i,j\leq ...
7
votes
1answer
228 views

Beamer Block: White Space When Using Math

I want to reduce the white space (above and below) when I insert an equation environment in a beamer block. \documentclass{beamer} \usetheme{Antibes} \usepackage{amsmath} \begin{document} ...
4
votes
2answers
152 views

Compiling problem

I have had the problem of compiling my document with the following table in it: \begin{table}[!h] \centering\small \caption{Thickness measurements on the two tubes.} \label{tab:Thickness_measurement} ...
2
votes
1answer
63 views

How to use \owedge and \boxwedge

We can use symbols of $\otimes$ and $\boxtimes$, $\oplus$ and $\boxplus$, $\ominus$ and $\boxminus$ in Latex. However, do we have $\owedge$ and $\boxwedge$, which combines $\wedge$ in the mid of a ...
6
votes
3answers
112 views

How to get spacing in math mode without just repeating fixed spaces (tilde ~)?

I'm looking for a way to move text in my equation, instead of just shoving multiple ~~~~ until it's in the right position. I'm quite new to LaTeX, what exactly would be the command? I'm also looking ...
0
votes
1answer
64 views

LaTeX error for the command \begin{center} [closed]

I have this code: \documentclass[14pt]{report} \usepackage{amssymb,amsmath,graphicx} \usepackage[utf8]{inputenc} \usepackage{float} \usepackage{hyperref} \usepackage{mathrsfs} \usepackage{mathtools} ...
4
votes
1answer
92 views

Necessity of nested \text within math mode for proper \mathchoice-based scaling

Quick summary: \text can be used to ensure proper scaling with respect to the correct math style. When exactly should one use it for that purpose? What need is there for nested invocations of \text ...
3
votes
2answers
140 views

How to change calligraphic capital letters in mathpazo?

I'm trying to get the calligraphic capital "E". I really like mathpazo package but I'd like to change the way it renders calligraphic "E". Below is a picture: when I type and compile $\mathcal{E}$ I ...
13
votes
3answers
368 views

Force latex to show a square matrix as square

How can i force latex to print out square matrix as a square matrix with equal width and height in math-mode? I also read amsmath documentation, but don't found any useful help on it. For example ...
2
votes
1answer
103 views

flalign numbering [duplicate]

I have an equation that is so large that it needs to span over several lines. However I also have a particular alignment that I want, so I used the flalign environment to lay it out as I want it to ...
4
votes
2answers
181 views

How can I typeset those braces?

How can I typeset the following expression?
7
votes
2answers
798 views

LaTeX is crossing its limits

Pardon for the funny title. I have a large report in the middle of which there is a sentence Let $\mathcal{L}$ : $\mathcal{O}$ $\rightarrow$ $\mathcal{S}$ be a function This shows in the report as ...
1
vote
0answers
45 views

Environment for Mathematics

I am writing some notes and in them there is 95% mathematics, give or take, so I use $...$. The problem is that if I want to go into a new line and I use the \\ there is the risk of badbox creation. ...
3
votes
1answer
133 views

Typesetting mathematical formulas in line breaking

When you typeset a mathematical formula is there a rule regarding the breaking of the formula in a new line, meaning if for instanse the formula breaks in a plus sign (+) or in a equal sign (=) then ...
0
votes
1answer
51 views

script F (or something like it) [duplicate]

How can I enter this 'F' in LaTeX? \mathcal{F} looks quite similar to it, but a little bit different. I prefer not to use additional package if possible.
0
votes
0answers
24 views

Displaystyle/limits for custom operators [duplicate]

I want to write this: $ {\text{\huge N}}\limits_{i<k} $ and have it produce output comparable to this: $ \sum\limits_{i<k} $ That is, I want a sum with limits underneath it, but I want it ...
0
votes
1answer
47 views

Writing the dimension of a variable in latex

I am trying to write the information about the dimension of a vector like this $M \epsilon R^N$ In the paper, they write it nicely, it looks nice. However, I am not sure what I am doing wrong, but ...