1
0
Fork 0
mirror of https://gitlab.com/netravnen/NetworkLabNotes.git synced 2024-11-29 19:37:53 +00:00

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

@ -109,3 +109,21 @@ License: \texttt{\href{https://creativecommons.org/licenses/by-nc/2.5/}{CC BY-NC
\newcommand{\txtreflect}[1]{\reflectbox{#1}} \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{titling} % makes available \thetitle \theauthor \thedate
\usepackage[toc,acronym,footnote,nomain]{glossaries} % Load the package with the acronym option \usepackage[toc,acronym,footnote,nomain]{glossaries} % Load the package with the acronym option
\usepackage{chngcntr} \usepackage{chngcntr}
\newcounter{qcounter}
\usepackage[unicode=false, \usepackage[unicode=false,
colorlinks=true, colorlinks=true,
linkcolor=darkgray, linkcolor=darkgray,