Layout sage期刊文章的输出中缺少Lyx摘要

Layout sage期刊文章的输出中缺少Lyx摘要,layout,latex,lyx,Layout,Latex,Lyx,我已经使用在中找到的.cls文件成功地将名为“article(sagej)”的文档类添加到Lyx中 然而,我在使用它时有两个问题。首先,在包含布局选项(标准、部分、部分*、摘要等)的布局下拉菜单中,没有“关键字” 其次,无论我是否在摘要之后使用Tex代码(CTRL L-->\keywords{key1,key2}),pdf文件中都没有摘要和/或关键字的输出 我使用Ubuntu14.04中的Lyx2.1.4和Tex3.1415926(TexLive2013/Debian) 下面是一个例子 Ly

我已经使用在中找到的.cls文件成功地将名为“article(sagej)”的文档类添加到Lyx中

然而,我在使用它时有两个问题。首先,在包含布局选项(标准、部分、部分*、摘要等)的布局下拉菜单中,没有“关键字”

其次,无论我是否在摘要之后使用Tex代码(CTRL L-->
\keywords{key1,key2}
),pdf文件中都没有摘要和/或关键字的输出

我使用Ubuntu14.04中的Lyx2.1.4和Tex3.1415926(TexLive2013/Debian)

下面是一个例子

Lyx生成的tex:

\batchmode
\makeatletter
\def\input@path{{/home/wjc/MyPaper/Calibration//}}
\makeatother
\documentclass[english,Afour, times]{sagej}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\newcommand{\lyxaddress}[1]{
\par {\raggedright #1
\vspace{1.4em}
\noindent\par}
}

\makeatother

\usepackage{babel}
\begin{document}

\title{This is a title}


\author{Jerry Author Smith}

\maketitle

\lyxaddress{From: Somewhere on earth}
\begin{abstract}
This is the abstract.
\end{abstract}
\textbf{\textbf{\keywords{Key1, Key2}}}


\section{Introduction}

Introduction of the topic


\section{Methods}

Methods and materials
\end{document}
我不能发布两张照片。但是PDF文件中没有显示摘要和关键词。显示所有其他信息:标题、作者、地址、正文


有人能帮我指出正确的方向吗?

这个问题可能与我的工作密切相关。这可能是一个基本的Lyx问题?这是输出PDF。这个问题很可能与这个问题密切相关。这可能是一个基本的Lyx问题?这是输出PDF。