Arrumando Undefined control sequence com as tabelas

parent 93c054fd
......@@ -274,14 +274,13 @@ struct {
A memória assumiria o seguinte aspecto para a declaração acima:
\iffalse
\begin{tabular}{lllllllllllllllll}
\multicolumn{1}{c} & 0 & 1 & 2 & & 3 & 4 & 5 & 6 & & 7 & 8 & & 9 & & ... & N \\ \cline{2-17}
\multicolumn{1}{c}{{\bf M}} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{X} & \multicolumn{1}{l|}{\0} & \multicolumn{1}{l|}{23} & \multicolumn{1}{l|}{3.6} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{{\bf 3}} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \cline{2-17}
\multicolumn{1}{c}{} & 0 & 1 & 2 & & 3 & 4 & 5 & 6 & & 7 & 8 & & 9 & & ... & N \\ \cline{2-17}
\multicolumn{1}{c}{{\bf M}} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{X} & \multicolumn{1}{l|}{\textbackslash0} & \multicolumn{1}{l|}{23} & \multicolumn{1}{l|}{3.6} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{{\bf 3}} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \cline{2-17}
& & & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{2}{r|}{.codigo} & \multicolumn{1}{r}{.n} & \multicolumn{1}{r|}{.cr} & \multicolumn{1}{l|}{} & & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{{\bf P}} & \multicolumn{1}{l|}{} & & \\ \cline{6-9} \cline{13-13} \cline{15-15}
& & & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{4}{c|}{registro} & \multicolumn{1}{l|}{} & & & & & & & \\ \cline{5-10}
\end{tabular}
\fi
Após a seguinte linha de código:
\begin{lstlisting}
......@@ -293,9 +292,8 @@ A memória assumiria o seguinte aspecto:
\begin{tabular}{lllllllllllllllll}
\multicolumn{1}{c}{} & 0 & 1 & 2 & & 3 & 4 & 5 & 6 & & 7 & 8 & & 9 & & ... & N \\ \cline{2-17}
\iffalse
\multicolumn{1}{c}{{\bf M}} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{X} & \multicolumn{1}{l|}{\0} & \multicolumn{1}{l|}{23} & \multicolumn{1}{l|}{3.6} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{{\bf 3}} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \cline{2-17}
\fi & & & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{2}{r|}{.codigo} & \multicolumn{1}{r}{.n} & \multicolumn{1}{r|}{.cr} & \multicolumn{1}{l|}{} & & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{{\bf P}} & \multicolumn{1}{l|}{} & & \\ \cline{6-9} \cline{13-13} \cline{15-15}
\multicolumn{1}{c}{{\bf M}} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{X} & \multicolumn{1}{l|}{\textbackslash0} & \multicolumn{1}{l|}{23} & \multicolumn{1}{l|}{3.6} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{{\bf 3}} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \cline{2-17}
& & & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{2}{r|}{.codigo} & \multicolumn{1}{r}{.n} & \multicolumn{1}{r|}{.cr} & \multicolumn{1}{l|}{} & & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{{\bf P}} & \multicolumn{1}{l|}{} & & \\ \cline{6-9} \cline{13-13} \cline{15-15}
& & & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{4}{c|}{registro} & \multicolumn{1}{l|}{} & & & & & & & \\ \cline{5-10}
\end{tabular}
......@@ -502,9 +500,8 @@ A aparência dessa declaração na memória é a seguinte:
\begin{tabular}{lllllllllllll}
\multicolumn{1}{c}{} & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & ... & N \\ \cline{2-13}
\iffalse
\multicolumn{1}{l|}{M} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{{\bf s}} & \multicolumn{1}{l|}{{\bf a}} & \multicolumn{1}{l|}{{\bf p}} & \multicolumn{1}{l|}{{\bf o}} & \multicolumn{1}{l|}{{\bf \0}} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{{\bf }} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \cline{2-13}
\fi
\multicolumn{1}{l|}{M} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{{\bf s}} & \multicolumn{1}{l|}{{\bf a}} & \multicolumn{1}{l|}{{\bf p}} & \multicolumn{1}{l|}{{\bf o}} & \multicolumn{1}{l|}{{\bf \textbackslash0}} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{{\bf }} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \cline{2-13}
& & & \multicolumn{1}{c}{str{[}0{]}} & \multicolumn{1}{c}{str{[}1{]}} & \multicolumn{1}{c}{str{[}2{]}} & \multicolumn{1}{c}{str{[}3{]}} & \multicolumn{1}{c}{str{[}4{]}} & & & {\bf } & & \\ \cline{4-8}
& & & \multicolumn{5}{c}{{\bf str}} & & & & &
\end{tabular}
......@@ -521,8 +518,8 @@ char *pon = str;
O efeito será:
\begin{tabular}{lllllllllllll}
\multicolumn{1}{c}{} & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & ... & N \\ \cline{2-13}
\iffalse\multicolumn{1}{l|}{M} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{{\bf s}} & \multicolumn{1}{l|}{{\bf a}} & \multicolumn{1}{l|}{{\bf p}} & \multicolumn{1}{l|}{{\bf o}} & \multicolumn{1}{l|}{{\bf \0}} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{{\bf 2}} & \multicolumn{1}{l|}{{\bf }} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \cline{2-13}
\fi & & & \multicolumn{1}{c}{str{[}0{]}} & \multicolumn{1}{c}{str{[}1{]}} & \multicolumn{1}{c}{str{[}2{]}} & \multicolumn{1}{c}{str{[}3{]}} & \multicolumn{1}{c}{str{[}4{]}} & & {\bf pon} & {\bf } & & \\ \cline{4-8}
\multicolumn{1}{l|}{M} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{{\bf s}} & \multicolumn{1}{l|}{{\bf a}} & \multicolumn{1}{l|}{{\bf p}} & \multicolumn{1}{l|}{{\bf o}} & \multicolumn{1}{l|}{{\bf \textbackslash0}} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{{\bf 2}} & \multicolumn{1}{l|}{{\bf }} & \multicolumn{1}{l|}{} & \multicolumn{1}{l|}{} \\ \cline{2-13}
& & & \multicolumn{1}{c}{str{[}0{]}} & \multicolumn{1}{c}{str{[}1{]}} & \multicolumn{1}{c}{str{[}2{]}} & \multicolumn{1}{c}{str{[}3{]}} & \multicolumn{1}{c}{str{[}4{]}} & & {\bf pon} & {\bf } & & \\ \cline{4-8}
& & & \multicolumn{5}{c}{{\bf str}} & & & & &
\end{tabular}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment