Tagged Questions

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

To type these math declares in XeLaTeX

I am converting my codes from pdflatex to XeLaTeX Minimal case \documentclass{article} \usepackage{polyglossia} % also loads package fontspec \setmainfont{Minion Pro} % or whatever OTF you have on ...
1
vote
1answer
61 views

Boxing 4 equations with a thin gap

Currently i have. \begin{equation*} \boxed{ \begin{split} EQUATION1 \\ \\ EQUATION2 \\ \\ EQUATION3 \\ \\ EQUATION4 } \end{equation*} However the gap inbetween looks ridiculous and would ...
2
votes
2answers
33 views

Change the sans serif math font

I would like to change the sans serif math font to, say, Kurier, while keeping the roman font as the default. In other words, I'd like to change the font that is used with \mathsf whithout affecting ...
1
vote
2answers
70 views

How can I write a cursive letter k in math?

Using amsmath, writing $\ell$ produces a cursive lowercase letter l. I would like to have a reasonably matching cursive lowercase letter k, available through \kay e.g., so that I can write things ...
4
votes
2answers
62 views

I'm getting the error “missing } inserted” in LaTeX

\documentclass [12pt,letterpaper]{exam} \usepackage{amsmath, amsthm, amsfonts, amssymb, amscd, latexsym} \usepackage{type1cm} \usepackage{simplemath} \oddsidemargin 0.0in \evensidemargin 0.0in ...
1
vote
1answer
59 views

Upright Lowercase $\pi$ as Default

This question has helped me in creating a command for my own package (more a list of commands I defined) to force upright lowercase \pi, and so in my package I have the following code: ...
1
vote
0answers
42 views

How to avoid line break with \[ \] syntax [on hold]

I know I should not use $$ $$ for math equations since it's deprecated, and instead I should use \[ and \]. But with this notation, every formula I type is centered on a new line. How can I have the ...
0
votes
1answer
48 views

No output PDFfile produced - mathmode

There is no pdf file produced even though no warning is shown. If I replace the formula with some text, the pdf output is produced. \documentclass[hyperref={pdfpagelabels=false}]{beamer} ...
9
votes
1answer
376 views

Using LaTeX to solve math problems in LaTeX more efficiently than with only paper

I have been always solving math problems in LaTeX without pen and paper, since a few years ago. Some have (many) lines of words, some (many) lines of equations, and some of both. When I saw that I ...
3
votes
1answer
62 views

Polylongdivision add factors next to the steps

Well for example, take \documentclass{article} \usepackage{polynom} \begin{document} \polylongdiv{x^3 - 7x -6}{x + 1} \end{document} I wish the function to display clearly next to each ...
2
votes
1answer
43 views

The bold styles in `$\mathbf{\mathrm{x}}^*$ ` doesn't work

The bold styles in $\mathbf{\mathrm{x}}^*$ doesn't work. I was expecting to receive an upright, bold symbol x, but didn't. Why is this the case?
4
votes
4answers
191 views

Spacing after equals sign in align

I find that I have unpleasant spacing between the equals sign and (e.g.) the exponential function in this particular case, while using the align environment. I have a long expression which has to be ...
0
votes
1answer
20 views

Package `glossaries`: Temporarily disable `\makefirstuc` in `\glsnamefont` for specific entries with math content

