0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

LaTeXにおける相互参照のラベル命名規則

0
Last updated at Posted at 2024-11-26

はじめに

LaTeXでは、\labelコマンドを用いてセクションや図表などにラベルを付け、\refコマンドによってその位置を参照することができる。
この仕組みは相互参照と呼ばれる。

ラベルの命名規則

ラベル名は自由に設定できるが、参照時に識別しやすくするために、以下のような接頭辞を付けた命名規則を用いるのが一般的である。

ラベルの種類 推奨される名前の形式
セクション sec:ラベル名
tab:ラベル名
fig:ラベル名
数式 eq:ラベル名

このように命名を統一することで、コードを見たときにラベルの種類を直感的に把握でき、文書全体の構造を整理しやすくなる。

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?