有两个调整我不知道如何执行:1. 我想删除每个段落开头的小缩进。2. 增加段落分隔线。
\documentclass[twoside,parskip=half,numbers=noendperiod,abstract=true]{scrartcl}
\usepackage[british]{babel}
\bibliographystyle{nature}
\usepackage[utf8]{inputenc}
\usepackage[pdftex]{graphicx}
\usepackage{microtype,textcomp}
\usepackage[a4paper,left=25mm,right=25mm,top=25mm,bottom=25mm,
headsep=10mm]{geometry}
\usepackage{multicol}
\usepackage{hyperref}
\usepackage{paralist}
\renewcommand*{\thesection}{\Roman{section}.}
\renewcommand*{\thesubsection}{\arabic{subsection}}
\setkomafont{title}{\normalfont\LARGE\bfseries}
\setkomafont{subtitle}{\normalfont\Large\bfseries}
\setkomafont{subsection}{\normalfont\large\bfseries}
\setkomafont{subsubsection}{\normalfont\large}
\setkomafont{author}{\normalfont\large}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\ihead{}\ohead{}\chead{\headmark}
\setkomafont{pageheadfoot}{\normalfont}
\markboth{Title \textbullet{} Course \textbullet{} 2014}
{Title \textbullet{} SS 2014}
\KOMAoptions{headsepline=true}
\title{Title}
\subtitle{Subtitle}
\author{\textsc{Name Surname}\\[2ex]
\normalsize University Name \\
\normalsize \href{mailto:[email protected]}{[email protected]}}
\date{}
\setlength{\skip\footins}{12mm}
\begin{document}
\maketitle
\thispagestyle{scrheadings}
\unskip\vspace{-1.5\baselineskip}
\begin{abstract}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel sem enim. Morbi venenatis nisl vitae elit porttitor maximus. Nullam bibendum nunc iaculis, venenatis nibh eu, gravida urna. Sed semper laoreet ex et finibus. Morbi pharetra massa sit amet bibendum volutpat. Etiam faucibus erat diam, in pharetra urna faucibus sed. Donec aliquet est et eros laoreet iaculis. Donec faucibus enim a augue pretium auctor.
Cras cursus, leo eu convallis venenatis, urna turpis vulputate velit, et cursus neque lacus a odio. In finibus arcu sit amet odio convallis iaculis. Duis cursus eu tellus et molestie. Donec posuere eu sapien at lacinia. Maecenas in nisl mattis, efficitur mauris in, ullamcorper erat. Suspendisse vel nibh efficitur, posuere dui a, euismod lacus.
Quisque erat nisi, euismod id nulla et, tincidunt venenatis leo. Aenean in tincidunt magna. Proin elementum ornare viverra. Sed mattis ullamcorper fermentum. Integer pulvinar arcu quis egestas hendrerit. Curabitur ac mauris turpis. Nam aliquam scelerisque volutpat. Pellentesque varius gravida lacus vitae iaculis.
\end{abstract}
\vspace{5mm}
\end{document}
答案1
另一种可能性是修补原始的抽象环境以quote
代替quotation
。
\documentclass[twoside,parskip=half,numbers=noendperiod,abstract=true]{scrartcl}
\usepackage{etoolbox}
\patchcmd{\abstract}{\quotation}{\quote}{}{}
\title{Title}
\subtitle{Subtitle}
\author{killthepixelnow}
\date{}
\usepackage{blindtext}
\begin{document}
\maketitle
\begin{abstract}
\blindtext\par
\blindtext\par
\blindtext\par
\end{abstract}
\vspace{5mm}
\Blinddocument
\end{document}
答案2
由于您使用的是 KOMA 类,因此parskip=half
正确的方法是使用类似
\KOMAoptions{parskip=half}
对于摘要(根据需要,使用full
或任何其他可用选项代替):half
\documentclass[twoside,parskip=half,numbers=noendperiod,abstract=true]{scrartcl}
\usepackage[british]{babel}
\usepackage{microtype,textcomp}
\usepackage[a4paper,left=25mm,right=25mm,top=25mm,bottom=25mm,
headsep=10mm]{geometry}
\usepackage{hyperref}
\setkomafont{title}{\normalfont\LARGE\bfseries}
\setkomafont{subtitle}{\normalfont\Large\bfseries}
\setkomafont{subsection}{\normalfont\large\bfseries}
\setkomafont{subsubsection}{\normalfont\large}
\setkomafont{author}{\normalfont\large}
\title{Title}
\subtitle{Subtitle}
\author{\textsc{Name Surname}\\[2ex]
\normalsize University Name \\
\normalsize \href{mailto:[email protected]}{[email protected]}}
\date{}
\begin{document}
\maketitle
\begin{abstract}
\KOMAoptions{parskip=half}
\noindent Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel sem enim. Morbi venenatis nisl vitae elit porttitor maximus. Nullam bibendum nunc iaculis, venenatis nibh eu, gravida urna. Sed semper laoreet ex et finibus. Morbi pharetra massa sit amet bibendum volutpat. Etiam faucibus erat diam, in pharetra urna faucibus sed. Donec aliquet est et eros laoreet iaculis. Donec faucibus enim a augue pretium auctor.
Cras cursus, leo eu convallis venenatis, urna turpis vulputate velit, et cursus neque lacus a odio. In finibus arcu sit amet odio convallis iaculis. Duis cursus eu tellus et molestie. Donec posuere eu sapien at lacinia. Maecenas in nisl mattis, efficitur mauris in, ullamcorper erat. Suspendisse vel nibh efficitur, posuere dui a, euismod lacus.
Quisque erat nisi, euismod id nulla et, tincidunt venenatis leo. Aenean in tincidunt magna. Proin elementum ornare viverra. Sed mattis ullamcorper fermentum. Integer pulvinar arcu quis egestas hendrerit. Curabitur ac mauris turpis. Nam aliquam scelerisque volutpat. Pellentesque varius gravida lacus vitae iaculis.
\end{abstract}
\end{document}
我删除了与此处讨论的问题无关的代码。由于您正在加载 geometry 包,因此您可以\footins
使用该包进行更改(如成本加运费已在评论中建议)。
答案3
明智地使用\noindent
和\vspace{<dimension>}
。(您也可以使用\medskip
或\bigskip
代替\vspace{..}
)1em
根据您的感受进行更改。
\begin{abstract}
\noindent Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vel sem enim. Morbi venenatis nisl vitae elit porttitor maximus. Nullam bibendum nunc iaculis, venenatis nibh eu, gravida urna. Sed semper laoreet ex et finibus. Morbi pharetra massa sit amet bibendum volutpat. Etiam faucibus erat diam, in pharetra urna faucibus sed. Donec aliquet est et eros laoreet iaculis. Donec faucibus enim a augue pretium auctor.
\vspace{1em}\noindent
Cras cursus, leo eu convallis venenatis, urna turpis vulputate velit, et cursus neque lacus a odio. In finibus arcu sit amet odio convallis iaculis. Duis cursus eu tellus et molestie. Donec posuere eu sapien at lacinia. Maecenas in nisl mattis, efficitur mauris in, ullamcorper erat. Suspendisse vel nibh efficitur, posuere dui a, euismod lacus.
\vspace{1em}\noindent
Quisque erat nisi, euismod id nulla et, tincidunt venenatis leo. Aenean in tincidunt magna. Proin elementum ornare viverra. Sed mattis ullamcorper fermentum. Integer pulvinar arcu quis egestas hendrerit. Curabitur ac mauris turpis. Nam aliquam scelerisque volutpat. Pellentesque varius gravida lacus vitae iaculis.
\end{abstract}