Math & ScienceMatrix Fractions

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
davefulton
Posts: 8
Joined: Wed May 05, 2010 8:36 pm

Matrix Fractions

Post by davefulton »

Hello all,

Can anybody help me display fractions in my matrix in display form as a pose to inline form

My code is

Code: Select all

\begin{equation}H = \left( \begin{matrix}{}
0\\[10pt]
2\Omega(v-v_0)\rho+\frac{2}{\alpha r}\rho A \sin \hat{\eta}\\[10pt]
-\frac{\kappa^2}{2\Omega}(u-u_0)\rho\end{matrix} \right),\end{equation}

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10344
Joined: Mon Mar 10, 2008 9:44 pm

Matrix Fractions

Post by Stefan Kottwitz »

Hi,

if you use amsmath:

Code: Select all

\usepackage{amsmath}
you could use \tfrac or \dfrac instead of just \frac.

Stefan
LaTeX.org admin
davefulton
Posts: 8
Joined: Wed May 05, 2010 8:36 pm

Re: Matrix Fractions

Post by davefulton »

Thank you x
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Matrix Fractions

Post by localghost »

Now that the problem is solved, please mark the topic accordingly as described in Section 3 of the Board Rules.


Best regards
Thorsten
Post Reply