- #1
Guest2
- 193
- 0
How do I draw this table on $\LaTeX$?
\begin{aligned} \begin{array}{cc|c|c|c|}
* && e & r & r^2& r^3& r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f\\
\\
\hline
e && e & r & r^2& r^3& r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f \\
\hline
r && r & r^2 & r^3& r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f \\
\hline
r^2 && r^2 & r^3& r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf \\
\hline
r^3 && r^3& r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f \\
\hline
r^4 && r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f\\
\hline
r^5 && r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f \\
\hline
f && f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f \\
\hline
rf && rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f &e \\
\hline
r^2f && r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f &e & r\\
\hline
r^3f && r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f &e & r & rf \\
\hline
r^4f && r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f &e & r & rf & r^2f \\
\hline
r^{5}f && r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f &e & r & rf & r^2f & r^3f \\
\hline
&& & &
\hline
\end{array} \end{aligned}$$Code:
$$
If I enter just the way it's on $\LaTeX$ I get lines all over the place. Unfortunately my knowledge of $\LaTeX$ doesn't extend beyond using Mathjax.
\begin{aligned} \begin{array}{cc|c|c|c|}
* && e & r & r^2& r^3& r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f\\
\\
\hline
e && e & r & r^2& r^3& r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f \\
\hline
r && r & r^2 & r^3& r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f \\
\hline
r^2 && r^2 & r^3& r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf \\
\hline
r^3 && r^3& r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f \\
\hline
r^4 && r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f\\
\hline
r^5 && r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f \\
\hline
f && f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f \\
\hline
rf && rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f &e \\
\hline
r^2f && r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f &e & r\\
\hline
r^3f && r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f &e & r & rf \\
\hline
r^4f && r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f &e & r & rf & r^2f \\
\hline
r^{5}f && r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f &e & r & rf & r^2f & r^3f \\
\hline
&& & &
\hline
\end{array} \end{aligned}$$Code:
$$
Code:
\begin{aligned} \begin{array}{cc|c|c|c|}
* && e & r & r^2& r^3& r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f\\
\\
\hline
e && e & r & r^2& r^3& r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f \\
\hline
r && r & r^2 & r^3& r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f \\
\hline
r^2 && r^2 & r^3& r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf \\
\hline
r^3 && r^3& r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f \\
\hline
r^4 && r^4& r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f\\
\hline
r^5 && r^5& f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f \\
\hline
f && f& rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f \\
\hline
rf && rf& r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f &e \\
\hline
r^2f && r^2f& r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f &e & r\\
\hline
r^3f && r^3f& r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f &e & r & rf \\
\hline
r^4f && r^{4}f& r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f &e & r & rf & r^2f \\
\hline
r^{5}f && r^{5}f & f & rf & r^2f & r^3f &r^4f & r^5f &e & r & rf & r^2f & r^3f \\
\hline
&& & &
\hline
\end{array} \end{aligned}
If I enter just the way it's on $\LaTeX$ I get lines all over the place. Unfortunately my knowledge of $\LaTeX$ doesn't extend beyond using Mathjax.