{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
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
71 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
75 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
38 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
163 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
38 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
154 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
47 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
67 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}, ...
0
votes
0answers
109 views

Symbols do not copy correctly from latex pdf to ms word

I have text containing 3 symbols in pdflatex and produce pdf. It is OK. Then i copy these symbols and paste in MS word 2013 and have another symbols or from one symbols two are produced: Before ...
1
vote
0answers
82 views

How should I write math? [closed]

I'm new to TeX and I would like to use it to write math (on a Mac). I've just downloaded MacTex and I'm wondering what's the recommended workflow. Am I supposed to write math in TeX macros/code and ...
3
votes
0answers
97 views

Drawing Cross Sections of (Contours over) Torus

I have this simple torus \begin{figure} \begin{center} \begin{pspicture}(-6,-4)(6,4) \psset{viewpoint=30 10 25 rtp2xyz,Decran=30,lightsrc=viewpoint} \psSolid[object=tore,r1=2.5,r0=1.0,ngrid=36 ...
6
votes
1answer
62 views

Conditional whitespace in math mode

Clarification \documentclass[fleqn]{article} \def\foo{What do I put here???} \begin{document} \[a \foo b\] \[\foo b\] \[a, \foo b\] \[a, b\] \end{document} I would like the document just ...
1
vote
1answer
31 views

measure width of multi-line math code

I would like to measure the width of multi-line math code. My approach below does not always succeed. In the second example an additional line break is inserted: I believe that it has to do with the ...
2
votes
0answers
31 views

How to put an ending sign within equation for theorem-alike environments? [duplicate]

Thanks to an answer to my question asked here, I used the following codes to generate for each theorem-alike environment exactly one square symbol as the ending sign: \documentclass[12pt]{amsart} ...
4
votes
1answer
148 views

missing $ inserted on code

I am certainly new to latex and have this error in a high frequency in my code. The error is claiming I have a missing $ sign in many places, and I imagine that my syntax usage of $ is off. My ...
1
vote
1answer
120 views

How to write system of differential equations

I need help in writing this system in LaTeX: EDIT: I need more help because I am still unable to use the provided solution. My system is: \begin{empheq}[left=\empheqlbrace]{align} ...
1
vote
2answers
25 views

Sizing of nested expressions in math mode

Consider the following example in math mode: \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} \begin{equation} e^{i\frac{\theta_{\!j}}{2}} ...
0
votes
0answers
46 views

prevent linebreak before $math$

I have several linked documents with lots of $$ equations. Sadly line break happens often before the equations. I know I could prevent this using ~ but adding it everywhere seems quite a lot work. May ...
0
votes
2answers
76 views

How we fix (La)TeX math coding to be left aligned

