Last active
January 31, 2024 21:03
-
-
Save shuntaroy/3a9de31ce57b19338e18 to your computer and use it in GitHub Desktop.
cleveref 和文論文向け設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\usepackage[noabbrev]{cleveref} | |
\crefformat{chapter}{第#2#1#3章} | |
\crefformat{section}{#2#1#3節} | |
\crefformat{subsection}{#2#1#3節} | |
\crefname{figure}{図}{図} | |
\crefname{table}{表}{表} | |
\crefname{equation}{式}{式} | |
\crefname{appendix}{付録}{付録} | |
\newcommand{\crefrangeconjunction}{--} | |
\newcommand{\crefpairconjunction}{, } | |
\newcommand{\crefmiddleconjunction}{, } | |
\newcommand{\creflastconjunction}{, } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
\ref{labelname}
の代わりに\cref{labelname}
とすると自動で「第1章」などと変換してくれる cleveref パッケージを日本語化するスタイルファイルの見本です。