Increase margins in magic explisting environment
I managed to solve the problem described in 74b5a27ec8
via the
fullwidth package.
This commit is contained in:
parent
8389822e86
commit
37c45a3c72
@ -7,6 +7,7 @@
|
|||||||
\usepackage{parskip}
|
\usepackage{parskip}
|
||||||
\usepackage{enumitem}
|
\usepackage{enumitem}
|
||||||
\usepackage{titlesec}
|
\usepackage{titlesec}
|
||||||
|
\usepackage{fullwidth}
|
||||||
|
|
||||||
\setmainfont{Constantia}
|
\setmainfont{Constantia}
|
||||||
\setmonofont{DejaVu Sans Mono}
|
\setmonofont{DejaVu Sans Mono}
|
||||||
@ -27,12 +28,14 @@
|
|||||||
|
|
||||||
\newenvironment{explisting}%
|
\newenvironment{explisting}%
|
||||||
{%
|
{%
|
||||||
|
\begin{fullwidth}[width=.95\textwidth,skipabove=0ex,skipbelow=0ex]
|
||||||
\hfill\begin{minipage}{.98\textwidth}
|
\hfill\begin{minipage}{.98\textwidth}
|
||||||
\begin{small}
|
\begin{small}
|
||||||
}%
|
}%
|
||||||
{%
|
{%
|
||||||
\end{small}
|
\end{small}
|
||||||
\end{minipage}
|
\end{minipage}
|
||||||
|
\end{fullwidth}
|
||||||
}
|
}
|
||||||
|
|
||||||
\newenvironment{expitemize}%
|
\newenvironment{expitemize}%
|
||||||
|
Loading…
Reference in New Issue
Block a user