I use the package glossaries and I have \renewcommand*{\glsnamefont}[1]{\makefirstuc{#1}} in my preamble as suggested in the documentation to make each entry start with an upper-case letter in the ...
6
votes
4answers
542 views

Split this equation up

Is there a nice way to deal with the following problem? I have an equation that is too long for a line, but I can't split it up that easily, as it contains a fraction. \begin{equation} ...
0
votes
1answer
24 views

small equilateral triangle, for symmetry groups [duplicate]

I'm currently doing a module on pure mathematics. And one thing has been bothering me slightly, I know that the material is written using latex, in some of the chapters about symmetries they use these ...
2
votes
0answers
42 views

Lower the exponent in $\hat{h}^2$ [closed]

In Mathjax, h^2 \hat{h}^2 (\hat{h})^2 results in I want the middle block, but with 2 lower.
1
vote
1answer
42 views

Question about an equation from LaTeX Search

I was randomly looking in LaTeX Search and I found the following formula: P\left( {E_n^{\left( d \right)} ,{\text{i}}{\text{.o}}{\text{.}}} \right) = 0\quad {\text{or}}\quad {\text{1}} In it there ...
0
votes
0answers
16 views

Line numbers are not showing for part of my document?

I am using "lineno" package and a paper Latex template from a journal. {the whole .cls package} the numbering was working fine after using \begin{linenumbers} and then suddenly stopped numbering from ...
4
votes
1answer
77 views

missing } inserted, Displaying aligned matrix equations, yet braces balanced

I am trying to display in math mode two system equations aligned \documentclass[9pt,a4paper,twocolumn]{article} \usepackage[margin=1.5cm]{geometry} \usepackage[english]{babel} ...
5
votes
1answer
104 views

Math accents overlap in beamer

Consider the following MWE \documentclass{beamer} \usepackage[english,spanish]{babel} \uselanguage{spanish} \languagepath{spanish} \usepackage{lmodern} \usefonttheme[onlymath]{serif} ...
1
vote
1answer
72 views

Tag placing with amsmath

I'm using amsmath and its \tag command to tag equations. I remember having a situation where I liked having the tag on the left better than on the right. So I gave my class (which is report btw) the ...
1
vote
3answers
95 views

Looking for stylized H-symbol

I'm wondering if LaTeX knows the following symbol (sorry for the hand-drawing, I didn't even find it online once): It's kind of a stylized H letter that is sometimes used to denote the Hilbert ...
2
votes
0answers
62 views

Square root long division method

I wanted to draw the working column for this method of finding square roots: http://youtu.be/UnshaiwljGY Here is an image example of the process: But I am unable to draw it because I am new to ...
2
votes
2answers
63 views

Overline over a symbol with an index

For example, if I want to write a closure of a set, which is denoted A_1, should I use $\overline{A_1}$ or $\overline A_1$ (or something completely different)? For me, the more logical choice seems ...
3
votes
2answers
100 views

Reformat the mathematical product sign

I'm pretty sure there is a simple formatting solution to this, I just can't find it anywhere. I'll describe what I want to achieve with the code and the picture. In my last post I was told to add ...
0
votes
1answer
76 views

How put color in all math mode?

I want to put all math mode in a color, for example, red. But I don't know how to do that. In this web I found how to do it, but in Beamer, I want do it too in Article, Book, etc. Thanks for your ...
0
votes
1answer
39 views

Getting items above and below a compound math symbol

I'm trying to get information to appear above and below a math symbol such as \sum or \leftrightarrows. I've found information detailing \mathop and the syntax behind it but when I try to use it, it ...
7
votes
2answers
103 views

Aligning equations in matrix with outside character

I would like to align these equations on the equals sign (so that the curly braces are flush) and also align the 'ranges' on the RHS side on the 't'. Can anyone help? \begin{equation} ...
3
votes
1answer
63 views

Importing single symbols in the sense of “How does the assignment work?”

I looked at Importing a Single Symbol From a Different Font and Handwritten R-like-kay. As a result, I downloaded the STIX package and looked up the highly welcome curly k \kay and found it to have ...
3
votes
2answers
101 views

$\varepsilon$ not show in bookmark?

I don't know why the math in section is not show in bookmark? \documentclass{amsart} \usepackage{bookmark} \usepackage{hyperref} \hypersetup{ pdfencoding=auto } \begin{document} ...
1
vote
0answers
39 views

Change the font used by \text

The \text macro can be used to embed text fragments in math formulas. However, if one uses separate math and text fonts (e.g. because the text font does not support math), \text of course uses the ...
2
votes
1answer
99 views

writing fractions inside a matrix

How to write a matrix which is showed above in latex ? Please help me with this matrix.
1
vote
1answer
48 views

Make box in math mode with current math font

The commands $\mathcal{\mbox{$M$}}$ and \mbox{$\mathcal{M}$} produce different output. I would like a replacement for \mbox that creates a box preserving all features of the current font in math ...
2
votes
1answer
52 views

