소스 검색

+ Changed secnumdepth and added stringspaces for listings

michael 24 년 전
부모
커밋
9cbaa2f1f7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      docs/fpc.sty

+ 2 - 2
docs/fpc.sty

@@ -64,7 +64,7 @@
   \gdef\@thanks{}\gdef\@author{}\gdef\@title{}}
   % end of \maketitle
 % 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,
 %and to use sans serif
 \renewcommand\subsection{\@startsection%
@@ -228,7 +228,6 @@
 %
 \RequirePackage{fakehtml}
 %
-%
 % For examples
 %
 \latex{%
@@ -272,6 +271,7 @@
   \lstset{commentstyle=\itshape}%
   \lstset{keywordstyle=\bfseries}%
   \lstset{frame=tb}%
+  \lstset{stringspaces=false}%
 }
 %
 % Page settings