{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
3answers
112 views

Adjust the height of the “|” in a mathematical term

I have a mathematical term produced by two different pieces of code: \displaystyle H\left(\frac{1}{2},\frac{1}{2}\left|_{C_{k}=1}\right.\right) \displaystyle ...
4
votes
2answers
60 views

Cancel maths expression with a down arrow

The following solution to the question where soome maths text is to be cancelled out makes use of the cancel package. There the macro \cancelto produces an arrow from bottom left to top right. It ...
0
votes
0answers
44 views

To have math in section's name with doi -package (hyperref) [duplicate]

This thread evolves from my discussion here. Minimal example \documentclass{article} \usepackage{mathtools} \usepackage{polyglossia} % also loads package fontspec \usepackage{unicode-math} % if you ...
2
votes
1answer
54 views

Supply commands to be executed upon leaving math mode

I have an important macro \textmacro that can only be invoked in text mode. I would like a macro \mathmacro such that issuing the command Some text $a^b\mathmacro c^d$ more text is automatically ...
1
vote
2answers
102 views

Problem with right $ and {} placed in math formula

I have problem with my latex code. I read a lot about math text formating in latex, but now I'm just confused about what is wrong in this formula. Can anybody help me with this? Thanks so much! ...
6
votes
2answers
109 views

How to combine \overbrace and \overline the way I want?

Consider the following: \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \begin{document} $u=\overline{\exists degree\hspace{3pt} \overbrace{\big(\underbrace{degrees(course, ...
1
vote
0answers
40 views

How to correctly write this norm symbol? [duplicate]

I would like to write a norm symbol of not two double vertical lines but rather two triple vertical lines. Currently I am doing it as \|| \cdot \|| instead of \| \cdot \|, but I have two issues with ...
1
vote
0answers
32 views

Filename to text

I have several code files I want to include in my appendix in the following format: Appendix X filename -------------------------------------------- filecontents With an ...
3
votes
1answer
79 views

Aligning the \text in formula

I have, let's say, 5 of the equations spread throughout the document and I want them to be aligned similarly. The equation consist of two parts -- the formula itself and short descriptions (let's say ...
6
votes
2answers
77 views

Aligning stackrel signs beneath each other using split

I'm typesetting a proof by induction using split to align equality signs precisely beneath each other. One of the signs should have 'IH' on top of it to indicate that the induction hypothesis has been ...
4
votes
2answers
110 views

Math-Mode: No-Delimiter

This is a subquestion related to: Evaluation Symbol Is there something of the form \left<?> instead of \left. telling latex to enclose the expression here and not to insert any delimiter at ...
4
votes
2answers
84 views

Evaluation Symbol: Consistent Implementation

This question has been posted several times but... I'm looking for a consistent implementation of the evaluation symbol: Evaluation bar as delimeter: <...>| Auto-size to its enclosing ...
0
votes
2answers
70 views

Using mathematical symbols alpha, beta, implies in latex

How can I use the mathematical symbols like alpha, beta, implies and many more symbols in the tex file?
3
votes
3answers
60 views

math mode: subscript in front of variable [duplicate]

Any idea at how I can have a subscript on the left side of a variable? This is for an agent-based model that requires a little too many indices --- so I thought of trailing the one refer ...
1
vote
2answers
55 views

How to leave spaces in a formula [closed]

I want a space in between the variables in this formula (monadic first order temporal logic). I tried using \, and \hspace{} but both do not seem to work. Can somebody help me out? sample formula: ...
2
votes
3answers
174 views

Multi-Line Brackets

I can't seem to get the parenthesis to wrap around the RHS of the equality. I get the following error: Errors: ./review.tex:239: Extra }, or forgotten \right. [\end{split}] ./review.tex:239: Missing ...
0
votes
1answer
58 views

How to write Mathematical expectation and Probability in the following form

What commands should I use to type the following operators and ?
5
votes
3answers
179 views

Inverted circumflex not as diacritic

How do I typeset a caron or inverted circumflex as a character on its own in math-mode, rather than as a diacritic above another character? I need to do this because I want to use it as a superscript, ...
-2
votes
0answers
105 views

create graph with 3 Y axis in latex - please help me [closed]

Please help me Thank yousasasasa hjhjh d s'd s'd s'ds I have some questions: I want to creat graph with three Y axis: one left and two right axis Explain: First Y1 must be with three row, that ...
4
votes
2answers
162 views

Missing character: there is no 'x' in font nullfont

I want to generate an image from a Tex file. I use a template and then programmatically insert LaTeX inside it. For example, if I want to create an image for x^2 + \phi, this would be the resulting ...
7
votes
1answer
83 views

how to use fbox in align mode

I'm trying to highlight the diagonal elements of a matrix by using fbox but I failed. I've searched for the problem, some ppl suggest using tikz. I don't want to use it, so I decided to use fbox{}. ...
3
votes
2answers
42 views

Missing $ inserted error using smaller than and smaller equal

I have a compilation error trying to use the math symbols <= <, etc. the error looks like this: ./chapters/intro.tex:49: Missing $ inserted. [Delta & \delta], ./chapters/intro.tex:49: ...
2
votes
1answer
51 views

Problem with math superscript and subscript in arabxetex

I would like use math superscript ^ instead of \sp in mathematical formulae in an Arabic environment when using arabxetex. Unfortunately it doesn't work, see the below example. Is there a way to solve ...
1
vote
1answer
20 views

Use both boondox-ds and the blackboard fonts from amsfonts

I want to use the blackboard bold font boondox-ds provided by the boondox package, but keep, for denoting number sets, the \mathbb from amsfonts. What boondox-ds does, however, is overwriting \mathbb. ...
0
votes
1answer
35 views

How can we alot the equation number in the answer box?

How can we alot the equation number in the answer box? I need to mark my equation $$\sin^x+\cos x=15$$ as $1.1.$ But i don't know how can i do this. Kindly help me to the thing so.. My work I am ...
2
votes
1answer
37 views

Numbering an equation when using \displaymath

I am using the hyperref package and want to label a piecewise equation. However, I only know how to use \displaymath to do a piecewise equation and the \label doesn't put a number next to the ...
3
votes
2answers
46 views

arranging the arrows in align environment

I have the following code and I dont know how to align the two horizontal \Longleftrightarrows vertically higher than they are now. Ideally they need to be only vertically moved a bit up so that one ...
3
votes
3answers
72 views

Every element of a matrix with \displaystyle

Is there a way to achieve every element of a matrix to be with \displaystyle? I tried many approach but no style change happened within a matrix environment. For example, \documentclass{article} ...
0
votes
1answer
37 views

Describing and referencing exercises in latex

I would be like reference the exercises have done such that it says Exercise 1 (Author [number], Chapter i, Exercise i.j ) \documentclass[a4paper, 11pt, notitlepage]{report} \usepackage{amsfonts} % ...
4
votes
2answers
57 views

Lowercase pi that is shown correctly in sub- and superscripts

I am looking for a way to define a new mathematical symbol, namely a lowercase pi, that will resize according to the font size of the surrounding text. The normal \pi will not suffice as I am already ...
5
votes
2answers
40 views

Correct positioning of right-hand superscript in combination with \underbrace

I have a term that needs both an underbrace and a transpose sign as a superscript on its right side. There are three options in what order the \underbrace command its corresponding subscript and the ...
2
votes
2answers
61 views

How to move the whole block of {align*} to some spaces towards the left?

I use {align*} a lot, it seems that the block of {align*} are automatically centered. How could I shift the block towards the left margin to some spaces? (I.e. not all the way to left, but just some ...
4
votes
2answers
297 views

Looking for a certain math symbol

I have a very simple question. I'm wondering how to type a certain symbol in TeX. I've never encountered this symbol before today, and even after perusing the list of TeX symbols I can't find it. I ...
1
vote
1answer
75 views

How to do fractions

On the math stack exchange, I've figured out I can do \sin and \int and \theta. I've also figured out that you can use \frac for fractions, but I'm having trouble using it. Can someone explain how ...
1
vote
0answers
20 views

adjust vertical space between horizontal line of the radix in denominator and the horizontal line of the fraction

Even in display math I guess that there is too little space between the top horizontal line of the radix symbol and the horizontal line of a \frac. How can I control that vertical space? I have a ...
1
vote
2answers
30 views

Is it possible to use \underbrace across align* environment?

I have two sets of equations in an align* environment and they are all just how I want them, but I want to draw an underbrace from the left bottom equation to the right bottom equation, but it throws ...
4
votes
2answers
432 views

Mapping $$…$$ to \[…\]

As mentioned in the post below, $$...$$ should not be used in LaTeX: Why is \[ ... \] preferable to $$ ... $$? If $$...$$ is not to be used and \[...\] has to be used, why is $$...$$ still made ...
10
votes
5answers
1k views

Defining `$$$ $$$` to align

I would like to define $$$ \zeta(s) = \dfrac1{1^s} + \dfrac1{2^s} + \cdots $$$ as a short hand for \begin{align} \zeta(s) = \dfrac1{1^s} + \dfrac1{2^s} + \cdots \end{align}` How should I go ...
1
vote
0answers
43 views

restricted maps

I want to write a 'restricted map' (a map which is equal to another map but with a smaller domain), we show it by drawing a vertical line and a subscript but I don't know if it has a specific method ...
3
votes
1answer
31 views

How to: height of “|” depends on both sides

I want that a vertical line depends on the height of the signs to its left and to its right: i.e. \documentclass{article} \begin{document} \begin{equation} \left. AAAA \right| BBBB ...
0
votes
2answers
44 views

equation goes out of margin [duplicate]

\[ \left| \dfrac{(1-\beta e^{i\theta}) \sum_{k=2}^{\infty}(k-1)[1+\gamma(k-1)] \alpha_k\beta_k z^k}{B(1-\beta e^{i\theta}) \sum_{k=2}^{\infty}(k-1)[1+\gamma(k-1)] \alpha_k \beta_k z^k ...
5
votes
3answers
382 views

Braket notation in LaTeX

I am using the braket package to generate bra and ket vectors. However, I could not figure out how to do <0|0> using the package. Is there a command for this?
0
votes
2answers
92 views

Can we use Math mode in TeX using the Command Prompt?

I would like to know whether math mode in TeX, could be used, through the command line, and if so, would the document compile? I don't know the steps to follow to accomplish it, through the prompt in ...
2
votes
1answer
50 views

Formatting matrices with vector elements along column headings?

Often I've seen the matrix equation Ax = b presented as matrix A augmented with vector b, with the individual elements x_1 ... x_n written sequentially as headers across the columns; is it possible to ...
1
vote
2answers
90 views

Why the font in my equation is different?

My code is \newcommand\rsx[1]{\left.{#1}\vphantom{\Big|}\right|} \begin{eqnarray} &&let \;\; L(\bf{X},\lambda,\mu)= f(\bf{X})+\sum_{i=1}^p ...
1
vote
2answers
97 views

How to write a mathematical formula in 2 lines?

I have a mathematical formula with many symbols and Greek characters, but it is too big. So I want to split it in two lines. I use \\ between $, but it doesn't work. Does anybody know how to fix it?
1
vote
1answer
132 views

Writing formula in LaTeX

How can I write the formula shown below? I am new to LaTeX and I found how to write upper bounds but it is getting really complicated writing it as a whole.
2
votes
1answer
63 views

Put one part of sentence outside $ math environment

I want the 'assume' written in normal style. So not within the math environment so it becomes italic. This is my code \documentclass{article} \usepackage{amsmath} \begin{document} ...
3
votes
1answer
40 views

Libertine with sfmath and siunitx in Beamer

I am trying to use the Linux Libertine fonts with sfmath and siunitx package but it doesn't work with beamer class. \documentclass[11pt]{beamer} \usepackage[utf8]{inputenc} ...
2
votes
1answer
35 views

Footnote in stackrel positioned too high

In my document, I'm using symbols for footnotes (*, †, ‡, etc.). However, when I place a footnote mark inside stackrel using \stackrel{\footnotemark}{=} for example, the symbol is positioned too high. ...