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

commands.tex: unsuccessful attempt of command cisline and cicconf

This commit is contained in:
chhan11 2017-06-03 14:58:04 +02:00
parent 3660cde6f2
commit 37b8b9a14b

View file

@ -69,4 +69,15 @@
% Enviroment @var cisco
\lstnewenvironment{cisco}{\lstset{style=cisco}}{}
\lstnewenvironment{cisco}{\lstset{style=cisco}}{}
%\newcommand{cisline}[1]{\lstinline[columns=fixed]{network-device\# #1}}
%\newcommand{cisconf}[2][]{%
%\def\temp{#1}\ifx\temp\empty
%\lstinline[columns=fixed]{network-device(config)\# #2}
%\else
%\lstinline[columns=fixed]{network-device(config-#1)\# #2}
%\fi\}