From 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 9 Jan 2006 00:49:07 +0000 Subject: doc/latex git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/mcaption/README | 25 +++++++ Master/texmf-dist/doc/latex/mcaption/example.tex | 78 ++++++++++++++++++++++ Master/texmf-dist/doc/latex/mcaption/mcaption.pdf | Bin 0 -> 123188 bytes 3 files changed, 103 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/mcaption/README create mode 100644 Master/texmf-dist/doc/latex/mcaption/example.tex create mode 100644 Master/texmf-dist/doc/latex/mcaption/mcaption.pdf (limited to 'Master/texmf-dist/doc/latex/mcaption') diff --git a/Master/texmf-dist/doc/latex/mcaption/README b/Master/texmf-dist/doc/latex/mcaption/README new file mode 100644 index 00000000000..a82ea2e3cd0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/mcaption/README @@ -0,0 +1,25 @@ +% This material is subject to the LaTeX Project Public License. See +% http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html +% for the details of that license. + +package: mcaption v2.2 2005/09/30 +author: Stephan Hennig (stephanhennig@arcor.de) + + +Description +This package provides a margincap environment to put figure +or table captions in the margin. See the documentation to +learn more about this package. + + +Installation +To install the package and to build documentation run + +tex mcaption.ins + +and follow the steps printed in the screen output. Finally, +move mcaption.sty, somewhere into your tex path, e.g., +texmf/tex/latex/mcaption/ and don't forget to refresh the +file name data base. + +Happy TeXing! diff --git a/Master/texmf-dist/doc/latex/mcaption/example.tex b/Master/texmf-dist/doc/latex/mcaption/example.tex new file mode 100644 index 00000000000..14b56874d4b --- /dev/null +++ b/Master/texmf-dist/doc/latex/mcaption/example.tex @@ -0,0 +1,78 @@ +%% +%% This is file `example.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% mcaption.dtx (with options: `example') +%% +%% This is a generated file. +%% +%% Copyright (C) 2005 by Stephan Hennig +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.2 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.2 or later is part of all distributions of LaTeX version +%% 1999/12/01 or later. +%% +\listfiles +\documentclass{book} +\usepackage{wrapfig} +\usepackage[top]{mcaption} +\usepackage[ + font={footnotesize,it}, + labelfont=bf, + justification=raggedright] +{caption}[2005/06/28] +\usepackage[english]{babel} +\usepackage{blindtext} +\begin{document} +\setlength{\margincapsep}{3\columnsep} +\chapter{Demonstration of the mcaption package} +\section{This is one column mode} +\blindtext[1] + +\begin{wrapfigure}{o}{5cm} + \begin{margincap}{A wrapfigure caption in the outer margin.} + \rule{5cm}{2cm} + \end{margincap} +\end{wrapfigure} +\blindtext[1] +\begin{table} + \begin{margincap}{A table caption in the outer margin.} + \centering +%%% Note the alignment specifier! + \begin{tabular}[\margincapalign]{@{}lr@{}} + foo & 7\\ + bar & 21 \\ + baz & 23 \\ + \end{tabular} + \end{margincap} +\end{table} + +\twocolumn +\section{This is two column mode} +\blindtext[1] + +\begin{wrapfigure}{o}{2cm} + \begin{margincap}{Another wrapfigure caption in the outer margin. + Note, we are in the outer column. And we're hanging!} + \rule{2cm}{1cm} + \end{margincap} +\end{wrapfigure} +\blindtext[5] +\begin{figure*} + \begin{margincap}{A figure caption in the outer margin.} + \centering + \rule{10cm}{2cm} + \end{margincap} +\end{figure*} +\end{document} +\endinput +%% +%% End of file `example.tex'. diff --git a/Master/texmf-dist/doc/latex/mcaption/mcaption.pdf b/Master/texmf-dist/doc/latex/mcaption/mcaption.pdf new file mode 100644 index 00000000000..3413c65e9bc Binary files /dev/null and b/Master/texmf-dist/doc/latex/mcaption/mcaption.pdf differ -- cgit v1.2.3