CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/thermodynamics


thermodynamics - A package for chemical engineers and others

Thermodynamics texts (textbooks, articles, and so forth) are typically filled with underlined and overlined symbols, partial derivatives surrounded by delimiters and containing subscripts, sums over multiple components, and a myriad of symbols, including superscript and subscript modifiers. This package provides a robust, flexible set of macros to define notation for symbols, partial derivatives, sums, and products frequently encountered in mixture thermodynamics. Changing one's notes from one textbook to another or from one notation style to another can be achieved relatively easily by changing package options, without any changes to the user's code (other than perhaps adjusting line breaks).


The package is suppled in dtx format with an accompanying ins file to install the package. Run latex thermodynamics.ins to extract the package; instructions for building the documentation are included in the ins file. Note that the package itself (sty file) is required to typeset the documentation.

This package requires the amstext and expl3 packages.

Typesetting the documentation requires several other packages:

  • geometry
  • fontenc
  • textcomp
  • amsmath
  • pxfonts
  • array
  • booktabs
  • footmisc
  • caption

Download the contents of this package in one zip archive (365.6k).

thermodynamics – Macros for multicomponent thermodynamics documents

This package makes typesetting quantities found in thermodynamics texts relatively simple. The commands are flexible and intended to be relatively intuitive. It handles several sets of notation for total, specific, and molar quantities; allows changes between symbols (e.g., A vs. F for Helmholtz free energy); and greatly simplifies the typesetting of symbols and partial derivatives commonly encountered in mixture thermodynamics. Changes of one’s notes from one textbook to another can be achieved relatively easily by changing package options.

The package offers a collection of macros and environments which are intended to make typesetting thermodynamics documents faster, more convenient, and more reliable. Macros include symbols for extensive, molar, specific, and partial molar properties; excess and residual (departure) properties; partial derivatives; heat capacities, compressibilities, and expansivities; saturation, mixture, and pure-component properties; Henry’s Law parameters and activity coefficients; changes on mixing, fusion, reaction, sublimation, and vaporization; and sets of all moles/mole fractions/masses/etc. being held constant in derivatives. Conversion of notes between textbooks is trivial for textbooks supported by the package, and more general changes in notation are also possible through package options.

Version2.02 2024-06-14
LicensesThe Project Public License 1.3
Copyright2022–2024 Karl D. Hammond
MaintainerKarl D. Hammond
Contained inTeX Live as thermodynamics
MiKTeX as thermodynamics
Guest Book Sitemap Contact Contact Author