Common snippets

  • yt-embed: Embeds a YouTube video. Params: src, width, height
  • centered-img: Displays an image. You can put the images in snippets/static. Params: src, width, height
  • iframe: Embeds an iframe. Params: src, width, height
  • file-url: Embeds a file download. Params: href, display
  • mathjax: Loads the MathJax library. Use \usepackage{mathjax} instead to achieve the same.
  • desmos: Loads the Desmos API.