| 1 |
%% |
| 2 |
%% This is file `mtc-tsf.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% minitoc.dtx (with options: `mtc-tsf') |
| 8 |
%% This is a generated file. |
| 9 |
%% |
| 10 |
%% |
| 11 |
%% This file may be distributed and/or modified under the conditions of |
| 12 |
%% the LaTeX Project Public License, either version 1.3 of this license |
| 13 |
%% or (at your option) any later version. The latest version of this |
| 14 |
%% license is in: |
| 15 |
%% |
| 16 |
%% http://www.latex-project.org/lppl.txt |
| 17 |
%% |
| 18 |
%% and version 1.3 or later is part of all distributions of LaTeX version |
| 19 |
%% 2003/12/01 or later. |
| 20 |
%% |
| 21 |
%% This work has the LPPL maintenance status "maintained". |
| 22 |
%% |
| 23 |
%% The Current Maintainer of this work is GitHub minitoc organisation. |
| 24 |
%% |
| 25 |
%% This work consists of all the files listed in the file `minitoc.l' |
| 26 |
%% distributed with it. |
| 27 |
%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 |
| 28 |
%% 2001 2002 2003 2004 2005 2006 2007 2008 |
| 29 |
%% Jean-Pierre F. Drucbert |
| 30 |
%% Copyright 2018 GitHub minitoc organisation (David Carlisle) |
| 31 |
\documentclass{report} |
| 32 |
\ProvidesFile{mtc-tsf.tex}[2008/04/03]% |
| 33 |
\usepackage{fullpage} |
| 34 |
\usepackage[config=altsf]{subfig} |
| 35 |
\usepackage[tight]{minitoc} |
| 36 |
\newdimen\testtemp |
| 37 |
\newcommand{\ru}[1]{% |
| 38 |
\testtemp #1% |
| 39 |
\advance\testtemp .5pt \divide\testtemp 2% |
| 40 |
\hbox to \testtemp{\leaders\hbox to 1mm{% |
| 41 |
\vrule height1mm depth0pt width.25pt\hfil}\hfil}% |
| 42 |
\hbox to 0pt{\hss\vrule height3mm depth0pt width.25pt\hss}% |
| 43 |
\hbox to \testtemp{\leaders\hbox to 1mm{% |
| 44 |
\hfil\vrule height1mm depth0pt width.25pt}\hfil}} |
| 45 |
%% |
| 46 |
\fboxsep=-\fboxrule |
| 47 |
\newcommand{\figbox}[1]{% |
| 48 |
\fbox{\vbox to 1in{% |
| 49 |
\vfil\hbox to 2in{\parbox{2in}{\centering #1}}\vfil |
| 50 |
\vbox to 0pt{\vss\hbox to 2in{\hfil\ru{1.1in}\hfil}}}}} |
| 51 |
\begin{document} |
| 52 |
\setcounter{lofdepth}{2} \dominilof \listoffigures |
| 53 |
\newpage |
| 54 |
\chapter{Reference Test} |
| 55 |
\minilof \mtcskip |
| 56 |
\mtcsetdepth{minilof}{1} |
| 57 |
\minilof |
| 58 |
|
| 59 |
\begin{figure}[ht]% |
| 60 |
\centering |
| 61 |
\subfigure{% |
| 62 |
\label{fig+A}\figbox{SUBFIGURE ONE:\\(no opt)}} |
| 63 |
\quad |
| 64 |
\subfigure[]{% |
| 65 |
\label{fig+B}\figbox{SUBFIGURE TWO:\\(empty opt)}}\\ |
| 66 |
|
| 67 |
\subfigure[Subfigure Three.]{% |
| 68 |
\label{fig+C}\figbox{SUBFIGURE THREE:\\(opt)}} |
| 69 |
\quad |
| 70 |
\subfigure[][Subfigure Four.]{% |
| 71 |
\label{fig+D}\figbox{SUBFIGURE FOUR:\\(empty opt and opt)}} |
| 72 |
\quad |
| 73 |
\subfigure[][]{% |
| 74 |
\label{fig+E}\figbox{SUBFIGURE FIVE:\\(both empty opt)}}\\ |
| 75 |
|
| 76 |
\subfigure[The Sixth Subfigure.][Subfigure Six.]{% |
| 77 |
\label{fig+F}\figbox{SUBFIGURE SIX:\\(both opt)}} |
| 78 |
\quad |
| 79 |
\subfigure[The Seventh Subfigure][]{% |
| 80 |
\label{fig+G}\figbox{SUBFIGURE SEVEN:\\(opt and empty opt)}} |
| 81 |
|
| 82 |
\caption{Optional argument test.}% |
| 83 |
\label{fig+main}% |
| 84 |
\end{figure} |
| 85 |
|
| 86 |
The figure~\ref{fig+main} on page~\pageref{fig+main} is composed |
| 87 |
of the seven subfigures~\subref{fig+A} (aka: \ref{fig+A}), |
| 88 |
\subref{fig+B} (aka: \ref{fig+B}), \subref{fig+C} (aka: \ref{fig+C}), |
| 89 |
\subref{fig+D} (aka: \ref{fig+D}), \subref{fig+E} (aka: \ref{fig+E}), |
| 90 |
\subref{fig+F} (aka: \ref{fig+F}), and \subref{fig+G} (aka: \ref{fig+G}). |
| 91 |
|
| 92 |
\section{Centering Test} |
| 93 |
Note that figures~\ref{fig+B}, \ref{fig+E} and \ref{fig+G} are centered. |
| 94 |
This means that \verb|\subfigcapskip| has been set to zero and is not |
| 95 |
offsetting the simple label to the left. Also the remaining captioned |
| 96 |
subfigures (figures~\ref{fig+C}, \ref{fig+D}, and \ref{fig+F}) should |
| 97 |
have centered labels. |
| 98 |
\end{document} |
| 99 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
|
| 108 |
|
| 109 |
|
| 110 |
|
| 111 |
|
| 112 |
|
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
|
| 119 |
|
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
|
| 124 |
|
| 125 |
|
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
|
| 132 |
|
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
|
| 139 |
|
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
|
| 150 |
|
| 151 |
|
| 152 |
|
| 153 |
|
| 154 |
|
| 155 |
|
| 156 |
|
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
|
| 162 |
|
| 163 |
|
| 164 |
|
| 165 |
%% |
| 166 |
|
| 167 |
|
| 168 |
|
| 169 |
|
| 170 |
|
| 171 |
|
| 172 |
|
| 173 |
|
| 174 |
|
| 175 |
|
| 176 |
|
| 177 |
|
| 178 |
|
| 179 |
|
| 180 |
|
| 181 |
|
| 182 |
|
| 183 |
|
| 184 |
|
| 185 |
|
| 186 |
|
| 187 |
|
| 188 |
|
| 189 |
|
| 190 |
|
| 191 |
|
| 192 |
|
| 193 |
|
| 194 |
|
| 195 |
|
| 196 |
|
| 197 |
|
| 198 |
|
| 199 |
|
| 200 |
|
| 201 |
|
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
\endinput |
| 206 |
%% |
| 207 |
%% End of file `mtc-tsf.tex'. |