NEW ENVIRONMENT rules

'§' used instead of numbers / bullets
This commit is contained in:
chhan11 2017-06-10 16:24:28 +02:00
parent baa8690461
commit cf7081b6b5
2 changed files with 20 additions and 1 deletions

View File

@ -108,4 +108,22 @@ License: \texttt{\href{https://creativecommons.org/licenses/by-nc/2.5/}{CC BY-NC
\newcommand{\txtreflect}[1]{\reflectbox{#1}}
\newcommand{\txtupdown}[1]{\raisebox{\depth}{\rotatebox{270}{\reflectbox{\rotatebox{90}{#1}}}}}
\newcommand{\txtupdown}[1]{\raisebox{\depth}{\rotatebox{270}{\reflectbox{\rotatebox{90}{#1}}}}}
% http://www.troubleshooters.com/linux/lyx/ownlists.htm
\newenvironment{rules}{
\begin{list}
{\bfseries{}§\hskip1mm\arabic{qcounter}:~}
{
\usecounter{qcounter}
\bfseries
\setlength\labelwidth{1in}
\setlength\labelsep{0.27in}
\setlength\leftmargin{0.56in}
\setlength\listparindent{1in}
\setlength\itemindent{0.1in}
}
}{
\end{list}
}

View File

@ -39,6 +39,7 @@
\usepackage{titling} % makes available \thetitle \theauthor \thedate
\usepackage[toc,acronym,footnote,nomain]{glossaries} % Load the package with the acronym option
\usepackage{chngcntr}
\newcounter{qcounter}
\usepackage[unicode=false,
colorlinks=true,
linkcolor=darkgray,