{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
1answer
43 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
43 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
45 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?
15
votes
3answers
906 views

Overline thickness

Is there a way in latex to change the vertical thickness (height) of the line generated by the \overline command? \[ \overline{\overline{A \vee B}} = \overline{\overline{A} \wedge \overline{B}} \]
20
votes
2answers
982 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
37 views

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

I read discussion about diferences between \[ \] and $$ $$; but nothing or very little about \( \) and $ $. There are a differences?
0
votes
1answer
92 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, $'$, ...
10
votes
4answers
998 views

Typesetting Quine quotes

The obvious way of typesetting Quine quotes, also known as quasi-quotation marks, in LaTeX doesn't work well when the content of the quote is tall. For example: \documentclass[12pt]{article} ...
0
votes
0answers
37 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 ...
0
votes
1answer
90 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
187 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
68 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 ...
3
votes
3answers
77 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 ...
11
votes
1answer
206 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
29 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
217 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)} } { ...
2
votes
1answer
43 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} ...
10
votes
6answers
2k views

How do I get function argument parenthesis to position correctly?

I'm having trouble with the appearance of parentheses representing function arguments. They appear to far away from the function name. For example the code ...
0
votes
0answers
31 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 ...
13
votes
4answers
798 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 ...
14
votes
5answers
3k views

How to create my own math operator with limits?

How can i write my own math operator with limits? I want it to look like: \sum\limits_{e=1}^{m} but with a capital A (if possible bigger than the normal text) instead of the sum. Thanks for the ...
3
votes
3answers
98 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
91 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 ...
7
votes
1answer
95 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 ...
38
votes
3answers
14k views

Can I get a \widebar without using the mathabx package?

One can use \bar to put a bar over a letter in math mode, but often the bar isn't wide enough. An alternative is \overline, but this isn't an accent, so it doesn't take into account the skew of the ...
4
votes
1answer
64 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 ...
1
vote
1answer
54 views

Even vertical spacing in multline and gather environments

Using fractions or expressions with sub- and superscripts may lead to uneven vertical spacing in math environments spanning several lines (i.e., align, gather, multline,...). A fix for align was ...
27
votes
3answers
51k views

Is there a circle symbol?

Is there a circle symbol for the composition of two functions? Or do I have to resort to using other ways to represent that?
2
votes
1answer
47 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 =, ...
4
votes
1answer
84 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} ...
2
votes
1answer
41 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 ...
3
votes
2answers
94 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
133 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: ...
4
votes
2answers
130 views

Unicode macros for square root and integral

Is it possible to define math-mode macros √ and ∫ which would expand in the following way: √a ≡ \sqrt{a} √{a + b} ≡ \sqrt{a + b} ∫ ≡ \int ∫_a ≡ \int\limits_a ∫^a ≡ \int\limits^a ∫_a^b ...
3
votes
5answers
114 views

Like displaymath, but without math-mode

I often find myself doing things like \[ \begin{tabular}{cc} foo & bar \\ baz & qux \end{tabular} \] or \[ \begin{verbatim} code snippet \end{verbatim} \] to put a table or code snippet ...
1
vote
1answer
85 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$.
6
votes
1answer
349 views

commath and \ifinner

The commath package use the TeX command \ifinner to select between inline math mode and display math mode. Because of this, it fail to work properly with some display math environments. In the breqn ...
3
votes
1answer
104 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
66 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 ...
12
votes
3answers
162 views

Nonstandard analysis: Typesetting `^*` depending on context

In nonstandard analysis, the nonstandard extension operator * is used frequently. Typesetting it is not straightforward, though, because the placement of * depends on the symbol to follow. E.g., the ...
12
votes
4answers
1k views

Can I get $$…$$ to behave like \[…\]?

Is it possible to modify LaTeX so that good old $$...$$ behaves like \[...\] (and by this I mean that it should be synonymous to it). If yes: Dear LaTeX3 developer, please integrate this into LaTeX3! ...
42
votes
4answers
56k views

Math symbol question: Vertical bar for ''evaluated at …''

How do I insert the line "|" after the equation in LaTeX (see image below)? I'm using LyX so if you can point me to the symbol of that line is also OK. I don't know if this line has a proper name ...
2
votes
1answer
43 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
34 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
81 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 ...
62
votes
2answers
72k views

Nice looking empty set?

I feel like the standard $\emptyset$ is ugly. By hand, my empty set symbol is a lot rounder, then this "slashed-zero"-type symbol. Two questions: Do people really use it (I mean people who have any ...
4
votes
2answers
81 views

How can I set the \boldmath font with unicode-math?

I am trying to typeset a document in Linux Libertine, and I want to use the font for alphanumeric characters in math mode as well. I am using unicode-math, not mathspec, because I need to specify ...
2
votes
1answer
56 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
45 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 ...