如何使用 LyX 在论文中添加附录

如何使用 LyX 在论文中添加附录

我想在论文末尾的参考文献后添加附录(问卷等)。我使用课程article并使用 LyX:。Document -> Start appendix here但我没有在目录中找到它。

\documentclass[12pt,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setlength{\parskip}{\smallskipamount}
\setlength{\parindent}{0pt}
\usepackage{color}
\definecolor{document_fontcolor}{rgb}{0, 0, 0}
\color{document_fontcolor}
\usepackage{babel}
\usepackage{float}
\usepackage{textcomp}
\usepackage{pdfpages}
\usepackage{tipa}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{setspace}
\PassOptionsToPackage{normalem}{ulem}
\usepackage{ulem}
\usepackage[unicode=true,
 bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
 breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false]
 {hyperref}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\numberwithin{equation}{section}

\@ifundefined{date}{}{\date{}}
\@ifundefined{showcaptionsetup}{}{%
 \PassOptionsToPackage{caption=false}{subfig}}
\usepackage{subfig}
\makeatother

\appendix
\noindent \begin{center}
\textbf{Questionnaire (Case Study 1)}
\par\end{center}

答案1

在文档中,章节之后,插入附录

\begin{document}
    \tableofcontents

    \mainmatter
    \input{chapter1}
    \input{chapter2}
  ...


    \appendix
    \cleardoublepage  
    \input{appendix1}
    \input{appendix2}
     ...
 \end{document}

其中 appendix1 在 appendix1.tex 文件中定义:

%\appendix
\label{ref:appendix1}
\chapter{appendix1}

text

相关内容