未分類

tex で図の番号を表示しない方法

投稿日:

caption パッケージを使っておき、\caption* を使うと、図の番号を表示しないようにできる。

\usepackage{caption}
\begin{document}

\begin{figure}[h!]
\centering
\includegraphics[scale=0.7]{waterfall.png}
\caption*{Waterfall}
\label{fig:waterfall}
\end{figure}

\end{document}

結果

-未分類

執筆者:


comment

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

関連記事

no image

tex で href の色を変更する方法

例で、urlcolor=red と書けば、「link to google」の文字列は赤色(red)になる。 もし urlcolor=blue と書けば、リンクは青色になる。 例 \usepackage …

no image

tex で email を書く方法

\hyperref パッケージを使って次のように書く。 例 \usepackage{hyperref} \begin{document} \href{mailto:taro@example.co.jp …

no image

tex で行列の省略した部分を書く方法

斜めの点列を \ddots として書くのがコツ。\matrix を使うためにパッケージ amsmath を使う。 例 \usepackage{amsmath} \begin{document} $$ …

no image

python3 で、指定した文字が最後に現れる場所を取得する

rfind を使うと、指定した文字が最後に現れる場所(インデックス)を取得することができる。 例 str1 = “12345abab” result = str1.rfind(“ab”) print( …

no image

matplotlib で縦横の罫線を出力する

罫線を出力するには、pyplot.grid を使う。 例 import numpy as np import matplotlib.pyplot as plt x = np.linspace(0, 2 …