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

1
vote
1answer
74 views

How can I center this formula?

Here is my code: \documentclass[12pt,a4paper]{book} \usepackage[T1]{fontenc} \usepackage[chapter]{algorithm} \renewcommand{\baselinestretch}{1.5} \begin{document} \begin{spacing}{1.2} ...
9
votes
2answers
314 views

Is there any environment that works exactly like \begin{equation}, but without going into math-mode?

I would like to write a sentence that is centered and numbered automatically at the end. If what I am trying to type is just an equation, \begin{equation} works very nicely. However, since what I ...
3
votes
0answers
56 views

BA (Baskerville) Math Font from micropress available? [closed]

For several years now, I've been trying to get my hands on the BA Math Font from micropress. But I can't find anyone who has it, or who is willing to sell it to me (including the original authors). ...
2
votes
1answer
50 views

Harrowing missing $ inserted error with 'case'

I am a complete newbie to LaTeX. I am having a harrowing time with the missing $ error. I have the following code: \begin{cases} soil(i, j) if min(soil(i, l)) $\geq$ 0\\ $k \notin nodes$ \\ soil(i, ...
2
votes
0answers
73 views

Upright math in italic lemma

I naively entered the following math-mode/text mix in a theorem environment, but the way LaTeX treats the parenthesis doesn't seem right. Especially upright math formulas in italic text parenthesis ...
6
votes
2answers
191 views

Tables: Missing $ inserted

I'm trying to learn how to use Latex so I've got a little bit of problems in understanding what is the mistake that I've made. In this case I'm compiling a Table containing multiple datas about ...
5
votes
1answer
91 views

problem with footnote in tcolorbox (math mode)

I have problem with footnote in tcolorbox, footnote mark on math mode is numbering with arabic while in the footnote area is numbering with alphabet. This is an example to show you what I mean, ...
2
votes
1answer
69 views

Contour Integrals [duplicate]

I know that \oint gives a closed line integral sign, but how do you make the same with a double integral instead? I tried \ooint and \oiint but neither worked. EDIT: Also what would the corresponding ...
5
votes
1answer
129 views

Typeset an upright ell

The $\ell$ character in math-mode is clearly slanted to match the usual slant of math-mode characters. Is there a way to typeset an upright version, that won't look slanted amid other ...
1
vote
0answers
37 views

How to type this symbol in Latex? [duplicate]

Just want to know how to type this symbol in Latex. I saw it used in the axioms of probability. Thanks.
4
votes
2answers
394 views

What program is something like this created on?

Been trying to further improve my LaTeX skills, and such to make my notes look better. But I was curious if you guys could easily tell what program something like this was created in? ...
8
votes
3answers
194 views

How to typeset readable diagonal matrices with large entries?

I would like to illustrate the structure of two matrices, but unfortunately they become hard to read very quickly. This is because its entries' expressions grow with every line. The equation looks as ...
1
vote
0answers
21 views

Use sub and superscript as [optional] parameters for macro [duplicate]

I am defining a macro, and would like to run other macro's on any sub/superscripts given to it. For example, I would like to define it such that something like: \myMacro_{lower}^{upper} ...
4
votes
2answers
96 views

How to deal with a long subsection title which has formulae

I usually use subsection environments to write sub questions for a big question. It usually works well as shown in the first example below. However, I encountered an error for the second example ...
3
votes
1answer
54 views

Creating a smaller vertical bar

I want a vertical bar but in mathematical mode it appears too big. I just want a small | at the same height as the letters.
6
votes
1answer
144 views

LaTeX: Standard Errors (output below the line of maths)

I'm trying to replicate the above, but am unsure how to deal with putting the standard errors in the line below. Any help?
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
66 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
63 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
102 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
126 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
374 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
88 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
189 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
46 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
90 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
39 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
153 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
482 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
118 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
105 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
71 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
80 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
107 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
200 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 ...