• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

alexpovel/latex-cookbook: A comprehensive LaTeX template with examples for these ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

alexpovel/latex-cookbook

开源软件地址(OpenSource Url):

https://github.com/alexpovel/latex-cookbook

开源编程语言(OpenSource Language):

TeX 85.8%

开源软件介绍(OpenSource Introduction):

LaTeX Cookbook

Download PDF

This repo contains a LaTeX document, usable as a cookbook (different "recipes" to achieve various things in LaTeX) as well as as a template. The resulting PDF covers LaTeX-specific topics and instructions on compiling the LaTeX source.

See the releases page for more downloads.

Features

The PDF itself has much more to say on this and is meant to speak for itself, visually. The following is simply a brief overview of the features contained in this repo.

Tooling

  • accompanying Docker image, usable locally and in CI/CD, guaranteeing compilation success without interfering with your local installation. In fact, using Docker (containerization in general), no LaTeX installation is required at all.
    • accompanying Visual Studio Code environment configuration.

      If you open this repository in Visual Studio Code, it should automatically put you into the correct Docker container environment for development, and just work™. See here for more info.

    • in the image, pandoc is available with the Eisvogel template, allowing beautiful PDFs to be generated from Markdown (like this README: download it from the latest Actions artifacts; it currently looks lackluster because this README is mainly PNGs)

  • tests for your PDF, using Python to ensure some (basic) properties of your output adhere to expectations
  • a Makefile to facilitate ease of use and platform independence (commands like make file.pdf work locally as well as in CI pipelines)

LaTeX-specific

  • full Unicode support through lualatex, the successor to the obsolete pdflatex. This also affords beautiful font typesetting through unicode-math. High-quality fonts like TeX Gyre Pagella have all desirable font shapes available: font-shapes

  • automatic compilation using latexmk, ensuring the PDF is built fully, running all steps necessary (generation of the bibliography, glossaries, ...) automatically as needed

  • comprehensive support for:

    made possible through glossaries-extra.

  • structured and commented source code, explaining rationales and providing context

  • showcasing plotting and data display (floats):

    • computing more complicated plots (in this example, a contour plot) directly in LaTeX, with no explicit outside tools used (gnuplot is used by LaTeX in the background):

      plot-compute

    • ingesting a CSV directly, and plotting it (so we can skip matlab2tikz etc.). The below style is inspired by Tufte:

      plot-csv

    • typesetting more complex tables, with footnotes, decimal alignment and more:

      table

    • using tikz:

      • for annotating bitmap graphics:

        tikz-annotation

      • for drawing diagrams (this template contains a (basic) pgf/tikz library for energy systems/thermodynamics/hydraulics/... symbols like pipes, compressors, valves, ...) and 3D sketches. For a much better and comprehensive collection of TikZ examples, see here.

        tikz-diagram tikz-libaries

  • back-referencing of citations, using the excellent biblatex:

    backref

  • support for elaborate chemical reaction equations, using chemmacros:

    chemmacros

  • comprehensive code syntax highlighting, thanks to minted and pygments:

    pygments

  • quick and structural switching of language contexts, provided by polyglossia:

    language

  • of course, support for enhanced mathematical typesetting, like highlighted equations or premade macros. The blue color are hyperlinks, turning those symbols into links to the glossary (this can be toggled off).

    math

    math-macros




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap