摘要标题朝左:摘要包损坏?

摘要标题朝左:摘要包损坏?

我尝试将摘要标题设置在左侧,该软件包abstract似乎提供了此功能。但 pdf 包含字符“centerflushleft”,摘要标题居中。该软件包是否损坏?我使用 texlive 2012。还有其他方法可以实现所需结果吗?

\documentclass{scrartcl}

\usepackage{abstract}

\begin{document}

\absnamepos{flushleft}
%\abstitlestyle{\abstractname}
\setlength{\absleftindent}{0pt}
\setlength{\absrightindent}{0pt}



\begin{abstract}
\noindent
This paper provides an overview of the most important grammatical properties of German. A large part
of the paper is concerend with the basic clause types of German. I start with the Topological Fields Model,
which is very useful as a descriptive tool, but -- as will be shown -- not sufficient for a thorough
account of German clausal structure. I therefore explain additional theoretical assumptions that
were made in order to assign structure to the observable linear sequences. After a sketch of an
analysis of the basic sentence patterns, I
give an account of passive, case assignment, and subject-verb agreement.
\end{abstract}

\end{document}

答案1

\absnamepos命令定义abstract.sty

\newcommand{\absnamepos}{center}

所以你应该使用\renewcommand

\documentclass{scrartcl}

\usepackage{abstract}
\renewcommand{\absnamepos}{flushleft}
\setlength{\absleftindent}{0pt}
\setlength{\absrightindent}{0pt}

\begin{document}

\begin{abstract}
\noindent
This paper provides an overview of the most important grammatical properties of German. A large part
of the paper is concerend with the basic clause types of German. I start with the Topological Fields Model,
which is very useful as a descriptive tool, but -- as will be shown -- not sufficient for a thorough
account of German clausal structure. I therefore explain additional theoretical assumptions that
were made in order to assign structure to the observable linear sequences. After a sketch of an
analysis of the basic sentence patterns, I
give an account of passive, case assignment, and subject-verb agreement.
\end{abstract}

\end{document}

答案2

abstract包与 KOMA 类不完全兼容;例如,仅仅通过加载它,摘要中就会丢失部分单元默认使用的无衬线字体。

除了使用此包之外,为了与类设置保持一致,您可以重新定义以下abstract方式scrartcl.cls

\documentclass[abstract,titlepage]{scrartcl}

\makeatletter
\renewenvironment{abstract}{%
  \if@titlepage
    \titlepage
    \null\vfil
    \@beginparpenalty\@lowpenalty
    \if@abstrt
      \begin{flushleft}
        \normalfont\sectfont\nobreak\abstractname
        \@endparpenalty\@M
      \end{flushleft}
    \fi
  \else
    \if@twocolumn\if@abstrt
        \addsec*{\abstractname}
      \fi
      \quotation
    \else
      \if@abstrt
        \par\small\noindent%
          {\normalfont\sectfont\nobreak\abstractname\par\vspace{.5em}}%
      \fi
    \fi
  \fi
}{%
  \if@titlepage
    \par\vfil\null\endtitlepage
  \else
    \if@twocolumn\else\endquotation\fi
  \fi
}
\makeatother

\begin{document}

\begin{abstract}
\noindent
This paper provides an overview of the most important grammatical properties of German. A large part
of the paper is concerend with the basic clause types of German. I start with the Topological Fields Model,
which is very useful as a descriptive tool, but -- as will be shown -- not sufficient for a thorough
account of German clausal structure. I therefore explain additional theoretical assumptions that
were made in order to assign structure to the observable linear sequences. After a sketch of an
analysis of the basic sentence patterns, I
give an account of passive, case assignment, and subject-verb agreement.
\end{abstract}

\end{document}

在此处输入图片描述

相关内容