我对使用LyX非常陌生,但我已经浏览过这个论坛,以及其他论坛,也没有发现其他人遇到过这个问题。
问题是,当我单击“眼睛”以.pdf形式预览我的文档时,有两个带有相应正文文本的编号部分,但是我的标题、摘要和关键字以及“新页”格式都丢失了;这两个部分位于页面的顶部,就好像它们从未被包含过一样。
一些相关信息:
以下是TeX源:
% Preview source code
%% LyX 2.1.3 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[letterpaper,english]{elsarticle}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\pdfpageheight\paperheight
\pdfpagewidth\paperwidth
\makeatother
\usepackage{babel}
\begin{document}
\title{ This is where my title is }
\author{My name}
\begin{abstract}
Abstract: This is my abstarct.\end{abstract}
\begin{keyword}
Keywords: Keyword1, Keyword2, Keyword 3
\end{keyword}
\newpage{}
\section{Introduction}
My intro text
\section{Literature Review}
My body text
\end{document}提前感谢您抽出时间来阅读并帮助您!
-Mike
Edit1:在标题之前和关键词之后添加了\begin{frontmatter}{}和\end{frontmatter}{}之后,事情似乎正在起作用(即。标题、关键词、摘要和作者都是有用的) -- Elsevier文档类是否强制在表示这些项时使用它?
发布于 2015-11-18 13:17:54
如下面链接中所建议的:在下拉菜单中,您将标题文本设置为标题,其中有BeginFrontmatter和EndFrontmatter的条目。你需要把第一个放在你的标题之前,第二个放在你的关键词之后。在下拉菜单中,您将标题文本设置为标题,其中有BeginFrontmatter和EndFrontmatter的条目。你需要把第一个放在你的标题之前,第二个放在你的关键词之后。http://www.latex-community.org/forum/viewtopic.php?f=19&t=24933
https://stackoverflow.com/questions/29476394
复制相似问题