diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-26 00:22:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-26 00:22:17 +0000 |
commit | 9c24297a1ff4e9878d7506b820075ef022d53592 (patch) | |
tree | 7f69c3abbd84bf1e715591e0b5bda3f486aacc30 /Master/texmf-dist | |
parent | 4b3e24f9fd2358785feef4daa64d4fdf84171f02 (diff) |
multibox 2e + doc + own package (22apr10)
git-svn-id: svn://tug.org/texlive/trunk@17998 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/multibox/multibox.pdf | bin | 0 -> 212380 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/multibox/multibox.tex | 51 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/multibox/multibox.sty (renamed from Master/texmf-dist/tex/latex/misc209/multibox.sty) | 0 |
3 files changed, 51 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/multibox/multibox.pdf b/Master/texmf-dist/doc/latex/multibox/multibox.pdf Binary files differnew file mode 100644 index 00000000000..867a40ca326 --- /dev/null +++ b/Master/texmf-dist/doc/latex/multibox/multibox.pdf diff --git a/Master/texmf-dist/doc/latex/multibox/multibox.tex b/Master/texmf-dist/doc/latex/multibox/multibox.tex new file mode 100644 index 00000000000..5747cdbc967 --- /dev/null +++ b/Master/texmf-dist/doc/latex/multibox/multibox.tex @@ -0,0 +1,51 @@ +\documentclass[pagesize=auto, parskip=half, fontsize=12pt, DIV=11]{scrartcl} + +\usepackage{fixltx2e} +\usepackage{etex} +\usepackage{lmodern} +\usepackage[T1]{fontenc} +\usepackage{textcomp} +\usepackage{booktabs} +\usepackage{microtype} + +\newcommand*{\pkg}[1]{\textsf{#1}} +\newcommand*{\cs}[1]{\texttt{\textbackslash#1}} +\makeatletter +\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}} +\makeatother +\newcommand*{\env}[1]{\texttt{#1}} +\newcommand*{\meta}[1]{\textlangle\textsl{#1}\textrangle} +\newcommand*{\marg}[1]{\texttt{\{}\meta{#1}\texttt{\}}} +\newcommand*{\narg}[1]{\texttt{\{$#1$\}}} +\newcommand*{\oarg}[1]{\texttt{[}\meta{#1}\texttt{]}} +\newcommand*{\pargs}[2]{\texttt{($#1$,\,$#2$)}} +\newcommand*{\coord}[2]{$(#1,\:#2)$} +\newcommand*{\txt}[1]{Text\textsubscript{$#1$}} + +\addtokomafont{title}{\rmfamily} + +\title{\pkg{MULTIBOX.STY}} +\subtitle{A style option to provide multiple boxes in pictures} +\author{Brian HAMILTON KELLY\thanks{Royal Military College of Science, Shrivenham, SWINDON, SN6 8LA, United Kingdom}} +\date{13 October 1988} + + +\begin{document} + +\maketitle + +This style file option provides two new commands for use in the \env{picture} +environment: +% +\begin{itemize} +\item \cmd{\multimake}\pargs{x}{y}\pargs{dx}{dy}\narg{n}\pargs{w}{h}\oarg{pos}\marg{\txt{1}}\marg{\txt{2}}\ldots\marg{\txt{n}} +\item \cmd{\multiframe}\pargs{x}{y}\pargs{dx}{dy}\narg{n}\pargs{w}{h}\oarg{pos}\marg{\txt{1}}\marg{\txt{2}}\ldots\marg{\txt{n}} +\end{itemize} +% +These commands set the $n$ texts \meta{\txt{1}}\ldots\meta{\txt{n}} inside a \cmd{\makebox} or +\cmd{\framebox} respectively. The first box has its lower-left corner at \coord{x}{y}, +and successive boxes are located at \coord{x+dx}{y+dy}, \ldots, \coord{x+(n-1)\,dx}{y+(n-1)\,dy}. +Each box has width and height determined by \coord{w}{h}, and the optional +box placement parameter \meta{pos} is applied to all the generated texts. + +\end{document} diff --git a/Master/texmf-dist/tex/latex/misc209/multibox.sty b/Master/texmf-dist/tex/latex/multibox/multibox.sty index afe5530d15e..afe5530d15e 100644 --- a/Master/texmf-dist/tex/latex/misc209/multibox.sty +++ b/Master/texmf-dist/tex/latex/multibox/multibox.sty |