mirror of
https://github.com/sdiehl/wiwinwlh.git
synced 2024-09-11 12:05:25 +03:00
96 lines
3.7 KiB
TeX
96 lines
3.7 KiB
TeX
% What I Wish I Knew When Learning Haskell
|
|
% Syntax Highliting using Solarized Light
|
|
|
|
\usepackage{xcolor}
|
|
\usepackage{xcolor-solarized}
|
|
\usepackage{textcomp}
|
|
|
|
\definecolor{sbase03}{HTML}{002B36}
|
|
\definecolor{sbase02}{HTML}{073642}
|
|
\definecolor{sbase01}{HTML}{586E75}
|
|
\definecolor{sbase00}{HTML}{657B83}
|
|
\definecolor{sbase0}{HTML}{839496}
|
|
\definecolor{sbase1}{HTML}{93A1A1}
|
|
\definecolor{sbase2}{HTML}{EEE8D5}
|
|
\definecolor{sbase3}{HTML}{FDF6E3}
|
|
\definecolor{syellow}{HTML}{B58900}
|
|
\definecolor{sorange}{HTML}{CB4B16}
|
|
\definecolor{sred}{HTML}{DC322F}
|
|
\definecolor{smagenta}{HTML}{D33682}
|
|
\definecolor{sviolet}{HTML}{6C71C4}
|
|
\definecolor{sblue}{HTML}{268BD2}
|
|
\definecolor{scyan}{HTML}{2AA198}
|
|
\definecolor{sgreen}{HTML}{859900}
|
|
|
|
\providecommand{\KeywordTok}{}
|
|
\providecommand{\DataTypeTok}{}
|
|
\providecommand{\DecValTok}{}
|
|
\providecommand{\BaseNTok}{}
|
|
\providecommand{\FloatTok}{}
|
|
\providecommand{\ConstantTok}{}
|
|
\providecommand{\CharTok}{}
|
|
\providecommand{\SpecialCharTok}{}
|
|
\providecommand{\StringTok}{}
|
|
\providecommand{\VerbatimStringTok}{}
|
|
\providecommand{\SpecialStringTok}{}
|
|
\providecommand{\ImportTok}{}
|
|
\providecommand{\CommentTok}{}
|
|
\providecommand{\DocumentationTok}{}
|
|
\providecommand{\AnnotationTok}{}
|
|
\providecommand{\CommentVarTok}{}
|
|
\providecommand{\OtherTok}{}
|
|
\providecommand{\FunctionTok}{}
|
|
\providecommand{\VariableTok}{}
|
|
\providecommand{\ControlFlowTok}{}
|
|
\providecommand{\OperatorTok}{}
|
|
\providecommand{\BuiltInTok}{}
|
|
\providecommand{\ExtensionTok}{}
|
|
\providecommand{\PreprocessorTok}{}
|
|
\providecommand{\AttributeTok}{}
|
|
\providecommand{\RegionMarkerTok}{}
|
|
\providecommand{\InformationTok}{}
|
|
\providecommand{\WarningTok}{}
|
|
\providecommand{\AlertTok}{}
|
|
\providecommand{\ErrorTok}{}
|
|
\providecommand{\NormalTok}{}
|
|
|
|
\DefineShortVerb[commandchars=\\\{\}]{\|}
|
|
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}}
|
|
|
|
\newenvironment{Shaded}{\begin{shaded}}{\end{shaded}}
|
|
\definecolor{shadecolor}{gray}{0.97}
|
|
\renewcommand{\KeywordTok}[1]{\textcolor{sblue}{\textbf{#1}}}
|
|
\renewcommand{\DataTypeTok}[1]{\textcolor{syellow}{{#1}}}
|
|
\renewcommand{\DecValTok}[1]{\textcolor{scyan}{{#1}}}
|
|
\renewcommand{\BaseNTok}[1]{\textcolor{scyan}{{#1}}}
|
|
\renewcommand{\FloatTok}[1]{\textcolor{scyan}{{#1}}}
|
|
\renewcommand{\ConstantTok}[1]{\textcolor{scyan}{{#1}}}
|
|
\renewcommand{\CharTok}[1]{\textcolor{scyan}{{#1}}}
|
|
\renewcommand{\SpecialCharTok}[1]{\textcolor{sred}{{#1}}}
|
|
\renewcommand{\StringTok}[1]{\textcolor{scyan}{{#1}}}
|
|
\renewcommand{\VerbatimStringTok}[1]{{#1}}
|
|
\renewcommand{\SpecialStringTok}[1]{\textcolor{sred}{{#1}}}
|
|
\renewcommand{\ImportTok}[1]{{#1}}
|
|
\renewcommand{\CommentTok}[1]{\textcolor{sbase1}{\textit{{#1}}}}
|
|
\renewcommand{\DocumentationTok}[1]{\textcolor{sbase1}{\textit{{#1}}}}
|
|
\renewcommand{\AnnotationTok}[1]{\textcolor{sbase1}{\textbf{\textit{{#1}}}}}
|
|
\renewcommand{\CommentVarTok}[1]{\textcolor{sbase1}{\textbf{\textit{{#1}}}}}
|
|
\renewcommand{\OtherTok}[1]{\textcolor{sblue}{#1}}
|
|
\renewcommand{\FunctionTok}[1]{\textcolor{sblue}{{#1}}}
|
|
\renewcommand{\VariableTok}[1]{\textcolor{sblue}{{#1}}}
|
|
\renewcommand{\ControlFlowTok}[1]{\textcolor{sgreen}{\textbf{{#1}}}}
|
|
\renewcommand{\OperatorTok}[1]{\textcolor{sgreen}{{#1}}}
|
|
\renewcommand{\BuiltInTok}[1]{{#1}}
|
|
\renewcommand{\ExtensionTok}[1]{{#1}}
|
|
\renewcommand{\PreprocessorTok}[1]{\textcolor{sorange}{{#1}}}
|
|
\renewcommand{\AttributeTok}[1]{{#1}}
|
|
\renewcommand{\RegionMarkerTok}[1]{{#1}}
|
|
\renewcommand{\InformationTok}[1]{\textcolor{sbase1}{\textbf{\textit{{#1}}}}}
|
|
\renewcommand{\WarningTok}[1]{\textcolor{sorange}{\textbf{\textit{{#1}}}}}
|
|
\renewcommand{\AlertTok}[1]{\textcolor{sred}{\textbf{{#1}}}}
|
|
\renewcommand{\ErrorTok}[1]{\textcolor{sred}{\textbf{{#1}}}}
|
|
\renewcommand{\NormalTok}[1]{{#1}}
|
|
|
|
% Paragraph Literals
|
|
\renewcommand{\texttt}[1]{\colorbox{sbase2}{{\ttfamily #1}}}
|