How do i strikethrough just one part of a fraction?

by Daniel   Last Updated September 11, 2019 21:23 PM

I want to make it clear that 2 factors cancel out to simplify the equation for example.

I've tried using \st like this

$k(x+h)=$\st{$\frac{(x+h)^2}{(x+h)+1}$ 

but that just strikes through the center and i cant seem to compile with st inside of the $$

enter image description here

Tags : syntax


Related Questions


TeXstudio syntax highlighting for Tikz

Updated May 23, 2018 17:23 PM


Markdown code fragment inside latex document

Updated May 07, 2018 10:23 AM


latex code diagram

Updated April 14, 2015 21:10 PM