--- 
name: Espresso Libre
line: 
  begin: ""
  end: "}}\\\\"
tags: 
- begin: "{\\color[HTML]{0066FF}\\textit{"
  end: "}}"
  selector: comment
- begin: "{\\color[HTML]{43A8ED}\\textbf{"
  end: "}}"
  selector: keyword, storage
- begin: "{\\color[HTML]{44AA43}"
  end: "}"
  selector: constant.numeric
- begin: "{\\color[HTML]{C5656B}\\textbf{"
  end: "}}"
  selector: constant
- begin: "{\\color[HTML]{585CF6}\\textbf{"
  end: "}}"
  selector: constant.language
- begin: "{\\color[HTML]{318495}"
  end: "}"
  selector: variable.language, variable.other
- begin: "{\\color[HTML]{049B0A}"
  end: "}"
  selector: string
- begin: "{\\color[HTML]{2FE420}"
  end: "}"
  selector: constant.character.escape, string source
- begin: "{\\color[HTML]{1A921C}"
  end: "}"
  selector: meta.preprocessor
- begin: "{\\color[HTML]{9AFF87}\\textbf{"
  end: "}}"
  selector: keyword.control.import
- begin: "{\\color[HTML]{FF9358}\\textbf{"
  end: "}}"
  selector: entity.name.function, keyword.other.name-of-parameter.objc
- begin: "{\\underline{"
  end: "}}"
  selector: entity.name.type
- begin: "{\\textit{"
  end: "}}"
  selector: entity.other.inherited-class
- begin: "{\\textit{"
  end: "}}"
  selector: variable.parameter
- begin: "{\\color[HTML]{8B8E9C}"
  end: "}"
  selector: storage.type.method
- begin: "{\\textit{"
  end: "}}"
  selector: meta.section entity.name.section, declaration.section entity.name.section
- begin: "{\\color[HTML]{7290D9}\\textbf{"
  end: "}}"
  selector: support.function
- begin: "{\\color[HTML]{6D79DE}\\textbf{"
  end: "}}"
  selector: support.class, support.type
- begin: "{\\color[HTML]{00AF0E}\\textbf{"
  end: "}}"
  selector: support.constant
- begin: "{\\color[HTML]{2F5FE0}\\textbf{"
  end: "}}"
  selector: support.variable
- begin: "{\\color[HTML]{687687}"
  end: "}"
  selector: keyword.operator.js
- begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{990000}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FFFFFF}
  end: "}"
  selector: invalid
- begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{FFD0D0}{\rule[-0.5ex]{0pt}{2.0ex}
  end: "}"
  selector: invalid.deprecated.trailing-whitespace
- begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{CE9065}{\rule[-0.5ex]{0pt}{2.0ex}
  end: "}"
  selector: text source, string.unquoted
- begin: "{\\color[HTML]{8F7E65}"
  end: "}"
  selector: meta.tag.preprocessor.xml
- begin: "{\\color[HTML]{888888}"
  end: "}"
  selector: meta.tag.sgml.doctype
- begin: "{\\textit{"
  end: "}}"
  selector: string.quoted.docinfo.doctype.DTD
- begin: "{\\color[HTML]{43A8ED}"
  end: "}"
  selector: meta.tag, declaration.tag
- begin: "{\\textbf{"
  end: "}}"
  selector: entity.name.tag
- begin: "{\\textit{"
  end: "}}"
  selector: entity.other.attribute-name
listing: 
  begin: |
    \newcolumntype{C}{>{\color[HTML]{BDAE9D}\columncolor[HTML]{2A211C}}l}
    \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{C3DCFF}}l}
    \begin{longtable}{NC}

  end: |
    \end{longtable}

document: 
  begin: |
    \documentclass[a4paper,landscape]{article}
    \usepackage{xcolor}
    \usepackage{colortbl}
    \usepackage{longtable}
    \usepackage[left=2cm,top=1cm,right=3cm,nohead,nofoot]{geometry}
    \usepackage[T1]{fontenc}
    \usepackage[scaled]{beramono}
    \begin{document}

  end: |
    \end{document}

filter: "@escaped.gsub(/(\\$)/, '\\\\\\\\\\1').gsub(/\\\\(?!\\$)/, '$\\\\\\\\backslash$').gsub(/(_|\\{|\\}|&|\\#|%)/, '\\\\\\\\\\1').gsub(/~/, '\\\\textasciitilde ').gsub(/ /,'\\\\hspace{1ex}').gsub(/\\t| /,'\\\\hspace{3ex}').gsub(/\\\"/, \"''\").gsub(/(\\^)/,'\\\\\\\\\\1{}')"
line-numbers: 
  begin: \texttt{
  end: "}&\\mbox{\\texttt{"
