I have this code.
Code: Select all
\[
\lambda = \left\{
\begin{array}{ll}
\frac{64}{Re}, & Re <= 2300 \\
\frac{0,3164}{\sqrt[4]{Re}}, & Re > 2300
\end{array}
\right. .
\]A screenshot of the current output is attached.
Thank you
Code: Select all
\[
\lambda = \left\{
\begin{array}{ll}
\frac{64}{Re}, & Re <= 2300 \\
\frac{0,3164}{\sqrt[4]{Re}}, & Re > 2300
\end{array}
\right. .
\]Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
{array} environment fractions by default are typeset in text style. You can force display style by various measures.\dfrac from amsmath instead of the usual \frac command.\displaystyle for each column of the {array} environment. For details refer to the manual.\displaystyle in each cell of the {array} environment.cases environment from amsmath.cases environment by cases or mathtools. The corresponding manuals have the details.Thanks ! Worked for melocalghost wrote:In the{array}environment fractions by default are typeset in text style. You can force display style by various measures.
Since you want to typeset a case differentiation, you should consider the following possible approaches.
- Use
\dfracfrom amsmath instead of the usual\fraccommand.- Use the array package to enable
\displaystylefor each column of the{array}environment. For details refer to the manual.- Enable
\displaystylein each cell of the{array}environment.
- The
casesenvironment from amsmath.- Enhancements of this
casesenvironment by cases or mathtools. The corresponding manuals have the details.- A completely different approach by using the structures of the empheq package.
Further reading:
- The »Math mode« document
Thorsten
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis