How to build a chart in LaTex.

galactus

Super Moderator
Staff member
Joined
Sep 28, 2005
Messages
7,216
Here is the code to build a chart in LaTex. Just change the size or entries accordingly.

\(\displaystyle \begin{array}{|c|c|c|c|}\hline {\alpha}&{\beta}&{\gamma}&{\delta}\\ \hline {\epsilon}&{\iota}&{\kappa}&{\lambda}\\ \hline{\mu}&{\nu}&{\xi}&o \\ \hline {\pi}&{\rho}&{\sigma}&{\tau}\\ \hline \end{array}\)
 
Very nice, galactus!

Now I'll show off a bit . . .


\(\displaystyle \begin{array}{|c||c|c|c|}\hline \times & D & E & F \\ \hline \hline A & 1 & 2 & 3 \\ \hline B & 4 & 5 & 6 \\ \hline C & 7 & 8 & 9 & \hline \end{array}\)


The code looks like this:

\begin {array} {|c||c|c|c|} \hline
\times & D & E & F \\ \hline \hline
A & 1 & 2 & 3 \\ \hline
B & 4 & 5 & 6 \\ \hline
C & 7 & 8 & 9 & \hline
\end{array}


Of course, it is all written in one line.

 
Great. I always want to learn fancier LaTex code. I have always had trouble trying to build charts. They always end up 'discombobulated'. :D

I think I got it now, though. I am going to keep your code on hand.
 
Top