General ⇒ fractional slash
fractional slash
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
fractional slash
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
fractional slash
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 20709 times
-
- pic1.JPG (5.57 KiB) Viewed 20711 times
fractional slash
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
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)}$