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

Filter by
Sorted by
Tagged with
1 vote
0 answers
39 views

textcolor and displaystyle

I need to color a portion of a displayed equation, but when I do that the equation gets turned into \textstyle instead of \displaystyle. Here is a minimal working example: \documentclass{amsart} \...
underflow's user avatar
  • 519
1 vote
1 answer
47 views

\downarrow is not centered in table when using tex4ht with column type centered paragraph

I am making a table, with one column. The table is centered. The column type is centered paragraph. I am using \downarrow for annotation between each row to indicate transformation made. In pdf, ...
Nasser's user avatar
  • 20.7k
0 votes
1 answer
69 views

Reason for \in positioning, and possible fix?

All the tex layouts I've seen thus far produce something like: In displaystyle the off-centering (or centering?) of the \in symbol isn't very noticable, however it is in scriptstyle. Also: The same ...
studying mathematics 's user avatar
3 votes
2 answers
90 views

\mathfrak didn't show correctly. (e.g., \mathfrak{0} in the tex file shows \mathfrak{5} in the generated pdf) [closed]

Here is the text in the .tex file: by learning multiple functions $\{f_\rho^{\mathfrak{0}}, f_\rho^{\mathfrak{1}}, \cdots, f_\rho^{\mathfrak{K}} \}$ Here is the strange output in the pdf file: Here ...
zlin's user avatar
  • 33
0 votes
1 answer
26 views

Intermediate size between \textstyle and \displaystyle

I am looking for a way to write equations in a paragraph that are bigger than the \textstyle option but smaller than the \displaystyle option. The screenshot below explains what I'm talking about. ...
IsaKEKW's user avatar
  • 535
0 votes
0 answers
63 views

\[ .... \] or $$ for mathmode in LaTeX; which is preferable? [duplicate]

Which one is better to use if you want mathmode in LaTeX, \[ ... \] or $$...$$? My teacher said that \[ ... \] is better, but he did not give an argument why. Is there one? I'd be interested for ...
Ben123's user avatar
  • 223
1 vote
1 answer
47 views

Vertical spacing around plain display math vs `amsmath` environments such as `gather`

