Module rust_texas::component

source ·
Expand description

Standard Latex things.

Structs

  • \chapter{}: Only available for \documentclass{book}
  • OG environment, with \begin{} … \end{}. For lists, please use List. Halfway through implementing arguments, stay tuned.
  • Images! Please enable images for the current document before using: doc.enable_graphicx(path)
  • \input{}, if you want that kinda thing. Personally, I’ve never used it.
  • Terminated by “\ \n”, causes linebreaks within the document.
  • OG List, itemize or enumerate. If y’all want description, please put up an issue.
  • Block of text bracketed by “\n\n”. Generates a latex paragraph.
  • \part{}: Only available for \documentclass{book}
  • \section{}: Major partitioning device within a document
  • \subsection{}
  • Tables!
  • Basic text struct. Typically, a Paragraph or Line contains a bunch of these. Can also read from a file, in which case typ will be Normal.

Enums

  • One of the main structs, almost everything you put into a document is a Component
  • Variants for itemize and enumerate.
  • Italics and stuff. Also includes the mathy \(..\) and \[…\], as well as the Scope variant, \{…\} If y’all want more (like \textbb{}, \texttt{}, etc.) please put up an issue.