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

48
votes
0answers
2k views

How can I use Dragon NaturallySpeaking to write LaTeX math formulas by voice efficiently?

I write LaTeX documents by voice using Dragon NaturallySpeaking for speech recognition. It allows me to write much faster than if I had to type on a keyboard (~ 100 WPM vs. 50), I find that voice ...
6
votes
0answers
46 views

Is it possible, in LuaTeX, to replace text from the input buffer but only inside math mode?

I am trying to create a Lua script that lets me replace all instances of -> inside my equations with \rightarrow. I found this answer that suggests a hack involving a process_input_buffer callback: ...
5
votes
0answers
57 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
105 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
88 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
52 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
100 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
70 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
119 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
91 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
120 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
52 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
93 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
88 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
172 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
87 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
149 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
69 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
57 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
292 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
37 views

arrow in a diagram

in the following code that encodes a diagram: \xymatrix{a\ar[rr]^{\varphi\qquad}&\ar@{^{(}->}[d]&b\ar@{=}[r]&a\ar[rr]^\varphi&\ar[dd]&b \\ ...
1
vote
0answers
26 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
35 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
43 views

pgfplotstable and _{some text} or ^{such text} in an string type column

So this is the second question i need to ask to get this table working: I'm using this: \documentclass{article} \usepackage[margin=1cm,a3paper]{geometry} \usepackage{siunitx} ...
1
vote
0answers
51 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
37 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
100 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
65 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
90 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
115 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
47 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
51 views

How to centre underaccent under letter?

Here's the M(not)WE: \documentclass{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{accents} \renewcommand{\vec}[1]{\ensuremath{\mathbf{#1}}} ...
1
vote
0answers
93 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
215 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 ...
1
vote
0answers
103 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
92 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
219 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
214 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
19 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
198 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
143 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
234 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
29 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
22 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
28 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
99 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
45 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
33 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
0
votes
0answers
37 views

Symbol for None/Null/undefined variables that are not sets

I am trying to describe is the "Null" or "None" value commonly found in programming languages. Is there a symbol that is commonly used for this, such as a Null/None symbol? For space reasons I'd ...
0
votes
0answers
31 views

Beamer: control thickness of roman text in math environment (and vice versa)

Problem: I've written the following expression with beamer \begin{exe} \ex $\llbracket \phi\wedge\psi \rrbracket^{\mathcal{M},w,g} = \textsc{alt} \left\{ \alpha\in W ...