General ⇒ fractional slash
fractional slash
I need to put a fractional backward slash in an equation. I am unable to do that. If I put a normal slash it is very small....I want it to be a big slash (slanting). Is there any command in LAtex for that.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
fractional slash
I'm not sure if understand you right, but you could take a look at the nicefrac package.
Best regards and welcome to the board
Thorsten¹
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
fractional slash
I will try to explain my problem in more detail here.
I have written Eq. in pic1 in Latex:
The code is as follows:
Now I want to write something like pic2 (call it Eq2)
Although a few variables are diff but the equation is the same. I am unable to place the slanting slash like the one in Eq. 2. A normal slash appears extremely small. How to make the slash bigger like in Eq. 2. I have looked at the 'nice frac' package but cannot find a solution to my problem.
I would appreciate if someone could help.
I have written Eq. in pic1 in Latex:
The code is as follows:
Code: Select all
\begin{equation}\label{eq: CP}CP= \frac{c}{\sum_{i=1}^c
\left(\frac{\sum_{x_m\in C_i,x_m\neq x_{c_i}}u_{im}^2
R_{c_im}^2}{\sum_{x_m\in C_i,x_m\neq
x_{c_i}}u_{im}^2}\right)}\end{equation}
Now I want to write something like pic2 (call it Eq2)
Although a few variables are diff but the equation is the same. I am unable to place the slanting slash like the one in Eq. 2. A normal slash appears extremely small. How to make the slash bigger like in Eq. 2. I have looked at the 'nice frac' package but cannot find a solution to my problem.
I would appreciate if someone could help.
- Attachments
-
- pic2.JPG (5.84 KiB) Viewed 20431 times
-
- pic1.JPG (5.57 KiB) Viewed 20433 times
fractional slash
Try the following:
\middle makes the slash as large as the delimiters in the surrounding \left...\right group.
Code: Select all
\begin{equation}\label{eq: CP}CP= \frac{c}{\sum_{i=1}^c
\left(\sum_{x_m\in C_i,x_m\neq x_{c_i}}u_{im}^2
R_{c_im}^2 \middle/ \sum_{x_m\in C_i,x_m\neq
x_{c_i}}u_{im}^2\right)}\end{equation}
-
- Posts: 274
- Joined: Fri Feb 05, 2010 10:15 pm
fractional slash
I was looking at something similar. Didn't see if you every got your answer. Localhost had it right:
Code: Select all
$CP= \dfrac{c}{\sum_{i=1}^c
\left(\nicefrac{\sum_{x_m\in C_i,x_m\neq x_{c_i}}u_{im}^2
R_{c_im}^2}{\sum_{x_m\in C_i,x_m\neq
x_{c_i}}u_{im}^2}\right)}$