Tagged Questions

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

1
vote
1answer
39 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
92 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
63 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
141 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
96 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
52 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
80 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
51 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
69 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 ...
5
votes
1answer
87 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
51 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
115 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
62 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
108 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
59 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
46 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: ...
0
votes
0answers
38 views

How do I increase the font size without all the subtraction symbols disappearing?

If I uncomment the fontsize command, then the subtraction symbols disappear. \documentclass{biophys} \gridframe{N} \cropmark{N} \usepackage{amsmath} % Absolute value notation ...
2
votes
1answer
42 views

Latex command problem

I'm not sure what the correct command is. I tried this $^\mathbb{N}|mathbb{Q}$ But it doesn't look correct. How do I fix the error?
0
votes
0answers
33 views

How can I make the larger integration sign without using this $$…$$ [duplicate]

How can I make the larger integration sign without using this $$...$$ Since I have written that $(Uu)(x,y)=\dfrac{1}{\Gamma(r_1)\Gamma(r_2)} \int\limits_0^x \int\limits_0^y ...
2
votes
2answers
135 views

Question about arrow in diagram

how i can write using latex to find this: but with long arrows Thank you.
0
votes
0answers
19 views

Referring to a complete subequation environment. Is there a recommended style?

I have a subequations environment which is labelled and inside it I have an alignat environment which has a label for each line. Would you say it is ok to refer to the complete model as I do it in ...
2
votes
3answers
143 views

Templates for math student [closed]

I am going to start my math major, and I learned the basics of latex because I would like to use it to make my documents and take notes. But now I would like to find some templates to use for: ...
4
votes
1answer
42 views

Float addition operator in LaTeX?

I need to get the +. sign (see the OCaml float addition operator) in LaTeX. However, when I try: *$\mid h :: t \-> h +. sumList(t)$ \\** The output is as follows: How can I make sure that ...
4
votes
2answers
76 views

Smashoperator for the vertical space?

I would like to vertically smash a summation sign in a way that the line has a vertical space as if the summation sign wouldn't be there. To illustrate it please see the MWE. The space between the ...
7
votes
3answers
329 views

Which “bold” style is recommended for matrix notation?

I am wondering which "bold"-style is the "appropriate" or "official" way for matrix notation. E.g., let's say the matrix "A." \textbf{A} would result in a more italics representation ...
1
vote
2answers
68 views

How to create a matrix by itself and have a letter equal to it?

