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

2
votes
1answer
46 views

Problem with big equations (matrices)

I have used LaTeX for writing my paper. The template of journal is in two columns and I have some problems with breaking large equations (especially matrices). Would you please guide me? Details: I ...
0
votes
0answers
36 views

How can I both use MathTime Pro 2 and newtxmath?

I would like to use both the mtpro2 and newtxmath packages in a single document and be able to choose which one to use. I would like for example to be able to show the following integral in both ways ...
3
votes
2answers
67 views

Graphical connection between a matrix and a label

I need to show the connection of an element of a matrix with a label, like this: This is some code that I write: \[ \mathrm{A^{(0)}}= \quad \left( \begin{array}{cccc:c@{}} 2 & 2 & 1 ...
4
votes
0answers
37 views

Beamer vs article cls math rendering [duplicate]

With article class : \documentclass{aricle} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath,amsfonts,amssymb,mathrsfs} \usepackage{fourier} \usepackage{helvet} ...
15
votes
1answer
587 views

What does the tilde character (~) do in math mode?

What effect does the tilde character ~ have in math mode? Is it the same non-breaking space that it is in text mode? Is it bad style to use ~ in math mode? I've seen it used in some examples but ...
5
votes
0answers
43 views

Reducing the size of greek letters in TeX Gyre Schola Math?

I've been experimenting with TeX Gyre Schola (and its math font), and I've noticed that the greek letters are noticeably larger than normal letters and numbers. For example, consider the following: ...
1
vote
1answer
33 views

Putting arrows above text [duplicate]

I'm trying to typeset the following (the part in green I'd like to add, but don't know how to: Here's my sample code: \documentclass{article} \begin{document} $$=F_j\underbrace{\frac{\partial ...
7
votes
1answer
77 views

How to add a circle on left/right parentheses?

I need to use a new symbol to denote an operation defining by myself. How to establish a pair of new delimeters just as adding a little circle on left/right parentheses? The difficulty is there are ...
2
votes
1answer
31 views

rotate box in reverse inside a rotate box ? possible?

I need to make brackets of various kinds stretch with the length of the argument below and above. They require rotation of text inside a rotated matrix. For example, I am trying to make a round ...
4
votes
1answer
25 views

How to allow line breaks in siunitx lists and ranges in math mode?

I have written my thesis using \numlist and \numrange (and the \SI variants thereof) from the siunitx package. In some cases, I have used these macros in math mode, for instance, $\phi = ...
2
votes
1answer
68 views

CMBright for math and Iwona for text?

Is there a way to load packages Iwona and CMBright so that Iwona is used only for text, CMBright only for math, and all text and math is sans-serif? The only command I've thought of so far are: ...
2
votes
0answers
26 views

Which dots-type in math? [duplicate]

I am using the vim latex suite and when I type ... it automatically changes them into \ldots if it is text or \cdots if I am in a math environment. So I thought that \cdots is the "right" thing to use ...
2
votes
1answer
21 views

undefined control sequence for \measuredangle [duplicate]

I just installed MacTeX and texmaker. I'm trying to create a measured angle. The following code: \documentclass[12pt]{article} \begin{document} The measure of $\angle{ABC}$ is expressed as ...
1
vote
2answers
36 views

How can I make text appear correctly in an equation? [duplicate]

The basic outline of the equation below is correct but how can I make the text appear correctly right now it appears scrunched up? \documentclass{report} \begin{document} \begin{align*} \left. k_S ...
3
votes
3answers
118 views

Text in math mode: inherit bold but not italics

Can I define a macro \foo so that $\foo$ produces: bold sans-serif "foo", if the surrounding text is bold normal sans-serif "foo" otherwise. In particular, "foo" should never be typeset in ...
1
vote
0answers
36 views

Not much greater than sign [duplicate]

I am trying to make the negation of the $\gg$ sign in latex. I believe that it exists since It is on my homework sheet that appears to be typed in latex. I tried to draw the sign in detexify, but it ...
5
votes
1answer
77 views

Extensible multiset, or bag, delimiters

The stmaryrd package provides two types of multiset, or bag, delimiters: \lbag and \rbag; and \Lbag and \Rbag. When I use these commands with the delimiter sizing commands \left and \right (or even ...
8
votes
2answers
132 views

How to draw an actual maltese cross?

The symbol that is produced by the \maltese command is an iron cross, not quite the same thing as a maltese cross, both in terms of appearance and signification. I was wondering if there was any way ...
2
votes
0answers
44 views

Letters in Math mode appear in greek [duplicate]

I am creating a beamer presentation with main language being greek. When trying to add letters inside a math environment either using $<math>$ or \[<math>\] the letters appear in Greek ...
2
votes
0answers
54 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 ...
4
votes
2answers
35 views

how to avoid breaking a line in dmath mode?

I tried all 3 options above that I have seen recommended in other threads/answers, but none seem to work \begin{dmath} P (A>B \cap A>B+C)=P(A>B+C)=P(A=\nolinebreak 3 \cap B=\nolinebreak 1 ...
2
votes
1answer
34 views

How to ignore left margin and move centered math equation to the left?

I have a following equation I need to move it a little bit to the left because it is way to close to the right side and may get clamped while printing. Those equations are using $$ R=... $$ syntax. ...
1
vote
1answer
41 views

Unable to typeset vectors using physics package

I'm trying to typeset the equation for the dot product like this (using the physics package). $$ \va{A} \dot \va{B} = abs{A}abs{B}\cos{\theta}$$ However, LaTeX keeps throwing this: ./AP Physics ...
4
votes
2answers
75 views

Why does using the amsmath package break the following code?

I am trying to find a way to hide expressions inside a math environment. I found a solution, provided by Steven B. Segletes at Hiding part of text leaving blank space However, when I add the amsmath ...
1
vote
1answer
42 views

FP commands inside math mode

I face a strange problem running fp macros inside tabenum (tablists package) environment. I use fp to generate some values that are presented with a personal list environment based on tabenum. The ...
8
votes
2answers
85 views

Underline number in two parts; math mode

I'm trying to underbrace a binary numeral as follow: 10111101 '--''---' B D in order to show the binary-hexadecimal correspondence, but using twice the underbrace command: ...
7
votes
1answer
77 views

Box some equations inside align

I'm trying to make something like this: But I have just can't figure out how. I have tried with empheq and tikz, but I can't get it to work with only some boxes inside align. I have also tried with ...
0
votes
1answer
50 views

newbie question: how to use $$ in TeXworks?

I first tired to type up some maths without using any $$. And there was a ! Missing $ inserted warning message. So I've added the $$ at the beginning and at the end of each line like this ...
4
votes
2answers
79 views

How to control horizontal placement of shortintertext

My example is as following: \documentclass{article} \usepackage{amsmath} \usepackage{mathtools} \begin{document} In our next class, we will test \begin{alignat*}{1} H_{0}: & \beta_{2}>0\\ ...
6
votes
1answer
273 views

A “fraction” with three stories and two bars (of equal length)

I'd like to create a document containing "fractions" with three or more stories instead of just two, separated by fraction bars of equal length. (These aren't real fractions, but I want to use ...
0
votes
2answers
60 views

Sum alignment in equations

What is the best way to align equal signs and sum symbols in the following MWE? \documentclass[a4paper]{report} \usepackage{amsmath} \begin{document} \begin{equation} \begin{alignedat}{4} y_\text{L} ...
1
vote
1answer
37 views

Problems with language?

I don't know why this code doesn't work: \documentclass[11pt]{article} \usepackage{fullpage} \usepackage{amsfonts} \usepackage[utf8]{inputenc} \usepackage{amsthm} \newtheorem{theorem}{Teorema} ...
2
votes
2answers
59 views

Multiple align points and multiple equations

I have 2 equations, both have to be numbered and aligned. Equations' numbers should be vertically centered. But equations are long and have to be broken into 2 or 3 lines each. It would be great to ...
14
votes
6answers
2k views

Sum of (example: 0+1+2+3 = 6 , 0+1+2+3+4+5+6+7 = 28 and so on)

Can anyone help please? I need to know how to make the sum of value S(n) = 0+1+2+3+4...+(n-1)+n (example: 0+1+2+3 = 6 , 0+1+2+3+4+5+6+7 = 28 and so on) on Latex
1
vote
1answer
33 views

equation in enumerate environment to long

I have kind of a long math term in an enumerate environment. The problem is, it is too long, so it doesn't fit on the right side of the paper. Is there any opportunity to move it more to the left? As ...
2
votes
1answer
88 views

Strange behaviour of math-mode starred command

\documentclass[a4paper]{report} \usepackage{amsmath,amsfonts,amssymb} \makeatletter \newcommand{\2}{\@ifstar{\hspace{2pt}}{\hspace{-2pt}}} \newcommand{\dd}{\@ifstar{\,}{}\mathrm{d}} \begin{document} ...
2
votes
0answers
52 views

ConTeXt: Flushed right formula numbers in cases environment

I would like to have the formula numbers of the cases environment flushed on the right of the page like for regular formulas (not at a fixed distant from the cases like it is by default with ...
7
votes
3answers
138 views

Aligning polynomials rightshifted by x

I am trying to align some generating functions, to give a visual indication of how they represent recurrences. When I try to do this the natural-seeming way with aligned, it puts an obnoxiously large ...
5
votes
1answer
88 views

Equation alignment creating unwanted space

I am defining some text in a align, but no matter how i place the & symbol to create the alignment i get a space between the first chars. \begin{align*} H_0:& \text{Something.}\\ H_1:& ...
3
votes
1answer
46 views

How to fit long equation in single column?

I am writing a two column document. I am trying to fit following equation in one column. I read following thread and tried to fit my equation to the given solution but it didn't work Aligned ...
4
votes
2answers
74 views

How to create horizontally aligned subscripts in latex

My problem is that I can't align subscripts properly. I want subscript 'ISI' to be at same level for both H and x. while (m,n) remains in italic format. The last expression gives aligned subscripts ...
3
votes
0answers
48 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 ...
2
votes
1answer
67 views

I'd like to have my lower boundary as -infinity but it will only have one character

\documentclass{article} \title{Latex exercice} \author{ME} \begin{document} \maketitle % showing both title and author, plus date \begin{equation} \Gamma(x)=\int_\infty^\infty dt ...
4
votes
1answer
67 views

Replace a few math symbols in the newtxmath font

I use the \newtxmath as the math font in my document and \newtxtext for the text. This seems to work fine, but I need to replace some math symbols which seem to me not as nice as their default Latin ...
2
votes
1answer
44 views

Command \d invalid in math mode [duplicate]

\begin{equation} \d{u} \left( t \right) = Z \end{equation} Am I missing a package or what?
4
votes
2answers
106 views

make summation sign big without affecting the size of lower bound of summation

This is a follow up question related to this post making a big summation sign I am trying to rescale the sum sign in the same way as in the above post. The problem is that the lower bound of the sum ...
0
votes
1answer
50 views

Is there a symbol for the y intercept in a linear model?

Model parameters in an linear regression include an intercept for the response variable (or in other words, a y intercept). Is there a symbol for this? I cannot find one in lists of maths symbols, ...
3
votes
3answers
103 views

Size of { in my equations

I write some code to get the above equation. However, I would like to make the first "{" to have the same size as the last "}". Does anyone know how to do it? I am attaching my code in the following ...
0
votes
0answers
57 views

Metrology tolerance and fits

How can i type meteorological tolerance, limits and fits etc, like double superscripts one on another notations using latex can any one please help me in this regard?
4
votes
3answers
44 views

Align environment with blank left side in the first line

Is it possible to use the align environment (or something similar) to typeset something like the following (nonesense) example with correct spacing? |a - c| < |a - b| + |b - c| What I want: ...