治疗阑尾炎的最好方法是什么?

治疗阑尾炎的最好方法是什么?

我是一个新的 latex 用户,如果您能帮助我在我的论文中做附录,我将不胜感激,在下面的代码中,我使用这种方式做附录,但我需要最好和最简单的方法来做附录,以及如何在(版权)章节中引用(附录 I)。我的代码是:

\documentclass[12pt]{report}
\usepackage{times} %Times new roman font
%\usepackage{mathptmx}

\usepackage[top=2.5cm, bottom=2.5cm, left=3.5cm, right=2.5cm]{geometry}
\usepackage{amsfonts,amsmath,amssymb}

\usepackage[colorlinks = true,
            linkcolor = blue,
            urlcolor  = blue,
            citecolor = blue,
            anchorcolor = blue]{hyperref}


\begin{document}
\chapter*{Copyright}
\addcontentsline{toc}{chapter}{Copyright}
test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test
\newpage

\tableofcontents
\addcontentsline{toc}{chapter}{Contents}
\newpage

\chapter*{Appendixes}
\addcontentsline{toc}{chapter}{Appendixes}
\section*{Appendix I (Benchmark IEC microgrid data)}
\begin{itemize}
\item Utility: rated short-circuit MVA=1000, f=60 Hz, rated kV=120, $V_{base}$=120 kV.
\item Distributed Generations (DGs):
\begin{itemize}
\item DG1, DG3: synchronous generator with rated MVA=9, f=60Hz, rated kV=2.4, Inertia constant H=1.07 s, friction factor F=0.1 pu, Rs=0.0036 pu, $Xd$=1.56 pu, $Xd^\prime$=0.296 pu, $Xd^{\prime\prime}$=0.177 pu, $Xq$=1.06 pu, $Xq^{\prime\prime}$=0.177 pu, $Xl$=0.052 pu, $Td^\prime$=3.7 s, $Td^{\prime\prime}$=0.05 s, $Tq0^{\prime\prime}$=0.05 s.
\end{itemize}
\end{itemize}
\end{document}    

在此处输入图片描述

答案1

您可以使用 开始附录\part*{Appendices},然后发出\appendix更改章节编号方案。如果您希望附录采用罗马编号,您可以使用

\makeatletter
\def\thechapter{\@Roman\c@chapter}
\makeatother

之后\appendix。然后您以 开始每个附录\chapter,并在其中添加\label。之后您就可以\ref正常使用了。

在此处输入图片描述

\documentclass[12pt]{report}
% \usepackage{times} %Times new roman font
\usepackage{newtxtext}
\usepackage{newtxmath}
%\usepackage{mathptmx}

\usepackage[top=2.5cm, bottom=2.5cm, left=3.5cm, right=2.5cm]{geometry}
\usepackage{amsfonts,amsmath,amssymb}

\usepackage[colorlinks = true,
            linkcolor = blue,
            urlcolor  = blue,
            citecolor = blue,
            anchorcolor = blue]{hyperref}


\begin{document}
\chapter*{Copyright}
\addcontentsline{toc}{chapter}{Copyright}
test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test see Appendix~\ref{app:benchmark}
\newpage

\tableofcontents
\addcontentsline{toc}{chapter}{Contents}
\newpage

\part*{Appendices}
\appendix
\makeatletter
\def\thechapter{\@Roman\c@chapter}
\makeatother

\chapter{Benchmark IEC microgrid data}
\label{app:benchmark}

\begin{itemize}
\item Utility: rated short-circuit MVA=1000, f=60 Hz, rated kV=120, $V_{base}$=120 kV.
\item Distributed Generations (DGs):
\begin{itemize}
\item DG1, DG3: synchronous generator with rated MVA=9, f=60Hz, rated kV=2.4, Inertia constant H=1.07 s, friction factor F=0.1 pu, Rs=0.0036 pu, $Xd$=1.56 pu, $Xd^\prime$=0.296 pu, $Xd^{\prime\prime}$=0.177 pu, $Xq$=1.06 pu, $Xq^{\prime\prime}$=0.177 pu, $Xl$=0.052 pu, $Td^\prime$=3.7 s, $Td^{\prime\prime}$=0.05 s, $Tq0^{\prime\prime}$=0.05 s.
\end{itemize}
\end{itemize}
\end{document}

稍微偏离主题但仍然很重要:该times软件包已经存在了相当长一段时间。它被 取代,后者也已过时,并被捆绑包(和)mathptmx取代。newtxnewtxtextnewtxmath

相关内容