From 9c24297a1ff4e9878d7506b820075ef022d53592 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 26 Apr 2010 00:22:17 +0000 Subject: multibox 2e + doc + own package (22apr10) git-svn-id: svn://tug.org/texlive/trunk@17998 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/multibox/multibox.pdf | Bin 0 -> 212380 bytes Master/texmf-dist/doc/latex/multibox/multibox.tex | 51 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/multibox/multibox.pdf create mode 100644 Master/texmf-dist/doc/latex/multibox/multibox.tex (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/latex/multibox/multibox.pdf b/Master/texmf-dist/doc/latex/multibox/multibox.pdf new file mode 100644 index 00000000000..867a40ca326 Binary files /dev/null and b/Master/texmf-dist/doc/latex/multibox/multibox.pdf differ 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} -- cgit v1.2.3