{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
60 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 ...
10
votes
2answers
167 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 ...
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 ...
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 ...
9
votes
1answer
105 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
106 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. ...
9
votes
2answers
165 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
80 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 ...
2
votes
2answers
165 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 ...
3
votes
3answers
167 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
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
0
votes
1answer
51 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. ...
5
votes
1answer
123 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
106 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} ...
1
vote
2answers
70 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 ...
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 ...
1
vote
2answers
140 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} ...
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 ...
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
186 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, ...
0
votes
1answer
258 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 ...
9
votes
2answers
299 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
448 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
336 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
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
673 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.
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
2answers
863 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 ...
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 ...
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?
5
votes
2answers
95 views

How to redeclare $$ or the \[, \] pair

There might be probably many reasons not to do it, but what would be the proper way to redeclare the $$ sequence or the \[,\] pair to open by default some special display math environment, such as ...
1
vote
1answer
729 views

Reset equation line numbers in Lyx

In Lyx, how can I reset the line numbers between display-style equations? For example, if I have the following setup: Some text Line of display-style equation Another line of display-style ...
3
votes
1answer
342 views

How to center Display equations on ClassicalThesis

While using ClassicalThesis package with scrbook document, I noticed that the display equations defined with \[...\] aren't centered in the page as with scrbook without the ClassicalThesis package and ...
2
votes
1answer
524 views

Exam Class : Multicolumn : Symbol (displaystyle) into two lines

How can we break formula mentioned below into into two lines? $\displaystyle \boldsymbol{{\left( {x\log x} \right)^{\log \log x}}\left\{ {\frac{1} {{x\log x}}\left( {\log x + \log \log x} \right) + ...
3
votes
1answer
203 views

make fixme notes in displaymath

I am using the fixme package. I observed the use of \fxerror* or \fxnote* inside displaymath yields errors. I can write \documentclass[draft]{article} \usepackage{fixme} \fxsetup{theme=colorsig} ...
2
votes
0answers
47 views

How do I change 'displaystyle' manually? [duplicate]

I have used the following command $\displaystyle\bigoplus_{i=1}^n M_i$ to get superscript and subscript form of the lower limit and upper limit. But it it looks like very bigger. I want to ...