diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/bxcalc/bxcalcize.tex |
Initial commit
Diffstat (limited to 'macros/latex/contrib/bxcalc/bxcalcize.tex')
-rw-r--r-- | macros/latex/contrib/bxcalc/bxcalcize.tex | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/macros/latex/contrib/bxcalc/bxcalcize.tex b/macros/latex/contrib/bxcalc/bxcalcize.tex new file mode 100644 index 0000000000..dda2d534e5 --- /dev/null +++ b/macros/latex/contrib/bxcalc/bxcalcize.tex @@ -0,0 +1,56 @@ +\documentclass[a4paper]{article} +\usepackage[scale=0.75]{geometry} +\usepackage{shortvrb} +\MakeShortVerb{\|} +\newcommand{\PkgVersion}{1.0a} +\newcommand{\PkgDate}{2018/01/28} +\newcommand{\Pkg}[1]{\textsf{#1}} +\newcommand{\Meta}[1]{$\langle$\textit{#1}$\rangle$} +\newcommand{\Note}{\par\noindent \textbf{NB:}\quad} +\newcommand{\Means}{~:\quad} +\providecommand{\eTeX}{$\varepsilon$-{\TeX}} +%----------------------------------------------------------- +\begin{document} +\title{The \Pkg{bxcalcize} package} +\author{Takayuki YATO\quad (aka.~``ZR'')} +\date{v\PkgVersion \quad[\PkgDate]} +\maketitle + +%=========================================================== +\section{Overview} + +After loading \Pkg{calc}, most of the length specifications +in {\LaTeX} become aware of that package--- i.e.\ +\Pkg{calc} expressions can be written in place of +simple lengths. +However some commands remain \Pkg{calc}-unaware; for example +one cannot use expressions in the argument of |\hspace|. +This package patches to the {\LaTeX} kernel and eliminates +remaining \Pkg{calc}-unawareness +(as far as I know). + +\paragraph{Supported format} \LaTeX. +\paragraph{Supported engine} Any engine with {\eTeX} extensions. +\paragraph{Prerequisite packages} \Pkg{calc} package. + +%=========================================================== +\section{Package Loading} + +Use |\usepackage| as usual, with no options. +\begin{quote}\small\begin{verbatim} +\usepackage{bxcalcize} +\end{verbatim}\end{quote} + +%=========================================================== +\section{Usage} + +After loading the package, one can use \Pkg{calc} expressions +in the following places: +\begin{itemize} +\item the sole argument of |\hspace|(|*|), |\vspace|(|*|), +and |\addvspace|; +\item the sole optional argument of |\\|. +\end{itemize} + +%=========================================================== +\end{document} |