Commit 7c02b62b authored by Ondřej Guth's avatar Ondřej Guth
Browse files

chapter miniabstract environment

parent f2adaa30
Pipeline #151771 canceled with stage
in 3 minutes and 18 seconds
......@@ -477,6 +477,8 @@
\end{abstractpage}
}
\newenvironment{chapterabstract}{\hfill\begin{minipage}{\dimexpr\textwidth-0.5cm}\itshape}{\end{minipage}\vskip 0.5cm\par\@afterindentfalse\@afterheading}
\AtBeginDocument{%
\@ifpackageloaded{listings}{%
\DeclareRobustCommand{\lstlistingname}{\thectufitlistinglabel}%
......
......@@ -4,11 +4,10 @@
%---------------------------------------------------------------
\setcounter{page}{1}
\hfill\begin{minipage}{\dimexpr\textwidth-0.5cm}
\textit{\lipsum[1]}
\end{minipage}
\vskip 0.5cm
\noindent
\begin{chapterabstract}
\lipsum[1]
\end{chapterabstract}
\lipsum[2][1-4]{} [1]
\lipsum[4]
......@@ -257,10 +256,10 @@ Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos
\chapter{Lorem ipsum}
%---------------------------------------------------------------
\hfill\begin{minipage}{\dimexpr\textwidth-0.5cm}
\textit{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur sagittis hendrerit ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Cras pede libero, dapibus nec, pretium sit amet, tempor quis. Sed vel lectus. Donec odio tempus molestie, porttitor ut, iaculis quis, sem. Cras pede libero, dapibus nec, pretium sit amet, tempor quis. Sed vel lectus. }
\end{minipage}
\vskip 0.5cm
\begin{chapterabstract}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur sagittis hendrerit ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Cras pede libero, dapibus nec, pretium sit amet, tempor quis. Sed vel lectus. Donec odio tempus molestie, porttitor ut, iaculis quis, sem. Cras pede libero, dapibus nec, pretium sit amet, tempor quis. Sed vel lectus.
\end{chapterabstract}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur sagittis hendrerit ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Cras pede libero, dapibus nec, pretium sit amet, tempor quis. Sed vel lectus. Donec odio tempus molestie, porttitor ut, iaculis quis, sem. Suspendisse sagittis ultrices augue. Donec ipsum massa, ullamcorper in, auctor et, scelerisque sed, est. In sem justo, commodo ut, suscipit at, pharetra vitae, orci. Pellentesque pretium lectus id turpis. \cite{Kopka2004}
\section{Donec odio tempus molestie}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment