[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lon-capa-users
Subject:    Re: [LON-CAPA-users] Strike through LaTex
From:       Itay <itayf () nospammail ! net>
Date:       2015-03-23 18:52:47
Message-ID: 1427136767.3833790.244178366.53B3B4C7 () webmail ! messagingengine ! com
[Download RAW message or body]

[Attachment #2 (--_----------=_142713676738337903)]


Perhaps something like this? (not tested in Capa)

<m>\(\LARGE

\newcommand*{\strikethrough}{\rule[0.5ex]{3em}{0.5pt}\hspace{-3em}}
\frac{(x-2)\strikethrough(x+2)}{(x+2)\strikethrough(x+2)}\)</m>

I added '\(' and '\)' at the beginning and end of the element. I believe
they are required.

If it works for you, use the parameters of the \rule command to adjust
the display of the stroke.

Best, Itay


On Mon, Mar 23, 2015, at 08:29 PM, Bayu Irjanto wrote:
> Hi,
>
> I have been having difficulty to display a strike through line in a
> math LaTex formula on a html page. The picture attached is how I want
> it to look like.
>
> Below is the Math Latex form that I have and I am trying to make it
> look like the picture attached.
>
> <m>\LARGE
\frac{\left(x-2\right)\left(x+2\right)}{\left(x+2\right)\left(x+2\right)}\</m>


>
> Thanks,
>
> Bayu
> _________________________________________________
> LON-CAPA-users mailing list LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users Email had 1
> attachment:


>  * crossout.JPG 17k (image/jpeg)



[Attachment #5 (unknown)]

<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>Perhaps something like this? (not tested in Capa)<br></div>
<div>&nbsp;</div>
<div><span style="font-family:Arial,sans-serif" class="font"><span \
style="font-size:12pt" class="size">&lt;m&gt;\(\LARGE </span></span><br></div>
<div>\newcommand*{\strikethrough}{\rule[0.5ex]{3em}{0.5pt}\hspace{-3em}}<br></div>
<div>&nbsp; \frac{(x-2)\strikethrough(x+2)}{(x+2)\strikethrough(x+2)}\)&lt;/m&gt;<br></div>
 <div>&nbsp;</div>
<div>I added '\(' and '\)' at the beginning and end of the element. I believe they \
are required.<br></div> <div>&nbsp;</div>
<div>If it works for you, use the parameters of the \rule command to adjust the \
display of the stroke.<br></div> <div><br>Best,<br>Itay<br></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>On Mon, Mar 23, 2015, at 08:29 PM, Bayu Irjanto wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div>Hi,<br></div>
<div>&nbsp;</div>
<div>I have been having difficulty to display a strike through line in a math LaTex \
formula on a html page. The picture attached is how I want it to look \
like.&nbsp;<br></div> <div>&nbsp;</div>
<div>Below is the Math Latex form that I have and I am trying to make it look like \
the picture attached.<br></div> <div>&nbsp;</div>
<div><p><span style="font-family:Arial,sans-serif" class="font"><span \
style="font-size:12pt" class="size">&lt;m&gt;\LARGE \
\frac{\left(x-2\right)\left(x+2\right)}{\left(x+2\right)\left(x+2\right)}\</span></span>&lt;/m&gt;<span \
style="font-family:Arial,sans-serif" class="font"><span style="font-size:12pt" \
class="size"></span></span><br></p></div> <div>&nbsp;</div>
<div>Thanks,<br></div>
<div>&nbsp;</div>
<div>Bayu<br></div>
</div>
<div><u>_______________________________________________</u><br></div>
<div>LON-CAPA-users mailing list<br></div>
<div><a defang_rel="noreferrer" \
href="mailto:LON-CAPA-users@mail.lon-capa.org">LON-CAPA-users@mail.lon-capa.org</a><br></div>
 <div><a defang_rel="noreferrer" \
href="http://mail.lon-capa.org/mailman/listinfo/lon-capa-users">http://mail.lon-capa.org/mailman/listinfo/lon-capa-users</a><br></div>
 <p>Email had 1 attachment:<br></p><ul><li><code>crossout.JPG</code><br>&nbsp; 17k \
(image/jpeg)</li></ul></blockquote><div>&nbsp;</div> <div>&nbsp;</div>
</body>
</html>



_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic