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

9
votes
0answers
64 views

Side effects of changing blackboard bold font with \setmathfont

I'm using Latin Modern Math as math font but, since I don't like the blackboard bold letters that come with it, I replace them with the ones from TeX Gyre Termes Math. I believe to achieve this, the ...
7
votes
0answers
81 views

Why equation Recognizes section Above While aligned Does Not

I am placing equations either right after section headings, right before them or both. I know that this is not advised, but I do believe in my context it looks better. One interesting thing I noticed ...
5
votes
0answers
111 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 ...
4
votes
0answers
29 views

Why does \mitsans#1 command (unicode-math) still produce upright sans serif in math mode

I never thought that sans serif letters are subset of the glyphs in unicode OpenType fonts, until I see this in texdoc unimath-symbols: However, I cannot get the italic shape of sans serif letters ...
4
votes
0answers
191 views

Drawing Cross Sections of (Contours over) Torus

I have this simple torus \begin{figure} \begin{center} \begin{pspicture}(-6,-4)(6,4) \psset{viewpoint=30 10 25 rtp2xyz,Decran=30,lightsrc=viewpoint} \psSolid[object=tore,r1=2.5,r0=1.0,ngrid=36 72,...
4
votes
0answers
135 views

PGF pretty number printing equivalent in LaTeX

For TikZ and pgfplots I use : \tikzset{/pgf/number format/.cd,use comma,1000 sep={\,}} And all numbers are typeset accordingly, with no other command. Is there a way to have the same convenience ...
3
votes
0answers
48 views

Equations not showing

\documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} f(x) = x^2 \end{equation*} \end{document} When I type this in MikTex I always get an error and cannot see the ...
3
votes
0answers
73 views

need italic dollar sign

I want to have not only italic numbers but also italic dollar sign in Latex math mode. I found that some people get this with the \pounds symbol, however I do not achieve to do it and anyways this ...
3
votes
0answers
127 views

Problem with numbers in equations in latex

I have a problem with numbers in equations! This is an example: ‎\documentclass[openany]{Thesis}‎ ‎\usepackage[top=3cm,right=3cm,bottom=2.5cm,left=2.5cm]{geometry}‎ ‎\usepackage{xepersian}‎ ‎\...
3
votes
0answers
123 views

dot2texi: Use latex labels (texlbl) with clusters

I'm using the dot2texi package to include dot graphs in my tex files. With nodes, I can use texlbl="$n_1$" to create a label n1. I want to have tex labels also on clusters: \documentclass{beamer} \...
3
votes
0answers
115 views

Typing Russell's “Sur la Logique des Relations”

I'm having some trouble typing Russell's definitions in TexWorks, mainly because of the spaces and numerations of propositions. Anyway, my output it's a complete disaster. How could I maintain the ...
3
votes
0answers
97 views

Retrieving coordinates of every character in a formula

I'm writing a program that uses LaTeX to display formula's. The user must be allowed to click on different parts of the formula, and the program should know on which part the user clicked. Is there ...
3
votes
0answers
245 views

Knitr and numbers

I return to a question, which is few months old and then maybe not yet the best practice around. I use the siunitx package in my documents along with knitr to compile my R chunks. As far as I ...
3
votes
0answers
156 views

AUCTeX folding and square brackets in math mode

I want to use the folding functionality of AUCTeX, mainly to replace math macros with the corresponding symbols. But at the same time I want to continue to use square or curly brackets additionally to ...
3
votes
0answers
72 views

How exactly is spacing in and around a multiline math environment determined?

I've tried reading various sources (in particular Tex By Topic; I don't have a copy of the TeXBook) and experimenting on my own, but I'm still unclear as to how exactly the line spacing in and around ...
3
votes
0answers
354 views

French math style with default font

Edit: Okay, I found it, just needed more focus on the related entry. The package mathastext called with the frenchmath option does the job. The time for my first question to stackexchange could have ...
3
votes
0answers
105 views

Math application/library that uses LaTeX?

I don't want to re-invent the wheel here, and I know that there are a lot of good math libraries out there for all sorts of things; what I'm wondering is if there's one that generates its answers in ...
3
votes
0answers
167 views

How to use a lualatex FeatureFile to adjust sidebearings in math mode?

I am trying to use Linux Libertine as a letter font (and a bit more) in math with unicode-math and luaLaTeX. It should be good to adjust some details, and I hoped to be able to do it with a .fea ...
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 ...
2
votes
0answers
36 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 ...
2
votes
0answers
58 views

Is there a more typographically-satisfying bigints package?

I found the bigints package but as its documentation shows, the symbol is simply scaled up in size which leads to a much thicker stroke: Is there a package that deals with this properly, or failing ...
2
votes
0answers
97 views

Beamer presentation

I am trying to create a beamer presentation on TeXMaker and the problem that I'm having is that if I try to insert any type of equation into the presentation or just anything requiring $$, for example ...
2
votes
0answers
46 views

Is there a package which does typeset subscripts automatically upright or provides an easy syntax to do to so?

Some time ago there was a question of how to typeset subscripts automatically upright (Typeset index upright automatically). The answer works, but it seems like a hack. Is there any package out ...
2
votes
0answers
23 views

Is there an \intertext equivalent for IEEEeqnarray?

