{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
14 views

Long \mapsto-arrow

Is there a longer version of \mapsto, like with \rightarrow and \longrightarrow? I found an ugly solution by inserting a couple of \quads on top of \xmapsto, but it's not very elegant.
1
vote
1answer
32 views

Which library contains \left(?

I have included libraries amsthm, amsmath, amssymb, mathtools and hyperref and I get an error when I use \left( or \right). However, it doesn't happen in overleaf, which also includes graphicx, ...
5
votes
1answer
44 views

Substitute \frac for a slash (/) only on inline math mode

I was wondering if there is a way to have LaTeX interpret $\frac{a}{b}$ as $a/b$, but \[\frac{a}{b}\] as \[\frac{a}{b}\]. It is a little tedious to change a inline equation $a/b$ to a display ...
0
votes
1answer
36 views

Equation with condition [duplicate]

I'd like to create the following equation: Could you please give me a solution? Thank you.
1
vote
0answers
25 views

line breaking has no effect in doublespace

I am trying to break a doublespace content without any success. \documentclass{article} \usepackage{amsmath, amssymb, graphics, setspace} \begin{document} \begin{doublespace} \noindent \(\left\{\...
7
votes
3answers
148 views

Alignment in equation environment

I am not able to align equations within a curly bracket. My code is the following: \documentclass[12pt, A4paper]{article} \begin{document} Consider the following: \[ P\Big[\frac{1}{2}+\mu \Big ]=\...
0
votes
0answers
23 views

wrong output using \lim [duplicate]

I want to write an equation than contains a limit using the following MWE: \documentclass[a4paper,openright,12pt]{book} \usepackage[a4paper, total={165mm, 240mm}]{geometry} \usepackage{fancyhdr} \...
2
votes
1answer
35 views

Double Subscript in Math Mode

\usepackage{amsmath} \usepackage{siunitx} \begin{equation} 2I_{x}S_{z} \overset{\ang{90} \text{Pulse_{I_y}}}}{\rightarrow} \end{equation} For some reason this is not working. For the overset ...
2
votes
0answers
32 views

lacheck doesn't like factorials?

I have the following code. \documentclass{standalone} \begin{document} $n!$ \end{document} Running lacheck on it results "test.tex", line 3: punctuation mark "!" should be placed after end of math ...
1
vote
1answer
40 views

(II) How to render a large TexForm expression from Mathematica

As a follow-up to my question of two days ago How to render readable a large TeXForm expression from Mathematica I'd like to also similarly incorporate the following two expressions: 1. \frac{2 (\...
2
votes
0answers
37 views

siunitx changed something and when I comment it out, pdflatex freezes

I was using a latex template (provided by a journal) to write a paper with the journal's .cls file . These are the style files provided separately: AMSbsy; AMSfonts; AMSgen, AMSsymb, natbib, upmath ...
0
votes
0answers
32 views

Whats the difference between & and && in alignment? [duplicate]

Sometimes in math blocks I see people use & to align equations, while others &&. Sometimes they are used separately, sometimes together in the same block. Whats the difference?
0
votes
0answers
36 views

How to change font size in math mode

I am currently using a widget on a website that uses LaTeX in order to typeset math. Everything that is entered into the widget is automatically in math mode, so I cannot use things like \large to ...
0
votes
0answers
18 views

Outputting TeX to PNG or JPEG? [duplicate]

I found a couple of interesting formulas and would like to post an image of them on Twitter. Anyway, I'd like the formulas to look good, so obviously I'll be typesetting them with TeX... So is there ...
2
votes
1answer
43 views

How to render readable a large TeXForm expression from Mathematica

I am using \documentclass[preprint,showpacs,preprintnumbers,amsmath,amssymb]{revtex4} \usepackage{amsmath} \newcommand\numberthis{\addtocounter{equation}{1}\tag{\theequation}} I'd like to know how ...
1
vote
1answer
48 views

Argument of \mathaccentV has an extra }

I am not able to locate the source of this error. ! Argument of \mathaccentV has an extra }. <inserted text> \par l.238 I've run across a `}' that doesn't seem to match anything. Latex tells ...
0
votes
0answers
18 views

Difference in the three methods for unnumbered equation [duplicate]

What is the (subtle) difference between the three ways to typeset unnumbered equations (if any)? The first is the plain tex, $$ E = mc^2 $$ The second is the LaTeX \[ E = mc^2 \] And the third ...
1
vote
1answer
55 views

Help writing a matrix

I have trouble in wrtiting this block matrix Any idea? Thanks a lot.
6
votes
2answers
208 views

How to draw a vertical bar on top of a math symbol?

I can do $_\tau^{|}$ which renders: What I don't like is: The tau becomes under the baseline I can't control the line's length Can someone help me? Thanks!
5
votes
1answer
96 views

Dot over A not in the right place

When I write $\dot{A}(t)$, the dot is not aligned with the top of the letter A. is there a way to correct this?
4
votes
2answers
71 views

Different Sum signs

During my research I noticed different sum signs: The first one is mine and is created by $\sum_{i=1}^n$. The second one is from a paper. Any idea how to write it in LaTeX?
1
vote
0answers
21 views

Sympy in for Loop runaway argument error

I am trying to have the following document compile using sympytex. The goal is to generate squares of integers using sympy and the latex forloop into exsheets. I have been trying to fix the error for ...
7
votes
2answers
2k views

What is the meaning of $$$ in LaTex?

I want to know the meaning of the triple $ in my document. \documentclass[12pt]{article} \usepackage[letterpaper]{geometry} \geometry{top=1.5cm, bottom=2.5cm, left=3cm, right=3cm} \usepackage{...
8
votes
2answers
137 views

Lualatex and bm package

I've updated my latex packages yesterday and have now issues with lualatex. One problem arising for me now is, that lualatex does not print bold characters using the bm package. When I compile the ...
3
votes
1answer
40 views

Adjusting the Size of Summation Symbol inside an Enumerate Environment

Situation: I am making a compilation of problems involving the summation symbol. Problem: I want to resize my summation symbols but unable to do inside the enumerate environment even with the relsize ...
1
vote
1answer
29 views

How can I make a line break on HostMath [closed]

I want to express the following: I need to express it on HostMath, where \nextline somehow doesn't work. What I have so far: \text(If ) \frac{x-3}{3}=k \text( and ) k=3, \text(what is the value ...
5
votes
2answers
159 views

Should I keep using LaTeX to do my math homework?

My probability professor suggested us to try to use LaTeX for the homework. I have successfully wrote my first LaTeX project (5 pages). However, no one except me used LaTeX in that course. I spent 1 ...
3
votes
2answers
210 views

How to boldify math without changing font style

I want to boldify math equations and symbols with out changing the actual font. I tried the following, but I am not getting satisfactory results. a=f \equiv 2 \mod 4 \bm{a = f \equiv 2 \...
0
votes
0answers
21 views

How to stop latex from changing < to squiggles [duplicate]

How to stop latex from changing < to squiggles outside math mode?
4
votes
1answer
95 views

How to write this type of L in equation latex [duplicate]

How I can use this style of L in math mode?
14
votes
1answer
531 views

Bracket in math and text

When I write the pair (x,y) with Latex, which way is correct: ($x,y$) or $(x,y)$? Thanks in advance.
3
votes
1answer
72 views

How can I label my terms in LaTeX?

in Mathematics when we define or describe terms we draw a rotated bracket above or underneath each term ,then we write whatever we want. I hope you get what I mean otherwise I have to include a photo. ...
7
votes
2answers
97 views

What is the correct command to produce small wedges in differential forms?

In a differential form (see, for example, Definition 10.11 in Principles of Mathematical Analysis): there are wedge-like symbols. I found two plausible commands to produce them: \wedge and \land. ...
1
vote
0answers
43 views

How to improve my unicode/tikz enabled big integral sign?

I found the following Big integral sign after I asked the (almost?) duplicate Is there a more typographically-satisfying bigints package? and decided that the given solutions are not great. I found ...
5
votes
1answer
154 views

\bar and \overline

If I write $\bar{X}$ or $\overline{X}$ the bar (or the rule) over X is smaller or longer than the width of X. Is there any way to adjust the width? Thank you in advance. MWE \documentclass{article} ...
1
vote
0answers
14 views

Scale math formulae in reStructuredText [closed]

Hello I'm writing formulae with latex style in a rST format using this directive: :math:`d_{p}\frac{\frac{hc}{mr} \cdot v}{wd}` and the result compared with the text around is smallest than the ...
1
vote
2answers
74 views

Upright sans serif greek in math mode

Consider the following MWE, which typesets some sans serif math that I'm using in a presentation: \documentclass{article} \usepackage{sansmath} \usepackage{amsmath} \begin{document} \sansmath \[ w\...
2
votes
1answer
31 views

Pandoc refuses to parse math latex

I have a markdown file like: blah blah $|\left<R_j^{(x)},g_j^{(x)}\right>|$ blah I tried to use Pandoc to convert this file into a .docx file, but it cannot recognise the math expression ...
1
vote
0answers
77 views

A specific Math equation!

I have tried to look for how to make equation as it is shown in picture, can anyone help to show a link for math equations like this one.
2
votes
1answer
58 views

How to make vertical bar in equations?

When I try this: \begin{equation} \overline{bel}(x_{t}) = p ( x_{t} \textbar z_{1:t-1} , u_{1:t} ) \end{equation} I get following warning: Command \textbar invalid in math mode on input ...
3
votes
1answer
25 views

Spacing after displayed maths, before an \item

This question concerns spacing after displayed maths, and how it interacts with spacing inside an enumerate environment. Specifically, here's a MWE: \documentclass{article} \usepackage{amsmath} \...
4
votes
2answers
79 views

Sans serif upright greek in math mode

I need to write a document with the Helvetica font and found sansmathfonts to be good matching counterpart for math, but I'm open for other suggestions. Now I'm really struggling to get sans serif ...
3
votes
1answer
78 views

Lowering the prime symbol

I want to use a prime along a math symbol, but now it looks a little odd, e.g. like this: I would like to lower the prime, if possible. Is there a nice way to do this? Comment: stripping off all ...
2
votes
1answer
36 views

Eulervm: Use digits from other font

Is there a ways to the digits from another font for math? Ideally I would like to use ebgaramond as a main font and the old style figures form MinionPro for math since the old style digit 1 of ...
5
votes
3answers
522 views

How to have the arctan2 / atan2 function in LaTeX?

Is there an arctan2 / atan2 function in LaTeX, which can print an aesthetic result like the other trigonometric functions \sin \cos... ?
1
vote
1answer
46 views

Create an automatically command for: $\Rightarrow$

Is it possible to create a quick command for $\Rightarrow$, because when I write a math paper I use often this: $\Rightarrow$. I know that the simple command \Rightarrow it can be shortcuted, but $\...
6
votes
2answers
291 views

How to control the size of math symbols in an equation?

I've been struggling with this task for some time now. Basically I want to make this: Into something like this: I've tried \mathlarger from relsize package, but it simply didn't work (no effect ...
1
vote
0answers
45 views

Curious missing $ inserted?

I have no reason to doubt why the following is not working: function reaches unity at $ \theta \sim 3 \deg $ extending with weaker correlations at $ \theta \sim 25 \deg $. It throws the cliched ...
2
votes
2answers
38 views

How to ensure that content within a column vector do not touch? [duplicate]

I have some variables defined in a column vector written in mathmode in the usual way $\begin{bmatrix} \dfrac{1}{i} \\ \dfrac{1}{j} \end{bmatrix}$ However, the result shows that they are almost ...