Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Commit

Permalink
Add and setup listings package
Browse files Browse the repository at this point in the history
  • Loading branch information
Affonso-Gui committed Dec 12, 2019
1 parent 2fd1943 commit 7f1481b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions preamble.tex
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,23 @@
pdfauthor=\PDFAUTHOR,
pdfkeywords=\PDFKEYWORDS]{hyperref}
\usepackage{pxjahyper} % for japanese encoding on pdf bookmarks
\usepackage{listings}

\lstset{
breaklines = true,
basicstyle=\ttfamily,
commentstyle={\itshape \color[cmyk]{1,0.4,1,0}},
classoffset=1,
%% keywordstyle={\bfseries \color[cmyk]{0,1,0,0}},
%% stringstyle={\ttfamily \color[rgb]{0,0,1}},
showstringspaces=false,
columns=fullflexible,
keepspaces=true,
escapeinside={<@}{@>},
%% frame=tRBl,
framesep=5pt,
%% numbers=left,
stepnumber=1,
numberstyle=\tiny,
tabsize=2,
}

0 comments on commit 7f1481b

Please sign in to comment.