Math & ScienceSlanted division symbol

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
dmt
Posts: 82
Joined: Sat Mar 15, 2008 8:13 pm

Slanted division symbol

Post by dmt »

How do I make a large forward slash in a math environment for use when showing for example one fraction divided by fraction? A normal forward slash is too small and disappears between the fractions. I assume there is some symbol for making a larger forward slash that would scale up to the size of what it is next to?

Thanks.

Recommended reading 2024:

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

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

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Slanted division symbol

Post by phi »

Like this?

Code: Select all

\documentclass{article}
\begin{document}
\[ \left. \frac12 \middle/ \frac34 \right. \]
\end{document}
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Slanted division symbol

Post by kaiserkarl13 »

phi's suggestion doesn't work without a package that defines \middle. Short of that, try

Code: Select all

\documentclass{article}
\begin{document}
\[ \left. \frac12 \right/ \left. \frac34 \right. \]
\end{document}
This may screw up if the right side is bigger than the left, in which case you can put the . and the / in opposite places.
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Slanted division symbol

Post by gmedina »

kaiserkarl13 wrote:phi's suggestion doesn't work without a package that defines \middle. Short of that, try...
\middle only requires eTeX; most current TeX distributions come with most formats built with an eTeX-based system.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
daleif
Posts: 199
Joined: Wed Nov 19, 2008 12:46 am

Re: Slanted division symbol

Post by daleif »

so if your latex dist does not provide the \left \middle \right construction, then your latex dist need a complete update (good idea anyways)
Post Reply