1
0
Fork 0
mirror of https://gitlab.com/netravnen/NetworkLabNotes.git synced 2024-11-26 19:27:57 +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

@ -70,3 +70,14 @@
% Enviroment @var 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\}