I am trying to exactly duplicate this picture here in LaTex. ... so far all i have is \[ \left( \begin{array}{ccc} a & 0 & 0 \\ 0 & b & 0 \\ 0 & 0 & c \end{array} ...
1
vote
1answer
80 views

Editing Math equations in LyX

Entering math is slick, and within a half an hour I could work as fast as I used to in Frame Maker, much faster than I can using asciimath (with the ton of extra ()'s) I'm cursed with awful ...
2
votes
1answer
83 views

Can I write $\log^2{x}$ in skmath?

Standard LaTeX has the opportunity to write things like $\log^2{x}$. This is however no longer possible when loading the skmath package, because skmath expects the logarithm to be entered ...
5
votes
2answers
524 views

LATEX: How to represent root(2)^root(2)

In latex, how would one represent \math{sqrt{2} ^ sqrt{2}} (or root(2)^root(2)? I tried to respresent it as I did above, but there is an error "! Missing { inserted."
3
votes
1answer
39 views

CJK inside a math environment

I'm trying to display CJK characters as part of math formulae in XeLaTeX, and it's not working well. I've tried a number of options, and all have failed: Defining a \jp font command via fontspec and ...
5
votes
2answers
106 views

Are math operator names like \gcd available in other languages?

I'm writing a text in Dutch in which I want to use the greatest common divisor. In English, I could use something like $\gcd(123,321)$. However, in Dutch, we call the function grootste gemene deler, ...
1
vote
1answer
87 views

Turn \mathbb characters bold in math mode

I've seen various topics here adressing how to turn math symbols bold, but none of them gives a suitable option for \mathbb characters, as in \mathbb{ABC}. I have tested some options to see which ...
5
votes
1answer
208 views

Printing a cross across another symbol

Is there any command or macro for printing a character with a cross over it?
4
votes
2answers
244 views

Double tagged equations?

In the following example the inequality (2.26) is obtained in the environment equation, but the equations (2.27) and (2.28) by dirty tricks, destroying the structure of the document. This is because ...
4
votes
3answers
182 views

Double \prec as a single symbol?

We have < and \ll. What about double \prec, i.e. something like \prec\prec but with spacing as in \ll? Remark. I could not find an answer in http://detexify.kirelabs.org/classify.html or ...
2
votes
1answer
80 views

Increasing vertical space after equation in paragraph with short previous line?

The problem I'm aware that LaTeX the spacing around equations in a paragraph differs depending on how long the line of the paragraph immediately preceding the equation is. When the preceding line is ...
5
votes
3answers
743 views

How to make a boat symbol in latex?

I would like to make a motorboat/boat/raft/ship symbol in LaTex but cannot find a command for one. I know there is \Plane in bbding dingbats which gives the symbol for plane. But I dont see anything ...
2
votes
1answer
65 views

Is there an easy way to raise or lower the hat operator in math mode

Using the hat operator in math mode in beamer, the hats are smashing into the characters. I can use \skew{n} to move them n points to the right, but I need to raise them a point or two. Is there an ...
0
votes
1answer
52 views

How to write inline formula involving tilde sign [duplicate]

How to write following inline formula in LaTeX: r~[0,1]
0
votes
0answers
34 views

Typesetting the definition of a piecewise function [duplicate]

How to write this in LaTeX: y = {1 if a >b 0 if a <b How to make the big bracket that contains both and defines the function y?
3
votes
1answer
111 views

Set math and text fonts independently in Beamer (using PDFLaTeX)

I am working on a Beamer presentation, and I would like to use sans serif font (CMBright) for text, and a serif font (Computer Modern) for maths. Sans serif maths looks pretty ugly to me. Beamer ...
7
votes
3answers
552 views

Symbol for “defined to be logically equivalent” (:⇔)

Is there a way to typeset the symbol ":⇔" correctly in LaTeX (i.e. with the right alignment and spacing)? I know that using :\Leftrightarrow or :\Longleftrightarrow gets me the symbol I'm looking for ...
0
votes
1answer
138 views

How to insert a column vector using transpose of row vector in LaTeX

I want to write A=[Xtk Ytk .Xtk .Ytk]^T in LaTeX. ^T means that I want the transpose symbol "T" to come as superscript of the matrix. Xtk should appear as the variable X with subscript t and ...
6
votes
5answers
187 views

Two rows of upper indices

How do we do this in LaTeX? The main problem is having two rows of values as upper indices.
0
votes
1answer
104 views

Align equations left-right [on hold]

I was trying to use flalign to align my equations from left to right, but it doesn't work. Any way it compiles the text to pdf, but it is exactly like align environment from right to left. Could you ...
4
votes
1answer
73 views

Should one always use exscale when using lmodern?

At the moment I only use summation signs with symbols which have a normal high and also no summation signs in subscripts. Due to this post is it correct that I should always use the exscale package ...
2
votes
1answer
39 views

Boldface for undescore in math mode

I need to insert an equation which contains the term x_y (y is subscript). The term must also be boldfaced. How do I achieve this in LaTeX?
3
votes
1answer
91 views

Getting bold digits with XeLaTeX and mathspec

I'm trying to achieve something that I assumed was quite simple but it made me waste an insane amount of time so far. I'm using XeLaTeX for a document and I'm setting “Arno Pro” as my font. I'm using ...
3
votes
2answers
61 views

spacing between symbols in math mode

The following code will \begingroup \everymath{\displaystyle} \scriptsize $XXXXXXX(XXXX(A,B,C),XXXX(D,E,F)) \leftarrow XXXXXX(A,B,C) \wedge XXXXXX(D,E,F) \wedge XXXXX(XX(A,B),XX(D,E)) \wedge ...
0
votes
0answers
31 views

Math display help [duplicate]

I need help for what command I should do. I have a sentence, and in the middle of the sentence I use a math stuff then, more words. The part with math is smaller and smushed up. I do not want to begin ...