LaTeX

LaTeX 테이블의 진수 (??)

ForceCore 2008. 4. 10. 02:52

사용자 삽입 이미지

 

위와 같은 표를 만들려면

multirow

multicolumn

hhline (hline말고)

기능이 필요하다.

hhline을 쓰려면 usepackage에 hhline을 넣으면 된다.

 

\begin{table}[ph]
\begin{center}

 

 \begin{tabular}{c|c|c|c|c}
 \hline
 \multicolumn{5}{c}{$V_{p-p}$ (V)} \\
 \hline
 \multirow{2}{*}{R (k\ohm)} & \multicolumn{4}{|c}{C (\uf)} \\
 \hhline{~----}
  & 3.3 & 2.5 & 1 & 0.5 \\
 \hline
 1 & 3.84 & 4.06 & 4.28 & 4.28 \\
 2 & 3.2 & - & - & - \\
 3 & 2.64 & - & - & - \\
 4 & 2.28 & - & - & - \\
 5 & 2 & 2.34 & 3.6 & 4.26 \\
 6 & 1.76 & - & - & - \\
 7 & 1.6 & - & - & - \\
 8 & 1.48 & 1.76 & - & - \\
 9 & 1.36 & 1.64 & - & - \\
 10 & 1.24 & 1.52 & 1.38 & 3.64 \\
 \hline
 \end{tabular}
 
 \caption{R, C와 ripple size}
 \label{T:peak}
\end{center}
\end{table}