Let us have a look at the following minimal example: \documentclass{article} \usepackage{amsmath} \begin{document} This is the first line. % \begin{gather*} x^2 + y^2 = z^2. \end{gather*} \begin{...
shuhalo's user avatar
  • 2,505
1 vote
1 answer
60 views

Multiple footnotemarks inside display math mode

I'm using footnotemark and footnotetext inside an equation in display style in math mode. I already know that in order for this to work you need to write the footnotetext outside the environment, but ...
Darsen's user avatar
  • 113
0 votes
0 answers
45 views

A better \sum limits display style?

Consider the following y_j=\sum_{k=0}^n \sum_{i=\max(-k,1-j)}^{\min(k,n-j)} x_{j+i} I do not like the second summation limits style. Is there any better alternative to this?
sam wolfe's user avatar
  • 265
-1 votes
1 answer
55 views

Text without use of amsmath [duplicate]

Is it possible to write text within math display environment without using the amsmath package ? Have seen the use of \text{something} but the command is from amsmath.
Bhanat's user avatar
  • 1
1 vote
1 answer
38 views

Cross Referencing an Item within an Enumerate Display

Consider the code: \documentclass[12pt]{book} \begin{document} \thispagestyle{empty} \begin{enumerate} \itemsep3.0em \item Item 1 \item Item 2 \item Item 3 See also item [referenced \#, in this case \...
DDS's user avatar
  • 8,491
2 votes
2 answers
133 views

How to center an \inference* rule from mathpartir properly

Continuing http://tex.stackexchange.com/a/656192, how to center the inference rules carrying names or side conditions in the scope of \[…\] in narrow columns? For example, \documentclass[twocolumn]{...
AlMa0's user avatar
  • 479
1 vote
1 answer
143 views

Why the display style is not working [closed]

I have the following formula that is in display mode \begin{equation*} x_k = \sum\limits_{i=1}^{N_1} \sum_{j=1}^{N_2} T_{i,j,k} u_i v_j, \quad k=1,\dots,N_3. \end{equation*} But it is displayed in ...
RGS's user avatar
  • 11
2 votes
1 answer
40 views

\amsmath \align \display Please identify log errors

The mwe code below compiles and produces the desired layout. However, the log shows 3 errors which I can't find after going through the code several times. Your assistance identifying the source of ...
Siuslaw Math's user avatar
0 votes
2 answers
44 views

Beamer \newenviroment problem when new block starts with displayed equation using Copenhagen theme

I've modified answer of this post for new blocks as follow but when I put an displayed equation as first line it produce error Extra }, or forgotten $. ^^I\end{frame} and when I put it after an empty ...
C.F.G's user avatar
  • 542
0 votes
2 answers
61 views

Array/tabular env. showing fractions directly in display mode and correctly spaced?

In my Latex documents I usually include arrays and tables with fraction that always get crushed to their inline form, giving an unpleasant result. I know I could solve the issue by switching every \...
5kywAlker43's user avatar
1 vote
1 answer
47 views

Absence of error while using dollar signs within displayed math

Please consider the following file: \documentclass{article} \newcommand{\ineq}[2][$0$]{#2<#1} \[\ineq x\] \end{document} If I compile it, I get an error message, as it would be expected when one ...
José Carlos Santos's user avatar
1 vote
1 answer
79 views

make4ht diplaystyle \dfrac command

Is it possible to make the \dfrac command work in inline mode? Or is it possible to force all the math in diplaystyle mode ? I use make4ht with mathml. \documentclass{article} \usepackage{amsmath} \...
Manuel Cart's user avatar
1 vote
2 answers
99 views

Alegreya SC in LaTeX

Does anyone know how to use the font Alegreya SC in LaTeX? I am aware of the package Alegreya, but it does not seem to provide the right capitalization. Any ideas?
sam wolfe's user avatar
  • 265
2 votes
1 answer
494 views

Format interview transcript

I have the following format from an interview transcript : Bob: 00:00:07.000 –> 00:00:17.000 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi fermentum bibendum orci quis faucibus. ...
Demi Dimitrova's user avatar
0 votes
1 answer
97 views

Odd behaviour of inline math and display before a footnote, but ok after a footnote

I am puzzled with this strange behavior of math display in my file: This is the latex file compiled with LuaLatex: \usepackage[portuguese]{babel} \babelposthyphenation{portuguese}{.=.}{ {}, { ...
JPMD's user avatar
  • 311
2 votes
2 answers
85 views

Inline math in the table of contents

I use displaystyle for math expressions in all my documents but I want just the inline style just in the table of contents. Is this possible? \documentclass{article} \usepackage{amsmath} \everymath{\...
As soon as possible's user avatar
2 votes
1 answer
88 views

TeX4ht: \displaystyle in eqnarray, align and array environments

I am using tex4ht to convert a LaTeX document to HTML. I would like to know how to obtain a full display of equations either in the eqnarray, align and array environments. The following snippet ...
Frédéric Galliano's user avatar
2 votes
2 answers
111 views

Altering the Appearance of Opening Double Quotes Using Tgpagella

Consider the following code which invokes the tgpagella font: \documentclass{book} \usepackage{tgpagella} % Sets tgpagella as main font. \begin{document} \Huge \thispagestyle{empty} \textbf{``This is ...
DDS's user avatar
  • 8,491
0 votes
1 answer
67 views

$$ ... $$ is centered but \[ ... \] and equation/align/gather etc. aren't [closed]

Basically only using $$...$$ gets me a centered equation, which isn't optimal when I want to number them. Here's the main .tex file, the file compiles normally without error... any clue what's wrong ?...
tareqath's user avatar
0 votes
0 answers
132 views

How to change the title of chapter style

It's the first time that I am using LaTeX and I am struggling to change the style format of the title chapter. In particular, I am running this code: \documentclass[12pt,a4paper]{report} \usepackage[...
HelpNeederStudent's user avatar
0 votes
0 answers
82 views

Custom limit locations

How are big operators defined? Starting with something like the above, I want to place the lower limit in a displaymath-size symbol below it and the upper limit to the right side (essentially middle ...
Gupta's user avatar
  • 119
0 votes
1 answer
62 views

Reproducing SE verbatim in TeX documents [duplicate]

In a LaTeX document, how does one produce a verbatim-type expression like in the StackExchange website, for writing code? For example, example, where you get a grey box highlighting the text. I know ...
sam wolfe's user avatar
  • 265
3 votes
1 answer
185 views

How to label lines and columns of a matrix?

How can I obtain the following representation?
sam wolfe's user avatar
  • 265
3 votes
4 answers
501 views

Render display math properly in Standalone environment

I am attempting to use latex to generate images of mathematical equations using the standalone environment. I wish to force the subscript and superscript to appear below and above the sum respectively ...
Talmsmen's user avatar
  • 135
4 votes
2 answers
172 views

`\left` `\right` not working properly with `\mathchoice`

I try to define \norm which gives \left\|#1\right\| in display math, while \|#1\| in inline math. I then use \mathchoice to implement this, but the final command doesn't work properly: the position of ...
JRen's user avatar
  • 89
3 votes
2 answers
280 views

How can I renew the macro "\log" (from "log" to "\ell og")?

How can I renew the macro "\log" (from "log" to "\ell og")? Default function \log in line 1 I use renewcommand for \log: \renewcommand{\log}{\ell\text{og }} That shows ...
Deeridear's user avatar
1 vote
2 answers
243 views

State of sans serif maths fonts

I'm looking for a comprehensive sample of specimens from current, known to be up and running, sans serif fonts for (displaystyle) maths. In particular, I would like to know how one can know whether a ...
donvmax 's user avatar
1 vote
1 answer
93 views

How to make displaystyle unions, intersections, sums products, etc. less obnoxious [closed]

When one tries to display, for example, a large union using ‘bigcup’ one issue is that text above and below gets pushed up and down, respectively. The below image shows that it is possible to correct ...
Jackson Jacobson's user avatar
0 votes
1 answer
109 views

Rescale integral in display math with nccmath's `\medint`

I want to make the integral symbol in displayed equations smaller by using the nccmath's \medint command, which looks quite suitable. Is there a way to always have \medint prepend \int only in ...
Gargantuar's user avatar
0 votes
0 answers
167 views

Move footnotes in an appendix

I created a document to which, over time, I had to add MANY footnotes. Now, to make things more practical I would like to have two versions of the doc: i) the current one with many footnotes at the ...
giz's user avatar
  • 1
3 votes
1 answer
118 views

Is it possible to customize an "int" symbol with three index notation?

like this I need an extra index notation for the integral symbol . I know the /displaylimits could modify the position of index notation, but I wonder how to add three index notation to an integral ...
uuthi j's user avatar
  • 45
0 votes
1 answer
45 views

Figure structuring made easy?

Is there any online tool or an easy way of structuring figures in LaTeX? For example, imagine I want to do something like labelled like that. It somehow seems unnecessarily tricky to get something ...
sam wolfe's user avatar
  • 265
0 votes
0 answers
40 views

How to display inline math display-style document-wide [duplicate]

I have a document where I want to display both inline and display math in the larger display-style. I know that for inline math I can add \displaystyle between the dollar signs, but I want to do this ...
Ungar Linski's user avatar
2 votes
1 answer
158 views

Use different math font in inline-style and display-style formulas for \int symbol

I have seen Use different math font in inline-style and display-style formulas, but here I just want one symbol to be different inline vs display. In Borrowing the integral and summation signs from ...
D.R's user avatar
  • 731
7 votes
1 answer
317 views

Does $$...$$ produces wrong spacing in plain TeX?

In the ConTeXt FAQ, one can read Does $$...$$ work for display math, like in (La)TeX? No; the spacing above and below the equation will be wrong, and maybe other aspects too. Moreover in LaTeX, a ...
user avatar
-1 votes
2 answers
120 views

(Done!) Table and text styles error in this book project [closed]

(Resolved) I'm in trouble again on this project. It is a book, with standard dimensions of A5 paper (14x21 cm). And I need help. The project is here: https://www.overleaf.com/1332517788tpyfvfrnnsqd (...
Marcio Lord's user avatar
0 votes
1 answer
82 views

How do I prevent the numerator of my fractions not exceed the height of the summation signs?

I used the technique presented by @Qrrbrbirlbel at making a big summation sign to make my summation symbols big enough. \documentclass[11pt,oneside,openany]{book} \usepackage[a4paper, left=1.5cm, ...
itc's user avatar
  • 657
1 vote
1 answer
177 views

Vertical representation of Euclid's algorithm

I want to show how to find the gcd(greatest common divisor) of 299 and 247 : But how can I get this ?tabular?Thx for your kind reply.....
Zhilai Liu's user avatar
2 votes
0 answers
36 views

Displaystyle for oplus [duplicate]

I would like the following behaviour: If I use an \oplus in a displayed math environment, I would like it to look like what happens with \bigoplus, i.e., I'd like the counters going directly below and ...
Sándor Kovács's user avatar
3 votes
0 answers
301 views

Toggle button (and functionality) to change between light and dark mode of pdf

I would like to have both light and dark mode style in the same pdf. The light mode would be used when the reader wants to print the document while the dark mode will be used for reading the document ...
Some_Lost_Developer's user avatar
3 votes
2 answers
287 views

Brackets too large when using displaystyle and \left and \right in a fraction

I am trying to display a function of a fraction where I am using displaystyle in the numerator. Here is the markup: \[ \text{Var}(\overline{x}) = \text{Var}\left(\frac{\displaystyle \sum_{i=1}^{n} X_{...
ajax2112's user avatar
  • 159
1 vote
1 answer
287 views

How can I make this equation look more aesthetic and balanced?

I have a mathematical equation $$ K = \sum_{i \in \mathcal{V}} \left\lvert i^p - \mathbbm{1}_{\{i \in \mathcal{J}\}} \cdot k^p \right\rvert $$ that when compiled, looks like: Is there a way I could ...
user321627's user avatar
1 vote
1 answer
64 views

On the Use of Vstretch in a Minipage Environment

Consider the code: \documentclass[12pt]{book} \usepackage{scalefnt} \usepackage{scalerel} % For Vertical Stretch of Letters \usepackage{xcolor} \begin{document} \thispagestyle{empty} \begin{center} \...
DDS's user avatar
  • 8,491
1 vote
1 answer
196 views

How to make footnote for framed theorem appear at bottom of page?

I recently learned how to put a frame around display-math expressions, and now I'd like to add a footnote to the text in the frame. When I try this, however, the footnote appears at the bottom of the ...
Leonidas's user avatar
  • 133

1
2 3 4 5