Seite 1 von 1

Table in Appendix - error message! Need support

Verfasst: Sa 29. Apr 2017, 10:10
von OttoSchmidt
Hello,

Ich habe ein Problem mit dem Table im Appendix. So, Ich brauche Ihre Hilfe.

Wieso funktioniert das nicht. Hier mein Code:
% $Id: jfesample.tex,v 19:a118fd22993e 2013/05/24 04:57:55 stanton $
\documentclass[12pt]{article}

% DEFAULT PACKAGE SETUP

\usepackage{setspace,graphicx,epstopdf,amsmath,amsfonts,amssymb,amsthm}
\usepackage{marginnote,datetime,enumitem,subfigure,rotating,fancyvrb}
\usepackage{hyperref,float}
\usepackage[longnamesfirst]{natbib}

\usdate



% Command to start a new page, starting on odd-numbered page if twoside option 
% is selected above
\newcommand{\clearRHS}{\clearpage\thispagestyle{empty}\cleardoublepage\thispagestyle{plain}}

% Number paragraphs and subparagraphs and include them in TOC
\setcounter{tocdepth}{2}

% JFE-specific includes:

\usepackage{indentfirst} % Indent first sentence of a new section.
\usepackage{jfe}          % JFE-specific formatting of sections, etc.

\newtheorem{theorem}{Theorem}[section]
\newtheorem{assumption}{Assumption}[section]
\newtheorem{proposition}{Proposition}
\newtheorem{conjecture}{Conjecture}
\newtheorem{lemma}{Lemma}[section]
\newtheorem{corollary}{Corollary}
\newtheorem{condition}{Condition}

\begin{document}

\setlist{noitemsep}  % Reduce space between list items (itemize, enumerate, etc.)
%\onehalfspacing      % Use 1.5 spacing
% Use endnotes instead of footnotes - redefine \footnote command

\title{Titel\footnotetext{Financial support from \ldots}}



\date{}              % No date for final submission

% Create title page with no page number

\renewcommand{\thefootnote}{\fnsymbol{footnote}}

\singlespacing

\maketitle

\vspace{-.2in}
\begin{abstract}
\noindent There's nothing very interesting here, but the format (achieved using the file \texttt{jfe.sty}) makes it suitable for publication in the \emph{Journal of Financial Economics} even if the content doesn't. Here's a nice, informative, single-spaced abstract.
\end{abstract}

\medskip

\noindent \textit{JEL classification}: XXXX.

\medskip
\noindent \textit{Keywords}: xxxx.

\medskip
\noindent \textit{Data Availability}: Data are available from sources identified in the paper.


\thispagestyle{empty}

\clearpage

\onehalfspacing
\setcounter{footnote}{0}
\renewcommand{\thefootnote}{\arabic{footnote}}
\setcounter{page}{1}

\section{Introduction}

\section{Literature Review}\label{sec:Review}



\clearpage

\appendix

\section{Appendix 1}
\label{sec:app1}

\begin{sidewaystable}
\centering
\caption{Overview of recent empirical studies}
\par\bigskip
\label{overview}
\centering
\begin{tabular}{@{}L{2cm}L{4.5cm}L{4.5cm}L{4.5cm}L{4.5cm}L{1.5cm}@{}}
\toprule
Study & Sample & Econometric analysis & Proxy variable & Other variables & Key finding \\
\cmidrule(r){1-1}
\cmidrule(lr){2-2}
\cmidrule(lr){3-3}
\cmidrule(lr){4-4}
\cmidrule(l){5-5}
\cmidrule(l){6-6}
Author A & Sample & Regression  & Var & Var2 & Positive \\
Author B & Sample & Regression  & Var & Var2 & Negative \\
\bottomrule
\end{tabular}
\end{sidewaystable}

\clearpage

% Bibliography.

\bibliographystyle{jfe}
\bibliography{Bibliography}

\clearpage


\ 

\end{document}


Verfasst: Sa 29. Apr 2017, 12:57
von esdd
Das Paket jfe scheint weder in TeXLive noch in MiKTeX zu sein, so dass ich Dein Beispiel nicht testen kann.

Wenn dieses mir unbekannte Paket entweder booktabs oder array oder beide nicht lädt oder den Spaltentyp L nicht definiert, dann kann die Tabelle nicht funktionieren. Das hat nichts mit dem Anhang zu tun.

Das Paket subfigure ist übrigens veraltet. Verwende subfig oder subcaption.