Skip to content
Snippets Groups Projects
Unverified Commit d19cd6c1 authored by Malin Freeborn's avatar Malin Freeborn
Browse files

add \NoIndentAfter to environments

parent b09b44ee
Branches
Tags
No related merge requests found
......@@ -959,8 +959,11 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
%%%%%%%%%%%%%%%%%%%% Environments %%%%%%%%%%%%%%%%%%%%
\newenvironment{speechtext}%
{\it
\begin{quotation}}%
{%
\it
\begin{quotation}%
\noindent%
}%
{
\end{quotation}
}
......@@ -975,12 +978,17 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
}
\newrobustcmd*{\NoIndentAfterThis}{\@NoIndentAfter\par\par}
\AfterEndEnvironment{speechtext}{\NoIndentAfterThis}
\AfterEndEnvironment{enumerate}{\NoIndentAfterThis}
\AfterEndEnvironment{itemize}{\NoIndentAfterThis}
\AfterEndEnvironment{dlist}{\NoIndentAfterThis}
\AfterEndEnvironment{list}{\NoIndentAfterThis}
\AfterEndEnvironment{boxtext}{\NoIndentAfterThis}
\AfterEndEnvironment{nametable}{\NoIndentAfterThis}
\AfterEndEnvironment{speechtext}{\NoIndentAfterThis}
\AfterEndEnvironment{exampletext}{\NoIndentAfterThis}
\AfterEndEnvironment{nametable}{\NoIndentAfterThis}
\AfterEndEnvironment{boxtable}{\NoIndentAfterThis}
\AfterEndEnvironment{tcolorbox}{\NoIndentAfterThis}
\AfterEndEnvironment{multicols}{\NoIndentAfterThis}
\newenvironment{exampletext}
{
......@@ -988,6 +996,7 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
\needspace{2em}
\vspace{1em}%
\it%
\noindent%
}
{%
\par
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment