]> AND Private Git Repository - ThesisAli.git/blob - changemargin.sty
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
update Ali
[ThesisAli.git] / changemargin.sty
1 % Change margins on the fly
2 \newenvironment{changemargin}[2]{%
3         \begin{list}{}{%
4                 \setlength{\topsep}{0pt}%
5                 \setlength{\leftmargin}{#1}%
6                 \setlength{\rightmargin}{#2}%
7                 \setlength{\listparindent}{\parindent}%
8                 \setlength{\itemindent}{\parindent}%
9                 \setlength{\parsep}{\parskip}%
10         }%
11         \item[] ~ \par%
12         % Get rid of the extra space inserted by the previous line
13         \vspace*{-2em}%
14 }{
15         \end{list}
16 }