Display Style in Math Mode - Overleaf, Online LaTeX Editor
Display Style in Math Mode - Overleaf, Online LaTeX Editor
Some mathematical elements change their style depending on the context, whether they
are in line with the text or in an equation-type environment. This article explains how to
manually adjust the display style.
Introduction
Let's see an example
\begin{eqnarray*}
\begin{eqnarray*}
f(x) = \sum_{i=0}^{n} \frac{a_i}{1+x} \\
\textstyle f(x) = \textstyle \sum_{i=0}^{n} \frac{a_i}{1+x} \\
\scriptstyle f(x) = \scriptstyle \sum_{i=0}^{n} \frac{a_i}{1+x} \\
\scriptscriptstyle f(x) = \scriptscriptstyle \sum_{i=0}^{n}
\frac{a_i}{1+x}
\end{eqnarray*}
\end{eqnarray*}
Further reading
For more information see
Overleaf guides
Creating a document in Overleaf (/learn/Kb/Creating_a_document_in_Overleaf)
Uploading a project (/learn/Kb/Uploading_a_project)
Copying a project (/learn/Kb/Copying_a_project)
Creating a project from a template (/learn/Kb/Creating_a_project_from_a_template)
Using the Overleaf project menu (/learn/Kb/Using_the_Overleaf_project_menu)
Including images in Overleaf (/learn/Kb/Including_images_in_ShareLaTeX)
Exporting your work from Overleaf (/learn/Kb/Exporting_your_work_from_ShareLaTeX)
Working of ine in Overleaf (/learn/Kb/Working_Of ine_in_Overleaf_v2)
Using Track Changes in Overleaf (/learn/Kb/Track_Changes_in_Overleaf_v2)
Using bibliographies in Overleaf (/learn/Kb/Using_bibliographies_in_ShareLaTeX)
Sharing your work with others (/learn/Kb/Sharing_your_work_with_others)
Using the History feature (/learn/Using_the_History_feature)
Debugging Compilation timeout errors (/learn/Kb/Debugging_Compilation_timeout_errors)
How-to guides (/learn/Kb/Knowledge_Base)
LaTeX Basics
Creating your rst LaTeX document (/learn/Creating_a_document_in_LaTeX)
Choosing a LaTeX Compiler (/learn/Choosing_a_LaTeX_Compiler)
Paragraphs and new lines (/learn/Paragraphs_and_new_lines)
Bold, italics and underlining (/learn/Bold,_italics_and_underlining)
Lists (/learn/Lists)
Errors (/learn/Errors)
Mathematics
Mathematical expressions (/learn/Mathematical_expressions)
Subscripts and superscripts (/learn/Subscripts_and_superscripts)
Brackets and Parentheses (/learn/Brackets_and_Parentheses)
Matrices (/learn/Matrices)
Fractions and Binomials (/learn/Fractions_and_Binomials)
Aligning Equations (/learn/Aligning_equations)
Operators (/learn/Operators)
Spacing in math mode (/learn/Spacing_in_math_mode)
Integrals, sums and limits (/learn/Integrals,_sums_and_limits)
Display style in math mode (/learn/Display_style_in_math_mode)
List of Greek letters and math symbols (/learn/List_of_Greek_letters_and_math_symbols)
Mathematical fonts (/learn/Mathematical_fonts)
Languages
Multilingual typesetting on Overleaf using polyglossia and fontspec
(/learn/Multilingual_typesetting_on_Overleaf_using_polyglossia_and_fontspec)
Multilingual typesetting on Overleaf using babel and fontspec
(/learn/Multilingual_typesetting_on_Overleaf_using_babel_and_fontspec)
International language support (/learn/International_language_support)
Quotations and quotation marks (/learn/Typesetting_quotations)
Arabic (/learn/Arabic)
Chinese (/learn/Chinese)
French (/learn/French)
German (/learn/German)
Greek (/learn/Greek)
Italian (/learn/Italian)
Japanese (/learn/Japanese)
Korean (/learn/Korean)
Portuguese (/learn/Portuguese)
Russian (/learn/Russian)
Spanish (/learn/Spanish)
Document structure
Sections and chapters (/learn/Sections_and_chapters)
Table of contents (/learn/Table_of_contents)
Cross referencing sections and equations (/learn/Cross_referencing_sections_and_equations)
Indices (/learn/Indices)
Glossaries (/learn/Glossaries)
Nomenclatures (/learn/Nomenclatures)
Management in a large project (/learn/Management_in_a_large_project)
Multi- le LaTeX projects (/learn/Multi- le_LaTeX_projects)
Hyperlinks (/learn/Hyperlinks)
Formatting
Lengths in LATEX (/learn/Lengths_in_LaTeX)
Headers and footers (/learn/Headers_and_footers)
Page numbering (/learn/Page_numbering)
Paragraph formatting (/learn/Paragraph_formatting)
Line breaks and blank spaces (/learn/Line_breaks_and_blank_spaces)
Text alignment (/learn/Text_alignment)
Page size and margins (/learn/Page_size_and_margins)
Single sided and double sided documents (/learn/Single_sided_and_double_sided_documents)
Multiple columns (/learn/Multiple_columns)
Counters (/learn/Counters)
Code listing (/learn/Code_listing)
Code Highlighting with minted (/learn/Code_Highlighting_with_minted)
Using colours in LaTeX (/learn/Using_colours_in_LaTeX)
Footnotes (/learn/Footnotes)
Margin notes (/learn/Margin_notes)
Fonts
Font sizes, families, and styles (/learn/Font_sizes,_families,_and_styles)
Font typefaces (/learn/Font_typefaces)
Supporting modern fonts with XƎLATEX (/learn/XeLaTeX)
Presentations
Beamer (/learn/Beamer)
Powerdot (/learn/Powerdot)
Posters (/learn/Posters)
Commands
Commands (/learn/Commands)
Environments (/learn/Environments)
Field speci c
Theorems and proofs (/learn/Theorems_and_proofs)
Chemistry formulae (/learn/Chemistry_formulae)
Feynman diagrams (/learn/Feynman_diagrams)
Molecular orbital diagrams (/learn/Molecular_orbital_diagrams)
Chess notation (/learn/Chess_notation)
Knitting patterns (/learn/Knitting_patterns)
CircuiTikz package (/learn/CircuiTikz_package)
Pgfplots package (/learn/Pgfplots_package)
Typing exams in LaTeX (/learn/Typing_exams_in_LaTeX)
Knitr (/learn/Knitr)
Attribute Value Matrices (/learn/Attribute_Value_Matrices)
Class les
Understanding packages and class les (/learn/Understanding_packages_and_class_ les)
List of packages and class les (/learn/List_of_packages_and_class_ les)
Writing your own package (/learn/Writing_your_own_package)
Writing your own class (/learn/Writing_your_own_class)
Tips (/learn/Tips)
Advanced TeX/LaTeX
In-depth technical articles on TeX/LaTeX (/learn/Articles)