Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [displaystyle]

{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}.

10
votes
1answer
491 views

Why are there no \dint or \dsum like \dfrac?

This was inspired by How to have nice-looking symbols within an \itemize environment? and Sigur's comment which remind me about the display style of math formulas and the fractions. I know that, in ...
5
votes
4answers
61 views

Placing three mathematical formulas next to each other

I am new to LaTeX, so please be kind to me. :) I would like to place three mathematical formulas next to each other but I don't seem to get it working. This is how far I have got up to now: \...
2
votes
2answers
34 views

Too much vertical space after displayed math in tasks environment

Tasks package inserts too much vertical space after displayed math: \documentclass{article} \usepackage{tasks} \begin{document} \begin{tasks} \task \[ X\rule{10cm}{1pt}X \] \task \[ Y\rule{10cm}{...
2
votes
3answers
76 views

How to display a minimization problem

I want a space between min and c and I also want the x>0 to be under the other lines, in the center. I have written this: \begin{center} $min c^{T}x\newline Ax = b\newline x\geq{0} $ \...
1
vote
1answer
20 views

Conditional based on displaystyle

I'm trying to write a macro that returns different things depending on it if is used in a displayed equation or if it is used in an inline equation. Something like this, I assume: \newcommand{\foo}{% ...
2
votes
1answer
29 views

Using \textstyle as default with amsmath environments?

I want to use \textstyle as the default in my amsmath equations, while retaining \displaystyle as unchanged command for compatibility across documents. Apparently, amsmath hardcodes the use of \...
1
vote
1answer
40 views

Can tikzcd nodes be placed automatically in displaystyle?

I've been converting from xy-pic over to tikz-cd. One thing I liked about xy-pic is that if I include in my file \let\objectstyle=\displaystyle then all of the nodes in my xymatrix diagrams are ...
2
votes
1answer
66 views

Math operator not magnified in beamer frame [duplicate]

I would like to display a "big" formula in a beamer frame. If I test the \Large command this way \documentclass[hyperref={colorlinks=true}]{beamer} \usepackage[utf8]{inputenc} \usepackage[italian]{...
4
votes
2answers
144 views

Help with tikzcd

So Im having a little problem with a tikzcd-figure in my Thesis. It looks very 'squeezed' - if you understand. Can anyone help? I can simply not get it to look right \[ \begin{tikzcd}[row sep=huge, ...
0
votes
1answer
105 views

displaybreaks and braket package

I'm trying to allow a long formula consisting of a large set definition to break among more lines. I want to define the set using the braket package that is very handy to typeset sets. Specifically I'...
0
votes
0answers
16 views

LaTeX: How to use inline limits in equation mode [duplicate]

When in equation mode, limits appear below and above operators (\min, \max, \sum, etc.) I would like to make them appear as in inline mode, near the operators. I know the inverse is possible (adding \...
0
votes
0answers
34 views

\displaystyle remains ineffective, how to use it?

I am trying to use the "\displaystyle" to write equations. but it is not being effective. the parenthesis, when used around a fraction, remain to be small rather than adjusting the size accordingly. ...
0
votes
0answers
30 views

Write a small array under sum sign [duplicate]

I would like to write two lines under the sum sign, but they not appear small enough, I tried with \displaystyle and \limits without any result, any help, pleas? \begin{equation*} \sum_{\begin{array}{...
3
votes
1answer
137 views

Indentation after display-style math

Apologies if this has already been answered, but I couldn't find this particular problem anywhere. After a displayed math environment, there is a tiny indentation that I cannot seem to get rid of no ...
-1
votes
2answers
79 views

What am I doing wrong in \displaystyle?

My code is \(\displaystyle \sum^{n}_{\stackrel{0<i<n} {j\subseteq i}} P(i,j) = Q(i,j)\) but this is giving me an output like, Where is the problem?
1
vote
1answer
103 views

Display style in text, but at text style size [duplicate]

I would like to write $\sum_i$ to be displayed as \displaystyle $\sum_i$ but at the size of $\sum_i$. How can I do that? I could maybe use a subscript command, but that is not my question. My ...
2
votes
1answer
54 views

How to get ex or em equivalent in math display mode

Based on the following output, it appears to me that changing to \displaystyle or \scriptstyle does not actually change the font size as represented by \f@size. It also does not appear to change the ...
2
votes
2answers
94 views

ntheorem's fleqn and thmmarks options break \if@display

The following MCE points out ntheorem's fleqn and thmmarks options break \if@display: e.g., as soon as thmmarks is uncommented, the 1st "equation" contains "Non-display math". Do you see what's going ...
0
votes
0answers
52 views

How to displaystyle all the formulas without typing displaystyle everywhere? [duplicate]

How show all the formulas with displaystyle,avoinding typing repeteadly \displaystyle? \documentclass[10pt,a4paper]{article} \begin{document} Without any \emph{displaystyle} $ \frac{5+\frac{2}{5+\...
1
vote
2answers
62 views

How to display the sub-script exactly in the bottom of the sigma?

First code: When I write the following code in TeX: ‎\begin{align*} \sum_{i=1}^{5}‎‎a_i ‎\end{align*} then in the output the sub-script i=1 appears exactly in the bottum of the sigma-symbol; and ...
0
votes
0answers
84 views

Missing } inserted. ^^I}

The following code: \begin{preuve} \langswitch{ \fbox{\textit{i.} $\Leftarrow$} Given $\Ty$ and $\Tm$, define $F$ as follows: \[a\] }{ % * * * * * * * * * * } \end{preuve} leads ...
2
votes
1answer
125 views

Make displaystyle equations larger

This is my first time with this markup language, and it looks like my question has already been asked and answered, but when I try to apply those solutions, they do not work (I assume because I'm ...
1
vote
3answers
786 views

MathJax: Have \displaystyle apply to each case of \begin{cases}

I would like \displaystyle to apply to each of my cases: $$\begin{cases} \displaystyle \frac 1 2 \\ \frac 3 4 \end{cases}$$ But it only seems to apply to the first: How can it be applied to all ...
3
votes
2answers
421 views

Displaystyle numbers in exponent

In a math equation, I have $$ e^{\dfrac{A+B}{B}} $$ which is simplified as $$ e^{\dfrac{A}{B} + 1} $$ however the "1" is now too small and the equation aspect is not so nice. Is there a way to ...
1
vote
2answers
283 views

Sum symbol length

I would like to put a big sum in the following equation. \begin{align} R_t\,B_t=\displaystyle{\sum_{s=0}^{\infty} \frac{ T^{\star}_{t+s}}{\displaystyle\prod_{\tau=1}^{s}}}-\displaystyle{\sum_{s=0}^{\...
1
vote
2answers
293 views

displaystyle for every entry in matrix

I have a matrix whose entries are limits and I would like to have the \displaystyle rendering without having to put it in front of every entry. Is there some equivalent of the optional enumerate ...
0
votes
2answers
47 views

Reinstate display-style spacing without changing font size

To improve legibility, I'd sometimes like to reinstate display-style spacing in sub- or superscripts. However, adding \displaystyle also changes the font size and switches \tfrac to \frac, as can be ...
4
votes
1answer
52 views

mathchoice and spacing

I am using \mathchoice to define a command \norm that acts differently when in displaystyle or not but I have problem with spacing. My problem is well illustrated in the following example: \...
2
votes
1answer
49 views

Why does the spacing for tall fractions in enumerate list depend on order?

It seems the lineskip is being ignored when the dfrac is placed at the end of the list. Why is this the case? \documentclass[10pt]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{...
1
vote
1answer
449 views

Cancel \everymath{\displaystyle}

Is it possible in a document to cancel the command \everymath{\displaystyle}? It is in the macros.sty file I use but I would like to cancel it in some documents without changing my macros file.
1
vote
1answer
429 views

Font size in equation block and how to change it globally

I am trying to know what font size is used in equation block: \begin{equation} ... \end{equation} And I stuck because I cannot found it anywhere on the Internet. Not even know how to change the size ...
1
vote
0answers
181 views

Default Display-Like Style for Mathematics in LyX Instead of Inline

everybody. I have a question about style of text in the mathematical environment in LyX. I didn't find a similar question after a short search, so please don't downvote this if there exists one, and ...
2
votes
2answers
138 views

Displayed equation inside inline enumeration

I want a proof having an enumerate environment that is inline. An equation is given in the proof. I cannot write that equation as displayed (I get an error). How can I make the equation displayed ...
6
votes
2answers
179 views

Make space between rows constant

Consider this toy example: \documentclass[11pt]{article} \usepackage{amsmath} \begin{document} \begin{itemize} \item $\displaystyle{\lim_{x\to x_0}f(x)}$ \item $\displaystyle{\lim_{x\to x_0}...
0
votes
2answers
282 views

In tikz-cd, how do I achieve vertical alignment of arrow-replacing symbols when columns in different columns have different “vertical box”sizes?

I'm in a rather specific/peculiar situation: For aesthetic reasons, I want certain entries in a tikz-cd diagram to use "large" symbols (in my case, I'm using the \displaystyle version of \varinjlim ...
6
votes
2answers
2k views

I have a question about the \displaystyle command

I have a question about the \displaystyle command. So every time I write a quiz or test, in order to make a fraction, limit, integral, etc. look decent, I have to do something like, $\displaystyle\...
0
votes
1answer
73 views

When I type \in, it is going into the next line. Why?

For \[R \in Q'\] This what I have typed. 'For' is on the same line but the next expression is going onto the next paragraph and centered. How can I avoid this?
1
vote
1answer
149 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
189 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
205 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 brackets ...
1
vote
1answer
467 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 ...
1
vote
2answers
95 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
379 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
107 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, ...
18
votes
1answer
260 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
233 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
94 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
171 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}]$$ ...
3
votes
1answer
381 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
109 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,...