cuiao / SCU_ThesisDissertation_LaTeXTemplate

四川大学学位论文LaTeX模版_Powered by pkuthss-1.2beta
91 stars 48 forks source link

cref在引用多个章节等文档标题时存在问题 #4

Closed cuiao closed 8 years ago

cuiao commented 8 years ago

单独引用时为中文,多个引用时由于未定义格式因此按默认输出问英文

cuiao commented 8 years ago

问题解决! https://github.com/cuiao/SCU_ThesisDissertation_LaTeXTemplate/commit/2e2f0f84ccbd79ba1ee6db98f123f25ded0add6c

`

\crefformat{chapter}{第~#2#1#3~章}
\crefrangeformat{chapter}{第~#3#1#4~-~#5#2#6~章}

\crefformat{section}{第~#2#1#3~节}
\crefrangeformat{section}{第~#3#1#4~-~#5#2#6~节}

\crefformat{subsection}{第~#2#1#3~小节}
\crefrangeformat{subsection}{第~#3#1#4~-~#5#2#6~小节}

\crefformat{subsubsection}{第~#2#1#3~项}
\crefrangeformat{subsubsection}{第~#3#1#4~-~#5#2#6~项}

\crefname{table}{表}{表}
\creflabelformat{table}{#2#1#3~}
\crefrangelabelformat{table}{#3#1#4~-~#5#2#6~}

\crefname{figure}{图}{图}
\creflabelformat{figure}{#2#1#3~}
\crefrangelabelformat{figure}{#3#1#4~-~#5#2#6~}

\crefname{equation}{式}{式}
\creflabelformat{equation}{(#2#1#3)~}
\crefrangelabelformat{equation}{(#3#1#4)~-~(#5#2#6)~}

`

cuiao commented 8 years ago

fixed