{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
58 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
78 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
106 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
183 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 ...
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
46 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
61 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
120 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
117 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
113 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
89 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
241 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
152 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
69 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
346 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
162 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
45 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
18 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
27 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
65 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
56 views

Spoilers in Web-Accessible Pdf Documents?

A highly regarded professor of mine is currently writing a graduate mathematics textbook in which he has given the book a theme of ``do it yourself'' mathematics. He has asked me to review the book ...
2
votes
0answers
61 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
43 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
107 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
296 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
156 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
109 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
113 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
433 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
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
36 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
46 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
38 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
32 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
19 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
26 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
40 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 ...
1
vote
0answers
45 views

\mathcal only allowed in math mode

I am having a couple of errors with this code. With the second line 'missing $ inserted' Then with the third line it says '\mathcal only allowed in math mode'. Would anyone be able to help me with ...
1
vote
0answers
39 views

\triangleleftneq and \trianglerightneq commands?

There are certain 6-tuples of commands, such as: \subset, \subseteq, \subsetneq, \supset, \supseteq, \supsetneq <, \leq, \lneq, >, \geq, \gneq There are also commands \triangleleft, ...
1
vote
0answers
120 views

Problems compiling math w/Beamer when running as non-administrator

I am having problems compiling a Beamer-presentation w/math symbols when running as non-administrator under Win7-64. (I use TeXStudio 2.10.8 with a complete install of MiKTeX 2.9.) To give an example, ...
1
vote
0answers
71 views

Divided differences table

is there a package that will automate the typesetting of the triangular table used to calculate the coefficients used in Newton's devided differences algorithm?
1
vote
0answers
39 views

How to define a \widebreve command?

I would like to define a \widebreve command to employ with large symbols (such as $M$, or letter combinations such as $AB$) in math mode. Does someone know how to do it?
1
vote
0answers
28 views

Adding vertical padding to characters in math

This is my first post here, so please bear with me. I'm writing a dissertation with a heavily modified version of the book cls. This dissertation is very equation-heavy. I'm writing vectors in ...
1
vote
0answers
49 views

Right-aligning specific text in math-mode

I got a long code to place a text on the extreme left (by defining a new command \beforetext) in all math modes, could someone please provide similar code to place a text on the extreme right? Also I ...
1
vote
0answers
65 views

Big double integral sign

I'm trying to make a double integral, but, somewhy, the sign appears small compared to regular integral signs, does anybody knows why? And how do I solve this? I am using the 'equation' environment