Page 90 - BUKU LaTeX - Irman
P. 90

88                        BAB 5. MENAMBAHKAN TABEL

            \multicolumn{n}{...}{\multirow{m}{lebar teks}{teks}}

            Contoh:
            Tabel 5.6 dibuat menggunakan kode berikut:

            \begin{table}[h!]
            \centering
            \caption{Notasi atom}
            \vspace{0.3cm}
            \begin{tabular}{ll|ll}
            \hline
            \multicolumn{4}{c}{\textbf{Notasi atom unsur $X$}}\\
            \hline\hline
            \multicolumn{2}{c|}{\multirow{2}{*}{\LARGE$^A ZX$}}
            &$\Sigma$ proton&= $Z$\\
            &&$\Sigma$ elektron&= $Z$\\
            \cline{1-2}
            $A$ = nomor massa&$Z$ = nomor atom&$\Sigma$ neutron
            &= $A-Z$\\
            \hline
            \end{tabular}
            \end{table}


                               Tabel 5.6: Notasi atom

                               Notasi atom unsur X
                            A X                   Σ proton   = Z
                            Z                     Σ elektron  = Z
              A = nomor massa   Z = nomor atom    Σ neutron  = A − Z



            5.5     Perataan Teks Satu Sel

            Perataan teks (rata kiri, tengah, dan kanan) menggunakan l, c,
            dan r yang telah dibahas di subbab 5.1 berlaku untuk seluruh baris
            di tiap-tiap kolom. Bagaimana membuat perataan itu agar berlaku
            hanya di satu sel?
   85   86   87   88   89   90   91   92   93   94   95