1

I use the following mdframed definition:

\newmdenv[
    rightline=false, leftline=true,
    topline=false, bottomline=false,
    innerbottommargin=11pt, innertopmargin=\topskip,
    splittopskip=\topskip,
    skipbelow=\baselineskip, skipabove=\baselineskip,
    innerleftmargin=11pt, innerrightmargin=0,
    linewidth=2,font={\sffamily}
]{MarkedC}

to set text in an appendix:

\chapter{This is the Appendix}
\begin{MarkedC}
    Lots of text ...
\end{MarkedC}

This works as expected: the text is set in sffamily (to distinguish it from the rest of the document) with a solid line on the left.

Ideally though, I would prefer the MarkedC text to be set in italics, rather than in a different font. How can I achieve this?

SabreWolfy
  • 1,503

0 Answers0