In display math (employing $$...$$) content normally gets aligned centered. But, I need it to be left aligned. Any suggestions? Example $$f(x) = \frac{{{{\sin }^2}x{\mkern 1mu} \cos x}}{{\sin x + ...
2
votes
5answers
176 views

A symbol in LaTeX [duplicate]

I want to write this symbol in LaTeX. I looked for it on Detexify and some code-lists but found nothing. EDIT: I want the arrows and also the letters (general inputs in that place) Thanks!
0
votes
0answers
34 views

Spacing between subscript and operator

How to change the spacing between operator and its subscipt or superscript I want different spacing for sub and super script
4
votes
1answer
70 views

Is there a parenthesis code that work in all contexts and arguments?

This question is about having the most generic parenthesis code if one doesn't know the contents size of the parenthesis a priori. If I want to write a function or parenthesized equation I write, for ...
3
votes
1answer
87 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. ...
7
votes
2answers
119 views

Scaling \ddots in smallmatrix

I'm trying visualize a very large matrix. To do so, I'm trying to use \vdots and \ddots in a bsmallmatrix enviroment. It works but they do not scale properly as \cdots do. Now, in the minimal ...
1
vote
0answers
117 views

Use truetype Comic Sans font in XeTeX

I want to test truetype comic sans fonts in xetex, the following codes are modified from source of free-math-font-survey: \documentclass{article} \usepackage{amsmath,amssymb} ...
2
votes
1answer
75 views

Matrix format in Latex

How can a matrix be written in LaTeX? I have tried to use \begin{matrix} but I need to write the matrix below and I cannot understand how to fill it up exactly as this.
2
votes
2answers
119 views

Labeling equations and math mode

I have to write the equation shown below in Latex and I am using {\textbf{q}=($\mu$ $_1$ $\mu$ $_2$ ... $\mu$ $_{n-2}$ $\mu$ $_n$ )\textsuperscript{T}} and it comes OK. However, I need to ...
5
votes
0answers
64 views

Replace an upright Greek math alphabet in mtpro2

I need to replace the gamma and upright uppercase Gamma alphabets in mtpro2 with their counterparts from newtxmath in both normal and bold styles. I asked a related question, viz., How to replace ...
11
votes
1answer
367 views

Getting superscripts in math mode without the ^ character

Is there a way to get the superscript math mode behavior without using ^? By way of background: I work at a large school that has a large web site that occasionally has math content on pages. I ...
1
vote
0answers
14 views

Symbol at the end of an environment [duplicate]

I'm putting a diamond symbol at the of a remark by use of \usepackage{amsthm} ... \newenvironment{rem}{\begin{remark}}{\hfill$\diamond$\end{remark}} However when the rem environment is ...
0
votes
1answer
47 views

How to type this math symbol? [duplicate]

I've got to type this symbol in my article. I've searched through Internet but haven't seen anything about how to write it in TeX command. It is perhaps rarely seen or used. But I really need to use ...
1
vote
0answers
50 views

Latex Beamer does not compile letters in math mode [closed]

I'm using version 3.33 of the beamer class (this is the first time I'm using this version), Miktex 2.9 and Texniccenter version 2.0 Alpha 3. I have the problem that letters in math mode do not appear ...
2
votes
1answer
52 views

Change default font for math environments

In beamer, is there way to have mathematical expressions put in serif by default, while the rest of the text is in sans-serif?
2
votes
1answer
110 views

How to replace certain Greek letters in mtpro2 with their counterparts from newtxmath

I use mtpro2 package in my article for writing math and Times Roman for text. The question is how to use certain Greek letters (like \gamma which I see better in newtxmath) from newtxmath instead of ...
20
votes
2answers
994 views

$a,\ b$, and $c$ vs. $a$, $b$, and $c$

If I want to list three constants a, b, c, it appears that both lines in the following MWE produce the same visual results, at least in the MWE itself and in all the experiments I have conducted: ...
1
vote
0answers
38 views

Difference between \( \) and $ $ [duplicate]

I read discussion about diferences between \[ \] and $$ $$; but nothing or very little about \( \) and $ $. There are a differences?
14
votes
2answers
220 views

Kerning and ligatures in upright math font with unicode-math

How can I get the kerning and ligatures of text mode in an upright math font with the unicode-math package loaded? 1. Without unicode-math Code: \documentclass{article} \begin{document} ...
0
votes
1answer
100 views

How to represent the following math in LaTeX

I want to know how to express the following (complicated) math equations in LaTeX.
0
votes
0answers
20 views

' and ^t to the left of a letter [duplicate]

There are times where I want, say, a superscript $t$ to the left of another letter to denote, say, the transpose of a matrix. Or, I might want to decorate a letter on the left with a prime, $'$, ...
0
votes
0answers
50 views

Symbol for None/Null/undefined variables that are not sets [on hold]

I am trying to describe is the "Null" or "None" value commonly found in programming languages. Is there a symbol that is commonly used for this, such as a Null/None symbol? For space reasons I'd ...
0
votes
1answer
92 views

Using “align” instead of “array” in an array of equations [duplicate]

I want to produce big parenthesis like this: Left brace including several lines in eqnarray How do I do this with align instead of array? I do not want to use eqnarray though. Thanks.
6
votes
2answers
193 views

Decimal point in sans serif font

For some reason, when I use \mathsf{}, the decimal point doesn't seem to be affected: \documentclass{article} \begin{document} \textsf{This is an example.} $ \mathsf{\frac{1}{2} = 0.5} $ The rest of ...
2
votes
1answer
80 views

Switch between sans and sans-serif math with MyriadPro and MinionPro

I have a document using MinionPro as serif and MyriadPro as sans-serif font families. Math is set by default with the serif font but for captions I like to switch to the sans-serif font. A minimal ...