aboutsummaryrefslogtreecommitdiff
path: root/projdoc.cls
diff options
context:
space:
mode:
Diffstat (limited to 'projdoc.cls')
-rw-r--r--projdoc.cls4
1 files changed, 2 insertions, 2 deletions
diff --git a/projdoc.cls b/projdoc.cls
index 02e9542..1a1de81 100644
--- a/projdoc.cls
+++ b/projdoc.cls
@@ -223,7 +223,7 @@
}
% code
-\DeclareUrlCommand\code{%
+\DeclareUrlCommand\codeinline{%
\urlstyle{tt}%
\def\codebreak{\discretionary{\hbox{~\textbackslash{}}}{\hbox{~~}}{}}%
\def\UrlSpecials{%
@@ -241,7 +241,7 @@
\def\UrlLeft{\hbox{\,}}%
\def\UrlRight{\hbox{\,}}%
}
-\DefineVerbatimEnvironment{codeblock}{Verbatim}{
+\DefineVerbatimEnvironment{blockcode}{Verbatim}{
tabsize=2,
obeytabs,
}