summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty13
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty
index 6175f28ab95..a1378fd3f2c 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-epigraph.sty
@@ -18,14 +18,15 @@
-
\LWR@ProvidesPackageDrop{epigraph}
\newcommand{\qitem}[2]
{
\begin{BlockClass}{qitem}
#1
-\begin{BlockClass}{epigraphsource}
+\ifbool{FormatWP}
+{\begin{BlockClass}[border-top:1px solid gray]{epigraphsource}}
+{\begin{BlockClass}{epigraphsource}}
#2
\end{BlockClass}
\end{BlockClass}
@@ -33,14 +34,14 @@
\newcommand{\epigraph}[2]
{
-\begin{BlockClass}{epigraph}
+\begin{LWR@BlockClassWP}{text-align:right}{}{epigraph}
\qitem{#1}{#2}
-\end{BlockClass}
+\end{LWR@BlockClassWP}
}
\newenvironment*{epigraphs}
-{\BlockClass{epigraph}}
-{\endBlockClass}
+{\LWR@BlockClassWP{text-align:right}{}{epigraph}}
+{\endLWR@BlockClassWP}
\newlength{\epigraphwidth}
\setlength{\epigraphwidth}{.5\linewidth}
\newenvironment*{flushepinormal}{}{}