{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

1
vote
1answer
16 views

Inline-style variant of \underset

I need to indicate the relation to that the ordering \geq operator refers, because there are several relations R, Q and so on. For display-style math I use the \underset macro to put the relation ...
3
votes
1answer
18 views

How can I use a large solidus in a display fraction in LyX?

I would like to use the equivalent of the latex \middle/ in a display equation in LyX. I have a fraction with a large left hand side, and I want the solidus (/) to be automatically sized to match the ...
6
votes
1answer
46 views

Fraction in \pmod bracket

I want to put a fraction into the \pmod brackets in math mode, i.e \documentclass{article} \usepackage{amsmath} \begin{document} \[x\equiv y\pmod{\frac{a}{b}}\] \end{document} However, the ...
1
vote
1answer
44 views

Todo comments:Not include and left align?

Is there a way to to do a \todo*{Hello} and not have the note show up in the ToDo and Notes area? Does anyone know how to do that? Or vise versa? Also, what about in the left side margin instead. I ...
2
votes
2answers
42 views

How to ensure that content within a column vector do not touch? [duplicate]

I have some variables defined in a column vector written in mathmode in the usual way $\begin{bmatrix} \dfrac{1}{i} \\ \dfrac{1}{j} \end{bmatrix}$ However, the result shows that they are almost ...
3
votes
1answer
27 views

Using display mode and adding space between text

I have this... \[c1*f(n) \leq f(n) \leq c2* f(n)\ \forall n_0 \geq 0\] For display mode, I want to add additional space before \forall. I'm not too familiar with display mode. I tried just adding ...
3
votes
2answers
66 views

Remove white line after \item in enumerate and before display math

The goal is to remove the white line after the 1. in the second enumerate in the picture, so it will look like the first enumerate. I don't like the first enumerate because it uses inline math, ...
16
votes
1answer
128 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
61 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
27 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 "i"...
1
vote
2answers
60 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
39 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
87 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 paragraph,...
3
votes
1answer
71 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 T_1\}}\...
10
votes
2answers
191 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
43 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
65 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
141 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 ...
4
votes
0answers
128 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
199 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
98 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
48 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
214 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
208 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
72 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
53 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
141 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, I'...
3
votes
2answers
122 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
83 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 \sum_{...
7
votes
3answers
230 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
148 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
114 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} \newcommand{\vnull}...
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
80 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. \documentclass{...
4
votes
1answer
206 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
270 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
338 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
208 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
94 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
527 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 & \cellcolor{blue!...
6
votes
0answers
42 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 page)...
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
404 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
739 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
328 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
913 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
273 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
87 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 & = & \frac{1}{...