I mostly use align* environments throughout my document and make heavy use of the \intertext macro, but was dismayed to find no such thing exists for IEEEeqnarray. I searched the webs (e.g. How To ...
2
votes
0answers
29 views

polylongdiv with terms in reverse order

Is there a way to use \polylongdiv in the polynom package to display and calculate polynomials in the reverse order from the way the package is written? For example, \documentclass{article} \...
2
votes
0answers
29 views

texh4ht how NOT to print math as images when math is displayed

Edit: I use an extension of tex4ht, https://github.com/michal-h21/helpers4ht ================================ I define a trivlist2 in order to control the space around \[ and \]. I want tex4ht to ...
2
votes
0answers
36 views

Spacing in displayed equations with a piece of text in the middle

In order to avoid an excess of symbolism, I like to typeset displayed equations with some text replacing some connective, as in (\forall x\in \mathbb{N}: \{1,\dots,x-1\} \subseteq B) \...
2
votes
0answers
67 views

How should I label the differentials (arrows) in sseq for a spectral sequence?

I'm trying to typeset a spectral sequence using the sseq package, which provides a way to place objects on a grid and draw arrows between them. I'd like to put labels on the arrows, as one can do with ...
2
votes
0answers
64 views

Different display styles in math mode?

Code: \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} %\usepackage{mathabx} \begin{document} \[\phi(\underbrace{r\cdots r}_{n-\text{veces}}) \qquad a\in A \qquad A\subseteq B \...
2
votes
0answers
49 views

Adding default \skew to math accents

Out of corporate design reasons I should use Helvetica for my documents. I could simply ignore this, as most people do ;-) But out of fun I just combined ideas taken from sfmath and beamer to make ...
2
votes
0answers
111 views

Typesetting a pair of slash symbols to indicate parallel lines

To indicate that two lines - or line segments - I want to typeset two slash characters. I used $\overline{AB} \slash\slash \overline{CD}$. The space between the slash characters is too much, though. ...
2
votes
0answers
1k views

How should I typeset the complex conjugate of a subscripted variable?

I have a variable $z_{2n+1}$ and I want to write the complex conjugate of it. I am not sure which of the following should be preferred: \bar{z}_{2n+1}: The bar is not so large and may be hard to ...
2
votes
0answers
304 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
0answers
160 views

Font-independent convention for multi-letter variables in math mode

For several years now, I have always used \mathit to display variables that have more than one letter, to ensure proper kerning: \fbox{$foo = f(jazz)$} vs. \fbox{$\mathit{foo} = f(\mathit{jazz})$} ...
2
votes
0answers
113 views

Can I use xymatrix to make a spectral sequence ? meaning how to make the boxes?

Is it possible to use the xymatrix command to make a spectral sequence ? Since xymatrix has all the arrows, what I am really asking is are there commands that will enclose the entries in a lattice of ...
2
votes
0answers
114 views

Using oldstyle numbers in XeLaTeX math mode for ONLY inline math

Is there any way to use OldStyle numbers for text and inline math only, while using Lining in the align and equation environments? Ideally via mathspec, but I'm open to other solutions.
2
votes
0answers
435 views

DejaVu Serif Condensed: Matching math font using PdfLaTeX

I like the DejaVu Serif Condensed font as text font, but I did not find an appropriate math font for it. To overcome this, I thought about two possible solutions: Finding an existing math font ...
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 ...
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 ...
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.
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 ...
1
vote
0answers
63 views

The palatino font does not allow for the mathtypesetting

I use TeXlive with TeXMaker on a Debian system. The palatino font does not allow for the mathematics type setting. Here is a minimal example. \documentclass{article} \usepackage{mathpazo} % Use the ...
1
vote
0answers
41 views

How to add a text after the name of function?

I want to write a sentence like this: f_{a}(x,y,t) some text here But when I write like this there is no space between words. How can I fix it?
1
vote
0answers
38 views

amssymb: mathfrak subscript doesn't scale

I have an elementary question with the package amssymb and the therein contained math script font \mathfrak{}. When I use a math-mode command like $\pi_{\mathfrak{X}}$, i.e. a small Greek pi with an X ...
1
vote
0answers
48 views

When a term has letters as subscripts they looked squished. How can I improve the appearance?

When I have a term that has letters as subscripts, the letters look squished and frankly, are hard to read in some cases. Is there some easy tweak I can do that will improve the readability of the ...
1
vote
0answers
51 views

Sans serif upright lower-case Greek letters for beamer class

I use the beamer class with the cmbright package which provides sans serif Greek and Latin letters for the math mode and also sans serif-ish versions of math symbols such as \partial. Unfortunately, ...
1
vote
0answers
36 views

Horizontal placement of superscripts (Math mode, LaTeX)

Is there any way to adjust the horizontal placement of a superscripted character? In particular, whenever I have a character that also has a subscript, the superscript ends up directly above the ...
1
vote
0answers
22 views

texmaker commenting in math mode colors

Can you set the color of comments in math mode to be grey like normal comments? For instance \begin{array}{cl} \min & \tr XBX^T \\ \text{s.t.} & |Xe-2e|^2=0, \\ & ...
1
vote
0answers
27 views

Insert command with keyboard shortcut in TeXstudio

For inserting dashed lines inside matrix structures, I have to use the command \hdashline from the package arydshln prodominantly. I am wondering whether TeXstudio supports assigning a specific ...
1
vote
0answers
47 views

More space between the lines in cases

I'm using the cases environment in one of my formulas. Each case is a fraction so I'm using \displaystyle to let them appear bigger. However, the result looks quite ugly because there is no space ...