Math & ScienceToo small Fractions in Array

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
krabby
Posts: 12
Joined: Tue Mar 20, 2012 9:38 pm

Too small Fractions in Array

Post by krabby »

Hi,

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. .
\]
The output is just fine. But the fractions are very small. How can I enlarge them so that they look like normal sized formulas.

A screenshot of the current output is attached.

Thank you
Attachments
Selection_022.png
Selection_022.png (6.27 KiB) Viewed 19821 times
Last edited by localghost on Wed Jun 05, 2013 10:03 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Too small Fractions in Array

Post by Johannes_B »

Can you please edit your post by preparing a Minimal Working example using the code button?

This ensures, that we all can test and modify your example and finally see the same output (Open in WriteLaTeX).
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Too small Fractions in Array

Post by localghost »

In the {array} environment fractions by default are typeset in text style. You can force display style by various measures.
  • Use \dfrac from amsmath instead of the usual \frac command.
  • Use the array package to enable \displaystyle for each column of the {array} environment. For details refer to the manual.
  • Enable \displaystyle in each cell of the {array} environment.
Since you want to typeset a case differentiation, you should consider the following possible approaches.
  • The cases environment from amsmath.
  • Enhancements of this cases environment by cases or mathtools. The corresponding manuals have the details.
  • A completely different approach by using the structures of the empheq package.

Further reading:

Thorsten
krabby
Posts: 12
Joined: Tue Mar 20, 2012 9:38 pm

Too small Fractions in Array

Post by krabby »

localghost wrote:In the {array} environment fractions by default are typeset in text style. You can force display style by various measures.
  • Use \dfrac from amsmath instead of the usual \frac command.
  • Use the array package to enable \displaystyle for each column of the {array} environment. For details refer to the manual.
  • Enable \displaystyle in each cell of the {array} environment.
Since you want to typeset a case differentiation, you should consider the following possible approaches.
  • The cases environment from amsmath.
  • Enhancements of this cases environment by cases or mathtools. The corresponding manuals have the details.
  • A completely different approach by using the structures of the empheq package.

Further reading:

Thorsten
Thanks ! Worked for me :-)
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Too small Fractions in Array

Post by Johannes_B »

Would you consider posting your preferred solution, so others can see when having a similar question?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply