marketing

Marketing materials (presentations, posters, flyers)
Log | Files | Refs

myListings.sty (1007B)


      1 
      2 \RequirePackage{ifthen}
      3 \RequirePackage{fancyvrb} 
      4 \RequirePackage{listings} 
      5 
      6 %\ifthenelse{\equal{\beamer@currentmode}{handout}} 
      7 {\lstset{
      8     breaklines=true,language=C,
      9     keywordstyle=\bfseries,
     10     morekeywords={if,then,else,class,elsif,function,this,while,foreach,for,do,static,return,public,private,protected,abstract,interface,implements,endwhile,var,switch,case,break,default,continue,const,instanceOf,try,catch,throw,final},
     11     fancyvrb=true,numbers=none,columns=fullflexible
     12 }
     13 }
     14 % {\lstset{breaklines=true,language=C,
     15 %     keywordstyle=\color{blue},
     16 %     morekeywords={if,then,else,class,elsif,function,this,while,foreach,for,do,static,return,public,private,protected,abstract,interface,implements,endwhile,var,switch,case,break,default,continue,const,instanceOf,try,catch,throw,final},
     17 %     fancyvrb=true,numbers=none,columns=fullflexible}
     18 % }
     19 \lstset{breaklines=true,breakindent=0pt,
     20         prebreak=\mbox{\tiny$\searrow$},
     21         postbreak=\mbox{{\color{blue}\tiny$\rightarrow$}}}
     22 
     23 
     24