Skip to main content

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
0 votes
1 answer
110 views

Typesetting the Year in an Old Style

I have recently encountered some unusual ways of displaying years; consider, for instance, and QUESTION: Might there be some way(s) in LaTeX which facilitate the typesetting of the displayed formats,...
DDS's user avatar
  • 9,768
0 votes
0 answers
62 views

Something "in between" \[ \] and begin-end-center

This question is perhaps stupid or rather a finicky question for finicky people. I have noticed that in ambient like "enumerate" (but even in general) using \[ ... \] or \begin{center} \( ......
Henry's user avatar
  • 402
0 votes
1 answer
27 views

Equations in display style not centered but with an indent

I'd like to use display style-equations but I don't want them to be centered. Instead, I'd like to have them left-aligned with 2 cm indent. Is this possible?
fswaan's user avatar
  • 3
0 votes
2 answers
57 views

How do I make displaystyle math (\[\]. \begin{equation}, etc.) vertical spacing equivalent to \centering \(\)? (Also having issues with unicode-math)

Essentially what I want is for environments such as align, equation, \[\], etc. to have the same amount of space as \documentclass{article} \begin{document} Fat \centering \(Fat\) \end{document} ...
Ferrius Undermine's user avatar
2 votes
2 answers
104 views

Attempting to redefine \dv and \pdv from Physics package to display style without setting the surrounding environment to display style

I am using the physics package which adds the \derivative and \partialderivative commands, in addition to the \dv and \pdv commands which are just the shorthand versions. For those unfamiliar, these ...
Connor Lyons's user avatar
1 vote
1 answer
52 views

Detect use of display math: \everydisplaymath{}

I would like to be able to detect if a display math environment was used: So, looking for a \everydisplaymath{} hook. Am not bothered if something like $\displaystyle \frac{}{} is counted or not. In ...
Peter Grill's user avatar
3 votes
1 answer
111 views

"unexpected $ after $$" and "unclosed $$ found at $" errors with inline math inside display mode

I am trying to define a new command for different types of homomorphisms. The command is: \newcommand{\Hom}[2][]{% \operatorname{Hom}_{\textnormal{#1}}\left({#2}\right)% } The outputs of this ...
Lorenzo Carozzo's user avatar
1 vote
0 answers
70 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
  • 633
1 vote
1 answer
59 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.3k
0 votes
1 answer
73 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
118 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
  • 75
0 votes
1 answer
64 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
  • 547
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
56 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,575
1 vote
1 answer
69 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
61 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
  • 257
-1 votes
1 answer
65 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
41 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
  • 9,768
2 votes
2 answers
289 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]{...
user avatar
1 vote
1 answer
270 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
44 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
45 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
  • 552
0 votes
2 answers
80 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
49 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
91 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
198 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
  • 257
3 votes
1 answer
736 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
109 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
110 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
112 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
120 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
  • 9,768
0 votes
1 answer
69 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
180 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
99 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
64 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
  • 257
3 votes
1 answer
231 views

How to label lines and columns of a matrix?

How can I obtain the following representation?
sam wolfe's user avatar
  • 257
3 votes
4 answers
732 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
179 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
291 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
287 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
277 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
133 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
  • 1,241
0 votes
0 answers
253 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
124 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
  • 257
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
227 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
  • 771
7 votes
1 answer
353 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
135 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
83 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
  • 655

1
2 3 4 5