| 1 |
\documentclass[a4paper]{article} |
| 2 |
\usepackage[scale=0.75]{geometry} |
| 3 |
\usepackage{shortvrb} |
| 4 |
\MakeShortVerb{\|} |
| 5 |
\newcommand{\PkgVersion}{1.1} |
| 6 |
\newcommand{\PkgDate}{2020/09/25} |
| 7 |
\newcommand{\Pkg}[1]{\textsf{#1}} |
| 8 |
\newcommand{\Meta}[1]{$\langle$\textit{#1}$\rangle$} |
| 9 |
\newcommand{\Note}{\par\noindent \textbf{NB:}\quad} |
| 10 |
\newcommand{\Means}{~:\quad} |
| 11 |
\providecommand{\eTeX}{$\varepsilon$-{\TeX}} |
| 12 |
%----------------------------------------------------------- |
| 13 |
\begin{document} |
| 14 |
\title{The \Pkg{bxcalcize} package} |
| 15 |
\author{Takayuki YATO\quad (aka.~``ZR'')} |
| 16 |
\date{v\PkgVersion \quad[\PkgDate]} |
| 17 |
\maketitle |
| 18 |
|
| 19 |
%=========================================================== |
| 20 |
\section{Notice} |
| 21 |
|
| 22 |
Functionality of this package will be provided by the LaTeX |
| 23 |
kernel of the version 2020/10/01. |
| 24 |
|
| 25 |
%=========================================================== |
| 26 |
\section{Overview} |
| 27 |
|
| 28 |
After loading \Pkg{calc}, most of the length specifications |
| 29 |
in {\LaTeX} become aware of that package--- i.e.\ |
| 30 |
\Pkg{calc} expressions can be written in place of |
| 31 |
simple lengths. |
| 32 |
However some commands remain \Pkg{calc}-unaware; for example |
| 33 |
one cannot use expressions in the argument of |\hspace|. |
| 34 |
This package patches to the {\LaTeX} kernel and eliminates |
| 35 |
remaining \Pkg{calc}-unawareness |
| 36 |
(as far as I know). |
| 37 |
|
| 38 |
\paragraph{Supported format} \LaTeX. |
| 39 |
\paragraph{Supported engine} Any engine with {\eTeX} extensions. |
| 40 |
\paragraph{Prerequisite packages} \Pkg{calc} package. |
| 41 |
|
| 42 |
%=========================================================== |
| 43 |
\section{Package Loading} |
| 44 |
|
| 45 |
Use |\usepackage| as usual, with no options. |
| 46 |
\begin{quote}\small\begin{verbatim} |
| 47 |
\usepackage{bxcalcize} |
| 48 |
\end{verbatim}\end{quote} |
| 49 |
|
| 50 |
%=========================================================== |
| 51 |
\section{Usage} |
| 52 |
|
| 53 |
After loading the package, one can use \Pkg{calc} expressions |
| 54 |
in the following places: |
| 55 |
\begin{itemize} |
| 56 |
\item the sole argument of |\hspace|(|*|), |\vspace|(|*|), |
| 57 |
and |\addvspace|; |
| 58 |
\item the sole optional argument of |\\|. |
| 59 |
\end{itemize} |
| 60 |
|
| 61 |
%=========================================================== |
| 62 |
\end{document} |