LaTeX forum ⇒ Math & ScienceReducing font in equation

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
ruchir_iit
Posts: 13
Joined: Tue Apr 21, 2009 9:14 am

Reducing font in equation

Postby ruchir_iit » Fri Apr 24, 2009 9:45 am

Hi,
I wanted to type an equation in latex. But it is too long to adjust in one line. It involve big arrays with many columns so I cannot split it. I wanted to reduce the font so that it can adjust in one line. However, \small doesn't work in {equation} environment.

Can anyone help me??

Ruchir
Last edited by cgnieder on Fri Jun 14, 2013 9:24 pm, edited 1 time in total.

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net
LaTeX Beginner's Guide LaTeX Cookbook
User avatar
localghost
Site Moderator
Posts: 9203
Joined: Fri Feb 02, 2007 12:06 pm

Reducing font in equation

Postby localghost » Fri Apr 24, 2009 9:56 am

Decrease the font size outside the equation environment and switch back to normal size right after it.
\small
\begin{equation}\label{eqn:label}
  % math expression
\end{equation}
\normalsize



Best regards
Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

ruchir_iit
Posts: 13
Joined: Tue Apr 21, 2009 9:14 am

Reducing font in equation

Postby ruchir_iit » Sun Apr 26, 2009 11:03 am

Hi Thorsten,

Thank you for your help. Still \small did not work but \footnotesize worked. May be I'll attach the image of the equation if you need to know it.
Long_Equation.jpg
Long_Equation.jpg (16.07 KiB) Viewed 110358 times


Ruchir

User avatar
localghost
Site Moderator
Posts: 9203
Joined: Fri Feb 02, 2007 12:06 pm

Reducing font in equation

Postby localghost » Sun Apr 26, 2009 12:01 pm

ruchir_iit wrote:[...] May be I'll attach the image of the equation if you need to know it.

The code in the sense of a minimal working example (MWE) would be much more interesting. Perhaps you should think about modifying your type area.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

Mefitico
Posts: 2
Joined: Fri Jun 14, 2013 7:13 pm

Reducing font in equation

Postby Mefitico » Fri Jun 14, 2013 7:18 pm

I'm also interested in a solution for this problem. Here is a matrix that I would be very happy to be able to show without having to separate its parts. I've tried the \footnotesize but apparently that wasn't enough.

\begin{subequations}
  \begin{align}
    H^&=\left[
    \begin{array}{ccc}
      -2 \left(-L_y \left(p q_2-r q_0\right)-L_z \left(q q_0+p q_3\right)+L_x \left(q q_2+r q_3\right)\right) & 2 \left(L_x \left(r q_0+q q_1\right)-L_z
      \left(p q_0-q q_3\right)-L_y \left(p q_1+r q_3\right)\right) & -2 \left(L_x \left(q q_0-r q_1\right)+L_z \left(p q_1+q q_2\right)-L_y \left(p q_0+r q_2\right)\right) \\
      \left(r L_x-p L_z\right) q_2+\left(p L_y-q L_x\right) q_3 & -2 \left(p L_y-q L_x\right) q_0+2 \left(p L_z-r L_x\right) q_1+\left(q L_z-r L_y\right) q_2
      & 2 L_x \left(r q_0+q q_1\right)+L_z \left(q q_3-2 p q_0\right)-L_y \left(2 p q_1+r q_3\right) \\
      L_x \left(r q_1-2 q q_0\right)-L_z \left(p q_1+2 q q_2\right)+2 L_y \left(p q_0+r q_2\right) & \left(q L_z-r L_y\right) q_1+\left(p L_y-q L_x\right) q_3
      & -2 \left(q L_z-r L_y\right) q_0-2 \left(p L_y-q L_x\right) q_2+\left(r L_x-p L_z\right) q_3 \\
      2 \left(p L_z-r L_x\right) q_0+\left(p L_y-q L_x\right) q_1-2 \left(q L_z-r L_y\right) q_3 & \left(p L_y-q L_x\right) q_2+2 L_z \left(q q_0+p
      q_3\right)-2 r \left(L_y q_0+L_x q_3\right) & \left(q L_z-r L_y\right) q_1+\left(r L_x-p L_z\right) q_2 \\
    \end{array}
    \right]^T
  \end{align}
\end{subequations}


Return to “Math & Science”

Who is online

Users browsing this forum: No registered users and 4 guests