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 の equation 環境で複数行の数式を入力する(\split を使う)

\equation の中で \split を使う。 \tag を使って、自分で定義した式番号を使える。 例 \begin{equation} \begin{split} a \\ b \\ c \en …

no image

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

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

no image

tex で傍点を使って強調する

tex で傍点を使って強調するには、一文字ずつ\. をつける。 例 \.g\.o\.o\.d 結果 このお姉さんはフィクションです!? 1巻【電子書籍】[ むつきつとむ ]価格:660円(税別、送料別 …

no image

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

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

no image

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

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