{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
0answers
65 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
110 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
37 views

Angle brackets with commath and Asana Math too large (or small)

I want to set bra-ket equations in my document, which uses Asana Math (with lualatex, fontspec and unicode-math). commath is also a requirement for certain stuff. However, in this specific ...
3
votes
0answers
105 views

When to use upright letters in math mode

what are the conventions when to use upright letters in math mode? Example: \begin{align} W_{mag} = \frac{1}{2}LI^2 \end{align} should the inductivity and the current be typeset in ...
3
votes
0answers
108 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 ...
3
votes
0answers
59 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
103 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
71 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
123 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
98 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
125 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
59 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
58 views

Increase the thickness of a brace

I'd like to know if it's possible to increase the thickness of a brace. The code \documentclass[oneside]{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} ...
2
votes
0answers
105 views

General matrices

I want to use LaTeX to add matrix that looks like this: -----L_1----- -----L_2----- . . . . . . . ----L_n----- and matrices where I want to show how a general cell in the matrix looks like (for ...
2
votes
0answers
143 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
195 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
89 views

Longer Cap of \sqrt

I am using ShareLaTeX for assignment. I want to input an equation like: $EOQ=Q^*=\sqrt(\frac{2K\lambda}{h})$ and got output like this: But I really want the square root with longer cap (or ...
2
votes
0answers
164 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 ...
2
votes
0answers
72 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
60 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 ...
2
votes
0answers
234 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 ...
2
votes
0answers
322 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
56 views

A math prime symbol instead of single quote in text mode

I have an abbreviated name say ABC and I want to write something like ABC', but I prefer the quote to be the math mode prime symbol. Something like ABC$'$ will give me that, but is there a better way ...
1
vote
0answers
30 views

Getting tex4ht to output all math “unprocessed” between html tags

I would like to use tex4ht to convert a LaTeX document to an electronic book format, but rather than MathJaX or MathML, I want all math-mode code to be dumped into the html output between identifying ...
1
vote
0answers
35 views

Change certain characters font in math mode

I recently changed from pdfLaTeX to XeLaTeX to be able to use different fonts when it comes to typesetting math. I am using mathspec package with different fonts for Latin, Numbers and Greek. I have ...
1
vote
0answers
42 views

Change math font size only in one section

I'm trying to modify the math environment font size but only in a defined part of my document. \DeclareMathSizes{a}{b}{c}{d} works fine but affects the whole document. Is there a simple way to change ...
1
vote
0answers
57 views

Error: Missing $

I have bla $ H $ bla bla $ 2 \times 2 $ . blabla: \begin{equation} H = \theta \textbf{I} + \textbf{ \tau } \cdot \textbf{a}, \end{equation} Why does it give me the following error: ! Missing $ ...
1
vote
0answers
55 views

Qtxmath package with MiKTeX

I was planning to test the qtxmath package with the tgtermes fonts with MiKTeX 2.9: \usepackage{qtxmath,tgtermes} However, I encounter problems compiling the document: miktex-makemf: The qtmri ...
1
vote
0answers
136 views

Use truetype Comic Sans font in XeTeX

I want to test truetype comic sans fonts in xetex, the following codes are modified from source of free-math-font-survey: \documentclass{article} \usepackage{amsmath,amssymb} ...
1
vote
0answers
68 views

Right way for text inside math

I'd like to know (if there is) the better way to punctuate text inside math mode. I mean, when we use , or ;, they are punctuation for the text, not for the math and so I think that they should be ...
1
vote
0answers
101 views

How to obtain a heavier math font?

The current question is a follow-up to some previously asked questions, like this: It is possible to make fonts appear heavier (darker) in pdf output of Latex? and this: Make entire document heavier ...
1
vote
0answers
130 views

Text font matching CM Math?

I see many people ask about a math font to match their favorite text font. Here I'm asking the inverse question. When I first heard about LaTeX, I was so impressed by its super high quality output, ...
1
vote
0answers
48 views

Indexing the result of a lengthy matrix computation

this question relates to a problem about style or maybe convention. I have a matrix $M$ which is the result of a lengthy matrix computation (in my case: a long chain of matrix additions and ...
1
vote
0answers
102 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})$} ...
1
vote
0answers
105 views

The spacing of `\to`

Let's say I use \def\searrow{\mathbin{\text{\rotatebox[origin=c]{-33}{$\to$}}}} instead of the \searrow. But \mathbin doesn't seem to provide the spacing that \to has; what should it be? Other ...
1
vote
0answers
94 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.
1
vote
0answers
228 views

Write equations VAR and VECM equations in R

\documentclass[10pt]{article} \usepackage{graphicx} \usepackage{amsmath} \begin{document} \title{Case studies: Long run relationship} \maketitle \begin{abstract} The cointegrating approach is ...
1
vote
0answers
225 views

Math Fonts in ConTeXt

I have installed a standalone ConTeXt package: ConTeXt ver: 2013.11.10 12:23 MKIV beta fmt: 2013.11.11. This works well using Sublime Text 3 to edit and build ConTeXt. (I downloaded ConTeXt syntax ...
1
vote
0answers
26 views

Changing math font in ClassicThesis

I know this question will shock some typographical precisionist, but I would only like to receive a direct a simple answer. Is there a way to modify the classicthesis sty file to change the math font ...
1
vote
0answers
214 views

Math environment Minion Pro

I am using minion pro for my report and could like to change the math symbols in text environment.Currently the math symbols in text (section no, subsection no, figure no) appears as marked black in ...
1
vote
0answers
152 views

garamond (main) and mathpple (greek symbols)

i'm using GARAMOND font. But i would like some greek symbols to take from MATHPPLE. I think it's enough to write a command like "\DeclareMathSymbol{\Pi}{\mathalpha}{Letters}{5}". But i coldn't find ...
1
vote
0answers
252 views

How can I force a footnote to appear on the same page as a particular displayed-math environment?

In this example, \footnotemark and \footnotetext are used respectively inside and immediately outside of an align* environment to create a footnote. (Here the equation-numbering system is being abused ...
0
votes
0answers
30 views

`:` is set to `\colon`, but the spacing is still wrong - part 2

This question explains how to make : behave as \colon. It has two solutions. The present question concerns the second, less upvoted solution, egreg solution, as in this question of mine, it turned out ...
0
votes
0answers
29 views

Inline listing in ams environment drops space before mathescape

In http://tex.stackexchange.com/a/127018/83257 there is a patch to make inline listings work in math mode. When using this together with listings' mathescape option, the space after a math escape is ...
0
votes
0answers
42 views

Undefined Control Sequence-Equation

there, I am trying to work on a definition which includes equations like below, \begin{definition}[Weak Formulation] To get Weak Formulation, multiplying...............to get\\ ...
0
votes
0answers
23 views

Large Equation with no left hand margin

I have a large fractional equation with multiple lines already in the numerator. I want to get rid of the left hand margin entirely (or almost entirely) for this equation only to try and make it fit ...
0
votes
0answers
44 views

latex2html: cannot use mathematical formulas

I use latex2html to have my document in HTML format. I have a problem with mathematical formulas. I include the following packages: \usepackage{amssymb} \usepackage{amsmath} And when I write ...
0
votes
0answers
131 views

Symbols do not copy correctly from latex pdf to ms word

I have text containing 3 symbols in pdflatex and produce pdf. It is OK. Then i copy these symbols and paste in MS word 2013 and have another symbols or from one symbols two are produced: Before ...
0
votes
0answers
47 views

prevent linebreak before $math$

I have several linked documents with lots of $$ equations. Sadly line break happens often before the equations. I know I could prevent this using ~ but adding it everywhere seems quite a lot work. May ...
0
votes
0answers
35 views

Spacing between subscript and operator

How to change the spacing between operator and its subscipt or superscript I want different spacing for sub and super script