Browse Source

+ Changed secnumdepth and added stringspaces for listings

michael 24 years ago
parent
commit
9cbaa2f1f7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/fpc.sty

+ 2 - 2
docs/fpc.sty

@@ -64,7 +64,7 @@
   \gdef\@thanks{}\gdef\@author{}\gdef\@title{}}
   \gdef\@thanks{}\gdef\@author{}\gdef\@title{}}
   % end of \maketitle
   % end of \maketitle
 % For the \procedure and \function commands, we don't want heading numbers.
 % For the \procedure and \function commands, we don't want heading numbers.
-\setcounter{secnumdepth}{2}
+\setcounter{secnumdepth}{1}
 % redefine the subsection command to leave less space,
 % redefine the subsection command to leave less space,
 %and to use sans serif
 %and to use sans serif
 \renewcommand\subsection{\@startsection%
 \renewcommand\subsection{\@startsection%
@@ -228,7 +228,6 @@
 %
 %
 \RequirePackage{fakehtml}
 \RequirePackage{fakehtml}
 %
 %
-%
 % For examples
 % For examples
 %
 %
 \latex{%
 \latex{%
@@ -272,6 +271,7 @@
   \lstset{commentstyle=\itshape}%
   \lstset{commentstyle=\itshape}%
   \lstset{keywordstyle=\bfseries}%
   \lstset{keywordstyle=\bfseries}%
   \lstset{frame=tb}%
   \lstset{frame=tb}%
+  \lstset{stringspaces=false}%
 }
 }
 %
 %
 % Page settings
 % Page settings