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

0
votes
0answers
22 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
3
votes
1answer
44 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 ...
2
votes
0answers
42 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. ...
5
votes
2answers
82 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
59 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
43 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
88 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
42 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 ...
8
votes
1answer
244 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
32 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
30 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
31 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
78 views
+100

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
923 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
34 views

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

I read discussion about diferences between \[ \] and $$ $$; but nothing or very little about \( \) and $ $. There are a differences?
12
votes
2answers
138 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
78 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
27 views

Symbol for None/Null/undefined variables that are not sets

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 ...
-1
votes
1answer
70 views

Using “align” instead of “array” in an array of equations

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
172 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
47 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 ...
10
votes
1answer
185 views

how to display upright letters in math mode without manually creating space?

\documentclass[11pt,a4paper]{article} \title{Title} \author{Author} \begin{document} \maketitle $\{ n \mid n\ \mbox{is\ even} \}$ \end{document} Since it is a relatively rare occasion for me to ...
0
votes
0answers
28 views

Typesetting the arc symbol over three letters [duplicate]

How do I put the arc symbol over three letters to indicate that the three letters together represent an angle? For example, the display from the following code gives five points - A, B, C, D, and E ...
6
votes
3answers
199 views

Align square root symbols in equation

I have the following equation in my tex document: \documentclass{article} \begin{document} \begin{equation} x_{ij} = \frac{ \sum_{t}{e_i(t)e_j(t)} } { ...
3
votes
3answers
67 views

Adjusting the description about an equation in Latex

I have to write the "Where" text about an equation as shown the given picture. The "Where" text appears to the left side which seems a little awkward as per the standards. Please suggest me, how can I ...
2
votes
1answer
32 views

babel's active " making problems in math mode

MWE \documentclass[norsk]{beamer} \usepackage[utf8]{inputenc} \usepackage{babel} \usetheme{Warsaw} \begin{document} \begin{frame} ``forkaster hypotesen om at $P(\text{"mynt"})=0,5$''. \end{frame} ...
0
votes
0answers
24 views

Beamer: control thickness of roman text in math environment (and vice versa)

Problem: I've written the following expression with beamer \begin{exe} \ex $\llbracket \phi\wedge\psi \rrbracket^{\mathcal{M},w,g} = \textsc{alt} \left\{ \alpha\in W ...
3
votes
3answers
93 views

Is there a cleaner way to get the proper spacing in this alignedat?

Here's an excerpt from an equation that I'm typesetting. The output is correct and looks how I want it to look. Here's the MWE that generates this output: \documentclass{article} ...
1
vote
1answer
58 views

Changing middle line to some other symbol. Latex Table

\begin{tabular}{|c|c|} \hline $ \langle R_1.Y \rangle$ & $ \langle \dot{-}R_2.X, \dot{-}R_2.X \rangle$\\ \hline $\langle a \rangle$ & \\ \hline \hline $\langle b ...
13
votes
4answers
741 views

How do I create a bordered Hessian matrix in LaTeX?

I am supposed to use the following matrix in a math problem: But based on my experience with LaTeX's tables and matrices, I know this is beyond me. Can anyone tell me how to make the following ...
7
votes
1answer
76 views

Change font for math functions (sin, log, etc.) in ConTeXt MkIV?

When I’m using the Euler font for math, I notice that since Euler is upright, the font for math functions like sin, cos, and log is identical to variables. Is there a way to change the font for math ...
4
votes
1answer
46 views

Introducing new version of a math symbol from another font

I'm trying to use a "hack" to get around the fact that \mathsf doesn't apply to lower-case Greek letters in math mode, by using the CM Bright font instead. What I'd like to have is a command, for ...
2
votes
1answer
42 views

How do I reduce the space between operators in math mode? [duplicate]

I have these operators +=, -= etc. in Math mode. LaTeX introduces space around single character operators. So I get + = and - = instead. However, in my case I want no space between the + and the =, ...
2
votes
1answer
33 views

newtxmath and breqn problem: Viewing capital Greek math incorrectly

I am writing a document with too many long equations and I adopted the use of breqn package for its simplicity in writing such long equations when alignment is not a big restriction. The problem is ...
4
votes
1answer
63 views

Symbols for left and right limits

I am using lualatex, are there symbols for left and right limits, like small "-" and "+" to put above the numbers? For now I use \documentclass[a4paper,12pt]{book} \usepackage{fontspec} ...
3
votes
2answers
78 views

Dagger symbol in math mode in ConTeXt with Euler font?

I followed this answer to use the Neo Euler font in math mode. I found that the dagger symbol (†) is missing in Euler. Is there a way to use the dagger symbol from the text mode font in math mode? ...
5
votes
2answers
126 views

Using macro with optional argument inside macro with optional argument

I am trying to define a macro that has an optional argument that can take a macro with an optional argument as an argument. A minimal example to explain the problem more clearly: ...
3
votes
0answers
48 views

How to restrict TexStudio macro script to work only in text/normal mode?

I understand that you can write (?highlighted-as:numbers,math-delimiter,math-keyword) before your trigger and TexStudio will execute the macro only in Math mode. I already tested that in "scripts ...
1
vote
1answer
62 views

How to read \vartheta and vocally distinguish it from \theta? [closed]

I am going to vocally report my paper. I have used both $\vartheta$ and $\theta$ in the equations. How should I read $\vartheta$ and vocally distinguish it from $\theta$.
3
votes
1answer
93 views

Problem $\lrcorner$ appears much too low

Although I've been using Latex for many years, I just understand the minimum to survive and don't have clue of where the problem can come from. So here are the loaded packages. ...
3
votes
2answers
63 views

Symbols for > and < inside text

Code Area $> 50 \, \si{\mu m}$. which does not look nice according to my assist with > being too big: Command $\g$ does not exist. There many ways to fix this problem. I heard some ...
2
votes
1answer
38 views

How can I improve alignment of the numerator and denominator when vector norm bars along with subscripts throw things off?

Here's the really bad case: With a red bar to show what is bothering me in particular: Here's a simpler case where the issue is a non-issue, but perhaps one can get a hint of why it starts to ...
3
votes
2answers
28 views

Equation inside Intertext{{} under falign{} environment

Can i use $ Equation $ inside and outside \intertext{} under flalign environment. Because of these two lines my all equations got justified to left. Please help in this regard. Before adding it is ...
4
votes
2answers
70 views

an \underhat and \underwidehat

So $\hat x$ and $\widehat x$ give upper hats of different length, however, unlike \overbrace{} had an \underbrace{}, one sometimes needs an \uhat and \uwidehat. What is the best (cleanest, fewest ...
2
votes
1answer
46 views

Excess space before \[ at start of paragraph

When I have a displayed math equation (\[...\] or equivalently the displaymath environment) at the start of a paragraph right after a heading, there is too much space before it. This short code ...
3
votes
2answers
40 views

Aligning multiple lines in long equations and arranging the line breaks in `\align` environment

I have the following code sample: \begin{align} \pi^{(1)}_{i j} \enspace & = \enspace -\frac{1}{4}\eta^{\lambda \sigma} \left( \eta^{\mu \alpha}\eta^{\nu \beta} + \eta^{\mu \beta}\eta^{\nu ...
6
votes
3answers
44 views

Bigcup, bigwedge etc. inside brackets gets space above

I want to have the following formula: \[\Phi=\{\phi\}\cup\left\{\exists \mathsf{x_0}\ldots\exists \mathsf{x_{n-1}}\left[\bigwedge_{0\leq i<j\leq n-1} \mathsf{x_i}\neq\mathsf{x_j}\right]\right\}\] ...
1
vote
1answer
63 views

Integral domain on two lines [duplicate]

Consider the following integral: $$\int_{\text{One line \\ Second line}} \text{Loss}\left(\text{Foo, Bar} \vert \alpha\right)$$ which renders: How can I have One line and Second line on two ...