{displaystyle} is about the `\displaystyle` and `\textstyle` commands for switching the style of math in LaTeX. For questions about display math in general, use {math-mode}.

learn more… | top users | synonyms

13
votes
1answer
113 views

Why does LuaTeX plus breqn quadruple output of \text{} when in display-math mode?

MWE needs to be compiled with LuaTeX to reproduce the problem: \documentclass[11pt]{report}% \usepackage{amsmath,mathtools} \usepackage{breqn} \begin{document} $J^{\ast} = ...
1
vote
1answer
46 views

How can I draw two triangles in a row?

I'm trying to illustrate the rigid transformations of the equilateral triangle: rotation and transposition. Therefore I would like to draw the triangle, then the $\to$ arrow with superscript say, ...
1
vote
1answer
23 views

fleqn option makes math internal mode (inner) not detected

The following MWE points out that, without fleqn class option, math internal mode is detected ("i" and "o") but, as soon as fleqn class option is enabled, this mode is not detected anymore ("i" and ...
1
vote
2answers
51 views

how to increase Bracket size in Variance formula?

I want to increase the size of the bracket to display more nicely the output, but I didn't find out how. $$s^2 = \frac{1}{n-1}[\sum\limits_{i=1}^n x_i^2 - \frac{(\sum\limits_{i=1}^n x_i)^2}{n}]$$ ...
1
vote
0answers
32 views

\textstyle as default method of displaying mathematics

This has probably been ask before (although I could not locate any information). What is (are) method(s) of setting \textstyle as default way of presenting displayed mathematical formulas?
5
votes
1answer
83 views

Spurious whitespace wrapping display math in \small

I can put display math in the middle of a paragraph of text using \[...\], but I would like the math to use font size small. If I wrap the display block in {\small...} the second half of the ...
3
votes
1answer
59 views

sum in the same line as a fraction

I'm sorry if this has been asked. I'm new to this and to Latex. I have this piece of code: \[ e^{-\xi_1 Y_1^N} = \exp\left(-\frac{\xi_1}{N}\ \sum_{n\geq1}{}V_n^1 e^{-s_n}\1_{\{ s_n \leq ...
3
votes
1answer
40 views

Using \textstyle with \pmod

If I'm in a displayed equation but I want the \sum symbol to appear as it does in inline formulas, I can just put \textstyle in my equation. I thought that writing \textstyle would also force \pmod to ...
10
votes
2answers
164 views

How to write an actual superscript with \lim, \sup, etc?

I'm trying to write $\sup' S$ -- that is to say, $\sup S$ but with a prime on the sup. However, in display style, this comes out instead with the prime on top of the sup instead of in the superscript ...
8
votes
2answers
9k views

How do I keep a string of text together without it doing a line break?

I'm writing up a long paper, in which in prose I have various equations. However, I do not want a line break to occur within the equation - I want the equation to stick together. I want to do this ...
2
votes
0answers
57 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 ...
8
votes
1answer
101 views

Is there an environment that imitates align but displays `textstyle` math?

I'm currently typing a mathematical document which counts many sum symbols. I frequently use the align environment to render equations, although the default behaviour of this environment is to render ...
3
votes
0answers
105 views

Wrong parentheses size in \binom with xelatex and unicode-math in displaystyle

I am writing thesis, using XeLaTeX with unicode-math, documentclass is modified memoir. I need to typeset equations with binomial coefficient, however I get wrong sizes of parentheses around them. ...
0
votes
1answer
50 views

Is there a way to change the text size of \displaystyle?

I know you can apply different font sizes in math mode such as \scriptstyle and \scriptscriptstyle. What I am looking for is a way to get that "size" but still have the "style" of \displaystyle. ...
9
votes
2answers
162 views

How can I make a math operator symbol be bigger in display math?

I have an operator $\boxplus$ that works on an indexed collection of arguments, similar to $\sum$ or $\prod$ or $\bigoplus$. The following makes the index ranges typeset nicely: \usepackage{amsopn} ...
4
votes
2answers
78 views

Proper leading around displaystyle fractions

I would like to typeset a fairly complicated fraction in display style surrounded by paragraph text. Here's an MWE. \documentclass{memoir} \usepackage{libertine} \usepackage[libertine]{newtxmath} ...
2
votes
1answer
40 views

Vertical alignment in substack when using displaystyle

I define the \underin command to make its first argument apper below its second argument with a rotated \in in between. It looks small, so I also define a command \dunderin by adding a \displaystyle ...
3
votes
3answers
163 views

Creating a documentclass with colored titles in koma-script

I am trying to create my own documentclass which fits my needs according to the use of colors. For a shorter description I put all corresponding things in the following working example: ...
2
votes
2answers
164 views

\displaystyle for a part of the document

Is there a way to use \displaystyle for a part of my document? I do not want to change everywhere the inline math sizes, on the other hand it is a bit tedious to write everywhere (in a list of ...
2
votes
1answer
69 views

Display step of square root of an integer in LaTeX

How to display step of square root of an integer in LaTeX as follows: or There is no need to write in Bengali digits. It can be express in 2304, 16 etc
5
votes
1answer
121 views

Allow page breaks in a gather environment with a nested align

I have two consecutive lists of equations, the second of which is quite long (16 lines with no reasonable way to shorten it apparent). Because the center alignment of gather looks ugly in this case, ...
3
votes
2answers
104 views

Display equations in tabularx

Why the first MWE works and second not? First MWE: \documentclass[12pt,border=3mm,preview]{standalone} \usepackage{mathtools} \usepackage{tabularx,graphicx} ...
20
votes
3answers
14k views

Smaller fractions in displayed formulae?

How do you make script-sized fractions in display mode? In certain cases, I find that \frac-based fractions are too large for my tastes in displayed formulae. For example, I feel that the fractions ...
1
vote
2answers
69 views

increasing summation size in continued fraction

I've got a continued fraction, where the denominator has a summation... Here is my code \documentclass{article} \usepackage{amsmath} \begin{document} \[ y_i = 1 - \cfrac{1}{x_i + \displaystyle ...
13
votes
5answers
11k views

Proper display of fractions

Have a look at the following code: \documentclass[letterpaper]{article} \usepackage{amsmath,amssymb} \begin{document} $2-\frac{2}{1-\left(\frac{2}{2-\frac{2}{x^2}}\right)}$\quad ...
7
votes
3answers
213 views

Display math gets typeset as inline math

When typesetting the below annotated equation my summations are being typeset as inline maths rather than display maths. If I wrap the sum and subscript with \smashoperator{} then they are typeset ...
0
votes
0answers
11 views

How do I change the spacing above/below \begin{align}…\end{align} [duplicate]

Is there a simple way to reduce the spacing above and below \begin{align}...\end{align}? And also for gather, equation, subnumcases etc. I can use \vspace but that's messy and inelegant. I'd like to ...
1
vote
2answers
138 views

Displaystyle for “lim” (global) in tabular-environment

I want to use a tabular-environment and within it some math formulas (limits). But I want \lim to be in displaystyle (without using display-function each time or defining a new command). My MWE: ...
4
votes
1answer
109 views

Is there anything like “displaystyle” for “arrays”? [duplicate]

I have this equation and I would like to "get more space" into it, how to do it? \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} ...
6
votes
1answer
257 views

Maintaining structure Workbook style

--Revised-- I am looking at a math workbook for teenagers. This one has the following structure: 1.Main Chapter 1.1 Subchapter 1.11 Task 1 a) problem 1 b) problem 2 c) problem ...
2
votes
2answers
2k views

Using \Mathsmaller in math display mode makes the character appear to the right of the symbol itstead of below it

I am trying to use \prod in math display mode but it appears large (larger than I want it to be) but when I use \mathsmaller from the relsize package the letter appears on right side of it instead of ...
13
votes
3answers
2k views

How to make fractions in powers look good

Quick question. When I type $e^{\frac{1}{2x}}$ it makes the fraction very small and hard to read. However when I type $e^{\displaystyle\frac{1}{2x}}$ it makes the fraction way to big. I guess in ...
0
votes
1answer
257 views

Formula with numerator and denominator of a fraction in display mode [duplicate]

I have the following formula and I want the nominator and the denominator to appear in display style. I use \everymath{\displaystyle} so I don't understand why they are not in display mode. How can I ...
4
votes
1answer
70 views

Doublespacing a Formula Displays

I am trying to achieve what is written in here: Equations and Double Spacing However, my "larger" displayed equations and aligned environments still seem to have added space above. ...
4
votes
1answer
185 views

What's the difference between quote and verse, and when should this be used in scientific writing?

LaTeX has both the verse and quote environments. I am not sure when to use which and when should be used in scientific writing other than in the humanities. Conversely, there are occasions, ...
9
votes
2answers
298 views

\displaystyle and \mathbf with cmbright font

I would like to use bold symbols in superscript equations. To do so, I use \displaystyle as in \documentclass{standalone} \usepackage{amsmath} \begin{document} $e^{\mathbf{A}t}=e^{\displaystyle ...
2
votes
2answers
185 views

Integration with textstyle fractions limits

I am trying to write an integration question like below with amsmath package: \displaystyle\int_{\frac{\pi}{4}}^{\frac{\pi}{2}}\sin x\,\mathrm{d}x However, the two fractions limits appear to be too ...
2
votes
0answers
36 views

In the output the denominator appears in front of the fraction [duplicate]

Command \frac works in strange way: Any suggestions? \documentclass{report} \usepackage{polski} \usepackage[cp1250]{inputenc} \usepackage{graphicx} \begin{document} \setcounter{secnumdepth}{3} ...
0
votes
2answers
92 views

Display inline sums

I am writing my thesis and I have some sums which are inline, and others which are part of equations. My questions is: is there a convention, an unwritten rule about how inline equations should be ...
5
votes
1answer
441 views

Tabular and lines displaying problem with Adobe

Considering the following code (MWE) : \documentclass{article} \usepackage[table]{xcolor}% http://ctan.org/pkg/xcolor \begin{document} \begin{tabular}{|l|c|r|} \hline Some & ...
6
votes
0answers
41 views

Figures on report counter page (without styling) [duplicate]

Context : I am writing a report with article style in latex and I am wondering if it is possible to have : on right page : my usual text, my full report without figures ; on counter page (left ...
0
votes
0answers
17 views

Is there a way to change behaviour of a (math)command depending on the display style? [duplicate]

I want to define a command that changes behaviour depending on weather it is written in inline or disply mode. For example I want to define \backlim, such that it prints \lim_\leftarrow when used in ...
3
votes
1answer
332 views

How to define this new environment and avoid the hidden errors?

I want to define a new environment ends with a $\omega$ in newline. But environment like displaymath already start a newline after itself, so I do not start a newline in this case. That is, start a ...
9
votes
1answer
20k views

size and location of cube root symbol [duplicate]

Possible Duplicate: Nice-looking p-th roots On math.stackexchange I wanted the cube root of a fraction in display mode, and used $$\sqrt[3]{\frac ab}$$ to get it. The 3 comes out very ...
9
votes
1answer
2k views

Displaystyle Package?

I am curious to know if there is a display style package, or something that would produce the same effect. You see, I get tired of constantly having to type \displaystyle, and making sure that it is ...
7
votes
1answer
657 views

Always using displaystyle only for \lim

My question is a short one: I would like \lim to always be displayed inline using the \displaystyle mode.
4
votes
2answers
861 views

LyX analogue for LaTeX \everymath{\displaystyle}: inline math with the style of equations

Is there a way to achieve in LyX what one can achieve using \everymath{\displaystyle} in LaTeX, that is to force all inline math to look the same as math in equations (large integral signs, full-size ...
2
votes
1answer
309 views

How to use display equations with psfrag?

I would like to include a display equation in an EPS figure using the pstool package. When the command for the replacement text is $\sum_{i=1}^{N} x_i^2$, then it compiles fine (see the vertical axis ...
4
votes
3answers
86 views

Replace everything inside eqnarray* by a given text

Is there any simple (method/macro,..) to replace everything inside all eqnarray* by a simple given text. More precisely for example I want to replace \begin{eqnarray*} x & = & ...
4
votes
1answer
137 views

How to make a shortcut for a \displaystyle?

I want to make a shortcut at LyX that if I press it I'll get what the \displaystyle does (in math mode). e.g.: If I'll press Ctrl+I I'll get an integral... Is there a way to do this?