pandoc-filter-indent-0.3.3.0: Pandoc filter formatting Haskell code fragments using GHC lexer.
Safe HaskellNone
LanguageHaskell2010

Render.Latex

Description

Render analyzed input into LaTeX table.

Synopsis

Documentation

latexFromColSpans :: Int -> [[TokensWithColSpan]] -> Text Source #

Given a number of table columns, and a list of lists of colspans for each table row, return raw LaTeX code.

latexInline :: [(MyTok, Text)] -> Text Source #

Format a list of tokens within a colspan. Preprocesses then and calls formatToken for each.

subAndSuperscripts :: Text -> Text Source #

Add subscripts and superscripts to variable names. "_" is subscript, and "__" is superscript. Superscripts nest their remaining content recursively.