--- 
name: iPlastic
line: 
  begin: ""
  end: "}}\\\\"
tags: 
- begin: "{\\color[HTML]{009933}"
  end: "}"
  selector: string
- begin: "{\\color[HTML]{0066FF}"
  end: "}"
  selector: constant.numeric
- begin: "{\\color[HTML]{FF0080}"
  end: "}"
  selector: string.regexp
- begin: "{\\color[HTML]{0000FF}"
  end: "}"
  selector: keyword
- begin: "{\\color[HTML]{9700CC}"
  end: "}"
  selector: constant.language
- begin: "{\\color[HTML]{990000}"
  end: "}"
  selector: support.class.exception
- begin: "{\\color[HTML]{FF8000}"
  end: "}"
  selector: entity.name.function
- begin: "{\\textbf{"
  end: "}}"
  selector: entity.name.type
- begin: "{\\textit{"
  end: "}}"
  selector: variable.parameter
- begin: "{\\color[HTML]{0066FF}\\textit{"
  end: "}}"
  selector: comment
- begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{E7342D}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{FF0000}
  end: "}"
  selector: invalid
- begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{EEEEEE}{\rule[-0.5ex]{0pt}{2.0ex}
  end: "}"
  selector: invalid.deprecated.trailing-whitespace
- begin: \setlength{\fboxsep}{0ex}\colorbox[HTML]{F9F9F9}{\rule[-0.5ex]{0pt}{2.0ex}\color[HTML]{000000}
  end: "}"
  selector: text source
- begin: "{\\color[HTML]{0033CC}"
  end: "}"
  selector: meta.tag, declaration.tag
- begin: "{\\color[HTML]{6782D3}"
  end: "}"
  selector: constant, support.constant
- begin: "{\\color[HTML]{3333FF}\\textbf{"
  end: "}}"
  selector: support
- begin: "{\\textbf{"
  end: "}}"
  selector: storage
- begin: "{\\textbf{"
  end: "}}"
  selector: entity.name.section
- begin: "{\\color[HTML]{000000}\\textbf{"
  end: "}}"
  selector: entity.name.function.frame
- begin: "{\\color[HTML]{333333}"
  end: "}"
  selector: meta.tag.preprocessor.xml
- begin: "{\\color[HTML]{3366CC}\\textit{"
  end: "}}"
  selector: entity.other.attribute-name
- begin: "{\\textbf{"
  end: "}}"
  selector: entity.name.tag
listing: 
  begin: |
    \newcolumntype{C}{>{\color[HTML]{000000}\columncolor[HTML]{EEEEEE}}l}
    \newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{BAD6FD}}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{"
