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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
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