1

enter image description here

Here is my input here.

I want strikrthrough all these lines

(1)(1)+2(1)+(-1)2+

(-2)1+0(1)+(1)3+

1(2)+(-1)(1)+0(4)

\documentclass[10pt,letterpaper]{article}  
\usepackage[left=8mm,top=6mm,bottom=6mm]{geometry}

\usepackage{nccmath}

\usepackage{soul}

\usepackage[normalem]{ulem}

 \begin{document}

\[
\mbox{
\Large$
\st{
(1)(1)+2(1)+(-1)2
}
$}
\]
\st{
\begin{Large}
\begin{align*}
&(1)(1)+2(1)+(-1)2+
\\
&(-2)1+0(1)+(1)3+
\\
&1(2)+(-1)(1)+0(4)
\end{align*}
\end{Large}
}

\[
  \hbox{\sout{$&(1)(1)+2(1)+(-1)2+
\\
 &  (-2)1+0(1)+(1)3+
\\
 &1(2)+(-1)(1)+0(4)$}}
\]

\end{document}
6
  • Can you please describe what you want to achieve? For instance, \[ \mbox{ \Large \st{ (1)(1)+2(1)+(-1)2 }} \] works, but I do not know if this is what you want to get. You will also need to load amsmath if you want to use align*.
    – user194703
    Mar 31, 2020 at 3:42
  • @Schrödinger'scat, Can nccmath replace amsmath?
    – kile
    Mar 31, 2020 at 3:59
  • OK, good point! But I still do not know what you want to achieve.
    – user194703
    Mar 31, 2020 at 4:00
  • @Schrödinger'scat, I've edited my post. I hope you can understand me now
    – kile
    Mar 31, 2020 at 4:06
  • Like tex.stackexchange.com/q/20609 ?
    – user194703
    Mar 31, 2020 at 4:10

1 Answer 1

1

Something like this?

enter image description here

\documentclass{article}  
\usepackage{soul}
\begin{document}
\begin{center}
\Large
  \begin{tabular}{@{}l@{}}
    \st{$(1)(1)+2(1)+(-1)2+{}$}\\
    \st{$(-2)1+0(1)+(1)3+{}$}\\
    \st{$1(2)+(-1)(1)+0(4)$}
  \end{tabular}
\end{center}
\end{document}
6
  • can you fix hbox?
    – kile
    Mar 31, 2020 at 6:24
  • @kile - I'm not sure why you would want to employ an extremely-low-level command such as \hbox directly. Can you give a use case? Put differently: Why would you not want to employ a tabular environment?
    – Mico
    Mar 31, 2020 at 7:09
  • how can I employ tabular in this example?
    – kile
    Apr 1, 2020 at 6:06
  • @kile - The answer I gave employs a tabular environment. Please clarify your question.
    – Mico
    Apr 1, 2020 at 6:19
  • -\usepackage[normalem]{ulem} \[ \hbox{\sout{$&(1)(1)+2(1)+(-1)2+\]
    – kile
    Apr 1, 2020 at 14:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .