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 でチェックマークとバツ記号を入力する方法

amssymb パッケージを導入して、\checkmark でチェックマークが入力できる。 例 \usepackage{amssymb} \begin{document} $\checkmark \t …

no image

tex で式番号を自分で指定する方法

amsmath パッケージを使っておき、\begin{equation} と \end{equation} の数式中で \tag を使うと式番号を自分で指定したとおりに表示できる。(式番号の中に日本語 …

no image

tex で、理由や根拠を示す(なぜならば)を入力する

tex で「なぜならば」記号(∵)を入力するには、数式モードで $\because$ と書く。ams のパッケージを使う。 例 \usepackage{amsmath}\usepackage{amss …

no image

tex でノットイコールの記号を入力する方法

ノットイコールの記号を書くには、\ne を使う。 例 $x \ne y$ 結果

no image

tex で太字を書く方法

{\bf } のように、太字にしたい部分を波かっこで囲むとよい。 例 ここは{\bf 太字}になる。 結果