TeXipedia

carlisle

Provides a collection of small but useful utilities for specialized LaTeX formatting and character manipulation tasks.

Overview

Offers a diverse set of specialized tools and enhancements that address specific LaTeX formatting needs and character handling requirements.

  • Enables creation of dotless 'j' characters for fonts lacking this feature
  • Combines functionality of longtable and tabularx packages for enhanced table formatting
  • Facilitates seamless integration of Plain TeX content within LaTeX documents
  • Includes utilities for creating slashed characters commonly used in physics notation
  • Contains various helper functions for counter management and specialized formatting tasks

Particularly valuable for documents requiring specialized character modifications, advanced table formatting, or mixed Plain TeX and LaTeX content.

Getting Started

The carlisle package is a collection of small utility packages by David Carlisle. To use any of these packages, include the specific package you need in your document preamble:

\documentclass{article}
\usepackage{dotlessj}   % For dotless j characters
% or
\usepackage{ltxtable}   % For combining longtable and tabularx
% or
\usepackage{plain-ltx}  % For including Plain TeX in LaTeX
% or
\usepackage{slashed}    % For creating slashed characters

Note that the remreset package is now obsolete as its functionality has been incorporated into the LaTeX kernel.

Examples

Using the 'slashed' package to create slashed characters for physics notation.

\documentclass{article}
\usepackage{slashed}
\begin{document}
\section{Dirac Notation with Slashed Characters}

In quantum field theory, the Dirac equation can be written in a compact form using slashed notation:

\[\slashed{\partial}\psi - m\psi = 0\]

Where $\slashed{\partial}$ represents $\gamma^\mu \partial_\mu$. We can also write expressions like:

\[\slashed{p} = \gamma^\mu p_\mu\]

This notation is commonly used in particle physics calculations.
\end{document}

Using the 'dotlessj' package to create a dotless j character in fonts that don't provide it.

\documentclass{article}
\usepackage{dotlessj}
\begin{document}
\section{Using Dotless j}

In some mathematical contexts, we need accented characters like $\hat{\jmath}$ or $\tilde{\jmath}$.

Without the dotlessj package, some fonts might not display these correctly. With the package loaded, we can use $\hat{\jmath}$ and $\tilde{\jmath}$ in our equations:

\[
\hat{\jmath}(x) = \int_0^x \tilde{\jmath}(t)\,dt
\]

This is particularly useful in complex analysis and physics notation.
\end{document}