Subscript scaling with Latin Modern Math

I'm using XeLateX, Unicode math, and the Latin Modern fonts (Latin Modern and Latin Modern Math). To me, it looks like subscripts in mathematical expressions are being properly (optically) scaled -- ...
4
votes
4answers
127 views

Make uppercase letter have same width as number in math mode?

I want to have \[ \begin{array}{c} \phantom{+} \, 39A_{12} \\ \underline{+ \, 488_{12}} \\ \phantom{+} \, 866_{12} \end{array} \] but the spacing looks awkward with the "A". Is there a way to get ...
5
votes
1answer
152 views

Different shape of parentheses

While correcting a thesis of a colleague I found this: As you can see, the parentheses around the first and the second item differ, however, they're implemented in the exact same manner (see code ...
4
votes
2answers
89 views

Bar over/under integral symbol

I try to typeset bar over/under integral symbol with \overline\int,\underline\int But the line looks too long, any solution?
2
votes
1answer
64 views

Kerning on the boundary between mathmode and textmode

Consider the following code: If $x ∈ X$, then $y ∈ Y$.. When it is rendered by TeX, the space between “X” and “,” and similary between “Y” and “.” seems to be too big. Is there any problem with ...
2
votes
1answer
32 views

Number to text - error results with fraction

When I use integer with following code, it works correctly. But fraction (say 4.7) is used, errors result. \documentclass{minimal} \usepackage{fmtcount} \begin{document} \numberstringnum{4} ...
2
votes
1answer
54 views

How to add space in math mode after a line break

I want to be able to add some space at the beginning of a new line - in math mode. What I have now is this: What I'm aiming for is this: I tried \hspace but it seems to be ignored when there's ...
2
votes
2answers
44 views

\widetilde{} alternative for formula over the tilde

I'd like to put some formula over the tilde in math mode and adjust the tilde length to the length of that formula. It seems that \widetilde{} is almost what I need, however it puts the formula below ...
2
votes
1answer
110 views

Align math sequence next to text

I am writing an assignment and I have a long algorithm that takes up almost a whole page. I would really like this to be shoved to the side so I can write besides it. For the algorithm to look correct ...
4
votes
1answer
53 views

Font size inside subequations environment!

How I can change the font size inside the subequations environment? See below: \begin{equation} \textstyle \xi_{1} = A + B + C; \end{equation} The command \textstyle works fine inside the ...
1
vote
1answer
111 views

What is this typography in this variable?

I am wondering how to get "gamma2" to have the same font as in Doing gamma2 = \Gamma (\alpha + 2) gives the wanted equation, but "gamma2" does not have the font of the example. How can I get ...
4
votes
2answers
200 views

Spacing around longer function argument's parentheses

The line i(x,y,z,t) = \delta(x-\ell_x(z)) \delta(y-\ell_y(z)) \hat{\imath}(\xi(z),t) produces (for my eyes, at least) too little space between the successive function calls. It is difficult to ...
0
votes
0answers
51 views

Unbalanced columns after using multicol

I'm having some issues getting my equations to balance after entering the multicols environment. You can see that the equations are slightly unevenly matched. Any help is appreciated. ...
4
votes
2answers
298 views

Fast way to start a new line

I have quite a few equations in a latex document that are similar to this one here: \mathbb{E}(\cos^2) = \frac{\pi \left(\beta \left(8 \left(2 \alpha ^2+2 \alpha +1\right) \beta ^2-12 (2 ...
3
votes
2answers
114 views

Should superscripts be carried out of a fraction?

I can't help stumbling upon the usual way LaTeX renders fractions with superscripts: I think that the asterisk has a lower "weight" then the symbol and should not be treated as equal. I find ...
3
votes
1answer
88 views

Math aligned, equation pushed to the left

I am using the aligned environment in order to represent the equations aligned, but latex is always pushing the first line a little bit more to the left, since there is no for part there, i tried to ...
1
vote
1answer
29 views

Missing $ error with matrix

The code below produces the mistake in the picture. Any idea why? % !TEX encoding = UTF-8 Unicode \documentclass[a4paper,12pt]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...