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}
kile
  • 655
  • 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*. –  Mar 31 '20 at 03:42
  • @Schrödinger'scat, Can nccmath replace amsmath? – kile Mar 31 '20 at 03:59
  • OK, good point! But I still do not know what you want to achieve. –  Mar 31 '20 at 04:00
  • @Schrödinger'scat, I've edited my post. I hope you can understand me now – kile Mar 31 '20 at 04:06
  • Like https://tex.stackexchange.com/q/20609 ? –  Mar 31 '20 at 04:10
  • @Schrödinger'scat, [ \hbox{\sout{$&(1)(1)+2(1)+(-1)2+ \ & (-2)1+0(1)+(1)3+ \ &1(2)+(-1)(1)+0(4)$}} ] it's not working – kile Mar 31 '20 at 04:19

1 Answers1

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}
Mico
  • 506,678
  • can you fix hbox? – kile Mar 31 '20 at 06: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 '20 at 07:09
  • how can I employ tabular in this example? – kile Apr 01 '20 at 06:06
  • @kile - The answer I gave employs a tabular environment. Please clarify your question. – Mico Apr 01 '20 at 06:19
  • -\usepackage[normalem]{ulem} \[ \hbox{\sout{$&(1)(1)+2(1)+(-1)2+\] – kile Apr 01 '20 at 14:52
  • @kile - \[ \begin{tabular}{l} \sout{$(1)(1)+2(1)+(-1)2+$} \end{tabular} \] instead of \[ \hbox{\sout{$(1)(1)+2(1)+(-1)2+$}} \]. – Mico Apr 01 '20 at 15:04