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 で、一部分だけ文字サイズを小さくする方法

サイズを\footnotsize で指定する。 中括弧{}で、\footnotesize とターゲットにする文章の両方を囲む必要があることに注意。 例 吾輩は猫である。名前はまだ無い。 {\footn …

no image

tex で、微分の縦棒を入力する方法

ある点での微分を表示したい場合には、\left. と \right| を組み合わせる。 例 $\left.\frac{df}{dx}\right|_{x=1}$ 結果

no image

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

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

no image

tex で丸で囲った文字を出力する方法

丸で囲った文字や、丸数字①などを出力したい場合がある。テキストモードにしてから、\textcircled と \raisebox の組み合わせを使って出力できる。 例 \usepackage{amsm …

no image

tex で二重線イコール付きの不等号を表示する方法

tex では、等号付きの不等号は $\le$, $\ge$ で入力できるが、不等号の下の等号を許す表示は一本線である。 もし二重線のイコール付きの不等号を表示したい場合には、\amssymb パッケー …