%% %% This is file `reftmpl.cfg', %% generated with the docstrip utility. %% %% The original source files were: %% %% refstyle.dtx (with options: `tmpl') %% %% This is a generated file. %% %% This is an example of a template configuration file %% for the refstyle package. The user may redefine it %% to suit his or her own needs. %% %%--- TEMPLATE FOR PARTS ------------------------- \newref{part}{% name = {Part~}, names = {Parts~}, Name = {Part~}, Names = {Parts~}, rngtxt = {\space to~}, lsttxt = {\space and~}} %%--- TEMPLATE FOR CHAPTERS & APPENDIXES -------- \makeatletter \providecommand*{\p@chapter}{} \renewcommand*{\p@chapter}{\string\chpname{\@chapapp}} \makeatother \newcommand*{\chpname}[1]{} \newcommand*{\RSchpname}[1]{% \ifRSnameon \edef\RStmpa{#1}% \edef\RStmpb{\appendixname}% \ifx\RStmpa\RStmpb\relax% \ifRSplural \ifRScapname Appendices~\else appendices~\fi \else \ifRScapname Appendix~\else appendix~\fi \fi \else \ifRSplural \ifRScapname Chapters~\else chapters~\fi \else \ifRScapname Chapter~\else chapter~\fi \fi \fi \fi} \newref{chap}{% refcmd = {\let\chpname=\RSchpname\ref{#1}}, rngtxt = {\space to~}, lsttxt = {\space and~}} %%--- TEMPLATE FOR SECTIONS --------------------- \newref{sec}{% name = {section~}, names = {sections~}, Name = {Section~}, Names = {Sections~}, refcmd = {\S\ref{#1}}, rngtxt = {\space to~}, lsttxt = {\space and~}} %%--- TEMPLATE FOR EQUATIONS -------------------- \let\eqref\relax \newref{eq}{% name = {equation~}, names = {equations~}, Name = {Equation~}, Names = {Equations~}, refcmd = \textup{(\ref{#1})}, rngtxt = {\space to~}, lsttxt = {\space and~}}% %%--- TEMPLATE FOR FIGURES ---------------------- \newref{fig}{% name = {figure~}, names = {figures~}, Name = {Figure~}, Names = {Figures~}, rngtxt = {\space to~}, lsttxt = {\space and~}} %%--- TEMPLATE FOR TABLES ----------------------- \newref{tab}{% name = {table~}, names = {tables~}, Name = {Table~}, Names = {Tables~}, rngtxt = {\space to~}, lsttxt = {\space and~}} %%--- TEMPLATE FOR FOOTNOTES -------------------- \makeatletter \newcommand{\RSfnmark}[1]{% \begingroup \unrestored@protected@xdef\@thefnmark{#1}% \endgroup \@footnotemark} \makeatother \newref{fn}{% name = {footnote~}, names = {footnotes~}, Name = {Footnote~}, Names = {Footnotes~}, refcmd = {\ifRSstar\RSfnmark{\ref{#1}}\else(\ref{#1})\fi}, rngtxt = {\space to~}, lsttxt = {\space and~}} \endinput %% %% End of file `reftmpl.cfg'.