tex

tex で表の縦横軸を調整する方法

投稿日:

\begin{center}
\begin{table}[]
\begin{tabular}{|c|c|c|c|} \hline
氏名     & 生年   & 没年   & 著書       \\ \hline
ハイデッガー & 1889 & 1976 & 存在と時間    \\
パスカル   & 1623 & 1662 & パンセ      \\
ベーコン   & 1561 & 1626 & ノウムオルガヌム \\ \hline
\end{tabular}
\end{table}
\end{center}


\begin{center}
\setlength{\tabcolsep}{1cm}
\renewcommand{\arraystretch}{2}
\begin{table}[]
\begin{tabular}{|c|c|c|c|} \hline
氏名     & 生年   & 没年   & 著書       \\ \hline
ハイデッガー & 1889 & 1976 & 存在と時間    \\
パスカル   & 1623 & 1662 & パンセ      \\
ベーコン   & 1561 & 1626 & ノウムオルガヌム \\ \hline
\end{tabular}
\end{table}
\end{center}

結果

-tex
-,

執筆者:


comment

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

関連記事

no image

tex で文中の文字に \textcolor で色をつける方法

color パッケージを使っておき、本文中 \textcolor で色をつける。 例 \usepackage{color} \begin{document} {\bf \textcolor{red}{ …

no image

tex でπ積(総乗、乗積)を表示する方法

tex で大文字のπ(Π)を使って乗積を表示する方法 例 $\displaystyle \prod_{i=0}^{N} a_i$または$\prod_{i=0}^{N} a_i$ 結果 このお姉さんはフ …

no image

gnuplot でラベルにギリシャ文字を入力する方法

ギリシャ文字は、α・β・ζ・σ・・・などの文字のことである。gnuplot では、例えば、アルファ(α)を入力したい場合には、{/Symbol a} と入力する。 例 set xlabel “{/Sy …

no image

tex で行列に罫線を入れてブロック行列を書く方法

\array の中に、\matrix を入れる。大きなゼロは、\mbox の中に \Huge 0 を書いて入力する。大きなゼロの位置を調整するために、\raisebox を使った。 例 \usepac …

no image

tex でチェックマークを入力する方法

\surd で入力する。または、amssymb パッケージを使って \checkmark で入力する。 例 \usepackage{amssymb} \begin{document} $\surd \ …