我有一个符合以下代码长度的标题和摘要。我想将摘要和关键词放在第一页,有什么方法可以让它完美契合吗?
\documentclass[12pt, draft]{article}
\usepackage{natbib}
\usepackage{setspace}
\doublespacing
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage {tikz}
\usepackage[skip=0pt]{caption}
\usepackage{blindtext}
\title{A nice article about how to have a happy life in a savage world}
\author{Someone Happy\thanks{Nowhere University \texttt{[email protected]}} \and Other Person \thanks{Faculty of Wisdom, University of some place, Earth. \texttt{[email protected]}}}
\date{}
\begin{document}
\maketitle
\begin{abstract}
\blindtext[1] BBBBBBBEEEEEEEEEHHHHHHHHHAAAAAAAAAAPPPPPPPYYYYYY
\end{abstract}
{\bf Keywords:} Something, Uplifiting, Cheerup!, you can do it, I trust you.
\section{Introduction}
\end{document}
答案1
我建议您采取以下方法:
\doublespacing
从序言中删除该指令。\setstretch{1.5}
在 之前插入指令\begin{abstract}
。clearpage\doublespacing
在 之前插入说明\section{Introduction}
。
\documentclass[12pt, draft]{article}
\usepackage{natbib}
\usepackage{setspace}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage {tikz}
\usepackage[skip=0pt]{caption}
\usepackage{blindtext}
\title{A nice article about how to have a happy life in a savage world}
\author{Someone Happy\thanks{Nowhere University \texttt{[email protected]}} \and Other Person \thanks{Faculty of Wisdom, University of some place, Earth. \texttt{[email protected]}}}
\date{}
\begin{document}
\maketitle
\setstretch{1.5}
\begin{abstract}
\blindtext[1] BBBBBBBEEEEEEEEEHHHHHHHHHAAAAAAAAAAPPPPPPPYYYYYY
\end{abstract}
{\bf Keywords:} Something, Uplifiting, Cheerup!, you can do it, I trust you.
\clearpage
\doublespacing
\section{Introduction}
\blindtext[2]
\end{document}