\documentclass[11pt]{report}
\begin{document}
\appendix
\chapter{Appendix}
\begin{table}[htbp]
\centering
\caption{European gymnastics associations 1881 (incl. North America)}
\tiny
\begin{tabulary}{\textwidth}{LRRRRRR}
\hline
Nation & Population & Associations & Members & Gymnasts & Inhabitants per association & Inhabitants per member \bigstrut\\
\hline
Germany & 50'000'000 & 1'971 & 170'315 & 86'199 & 25'367 & 293 \bigstrut[t]\\
France & 37'000'000 & 180 & 18'000 & 6'000 & 205'555 & 2'055 \\
Italy & 27'700'000 & 92 & 11'871 & - & 301'087 & 2'333 \\
North America & 39'000'000 & 172 & 11'313 & 6'901 & 226'745 & 3'447 \\
Belgium & 5'400'000 & 66 & 7'660 & 5'383 & 81'818 & 704 \\
Switzerland & 2'600'000 & 119 & 4'000 & 2'600 & 21'850 & 650 \\
Netherlands & 3'800'000 & 50 & 2'944 & 1'510 & 76'000 & 1'290 \\
England & 34'000'000 & 50 & - & - & 680'000 & - \\
Sweden & 4'500'000 & 26 & - & - & 173'077 & - \bigstrut[b]\\
\hline
\end{tabulary}%
\end{table}%
\end{document}
目前我有两个附录标题,但我想将它们改为一个。它应该只命名为“附录”。我找到了解决方案,将其命名为附录并去掉附录 A,但同时去掉了 A.1、A.2、A.3 等编号。我怎样才能保留标题“附录”但保留 A.1 等编号?
答案1
正在加载titlesec
,你可以声明
\titleformat{\chapter}{}{}{0pt}{\normalfont\Huge\bfseries}
刚过\appendix
平均能量损失
\documentclass[11pt]{report}
\usepackage{titlesec}
\begin{document}
\chapter{Some chapter}
\appendix
\titleformat{\chapter}{}{}{0pt}{\normalfont\Huge\bfseries}
\chapter{Appendix}
\begin{table}[htbp]
\centering
\caption{European gymnastics associations 1881 (incl. North America)}
\end{table}%
\end{document}
输出
答案2
如果您只想要一个标题Appendix
,那么以下方法可行并且可能是最简单的方法:
\documentclass{report}
%\usepackage{hyperref}
\begin{document}
\chapter{Some chapter}
\cleardoublepage% Works for oneside or twoside
\renewcommand{\thechapter}{A}% Force chapter to be 'A'
%\phantomsection% If you're using hyperref
\chapter*{Appendix}
\begin{table}[htb]
\caption{Some table}
\end{table}
\end{document}