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

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

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

no image

tex で集合の内包的記法(波括弧)を入力する

\{ \}を使って波括弧を入力できる。区切り文字には、\mid を使う。 例 $$\{ x \mid x \le 0 \}$$ 結果

no image

tex でブロック行列を入力する方法

ゼロの成分が多いブロック行列を tex で出力する。 \usepackage{amsmath} を使う。 例 \usepackage{amsmath} \begin{document} $$ \lef …

no image

tex で分母と分子の間の距離を調整する

tex で、ページ全体の体裁をそのままにして 分母と分子の間の距離を広げたり狭めたりするには、\raisebox を使う。 例 通常$$ a=\frac{\raisebox{0ex}[0ex][0ex …

no image

tex の equation で式番号を表示しないようにする方法

\nonumber を使うと式番号を表示しないようにできる。 例 \usepackage{amsmath} \begin{document} \begin{equation} \nonumber y …