summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/refstyle/refstyle.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/refstyle/refstyle.cfg')
-rw-r--r--macros/latex/contrib/refstyle/refstyle.cfg571
1 files changed, 571 insertions, 0 deletions
diff --git a/macros/latex/contrib/refstyle/refstyle.cfg b/macros/latex/contrib/refstyle/refstyle.cfg
new file mode 100644
index 0000000000..2ca7d62dd2
--- /dev/null
+++ b/macros/latex/contrib/refstyle/refstyle.cfg
@@ -0,0 +1,571 @@
+%%
+%% This is file `refstyle.cfg',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% refconfig.dtx (with options: `cfg')
+%%
+%% -------------------------------------------------------------------
+%% The refstyle package
+%% for the formatting of references
+%% -------------------------------------------------------------------
+%% This file may be customized to suit specific user requirements.
+%%
+%% Original by Danie Els <dnjels@sun.ac.za>
+%% -------------------------------------------------------------------
+%%
+\ProvidesFile{refstyle.cfg}[2010/11/02\space
+ 0.5\space
+ Configuration file for refstyle (DNJ Els)]
+%%-- ENGLISH ------------------------------------
+\newcommand\RSukenglish{%
+ \def\RSrngtxt{\space to~}%........... Range: figures 5 to 6
+ \def\RSlsttwotxt{\space and~}%....... List two: figures 5 and 6
+ \def\RSlsttxt{, and~}%............... List more: figures 5, 6, and 7
+ \def\RSparttxt{Part~}%............... Part lowercase singular
+ \def\RSpartstxt{Parts~}%............. lowercase plural
+ \def\RSParttxt{Part~}%............... uppercase singular (sentence start)
+ \def\RSPartstxt{Parts~}%............. uppercase plural (sentence start)
+ \def\RSappendixname{appendix~}%...... Appendix lowercase singular
+ \def\RSappendicesname{appendices~}%.. lowercase plural
+ \def\RSAppendixname{Appendix~}%...... uppercase singular (sentence start)
+ \def\RSAppendicesname{Appendices~}%.. uppercase plural (sentence start)
+ \def\RSchaptername{chapter~}%........ Chapter lowercase singular
+ \def\RSchaptersname{chapters~}%...... lowercase plural
+ \def\RSChaptername{Chapter~}%........ uppercase singular (sentence start)
+ \def\RSChaptersname{Chapters~}%...... uppercase plural (sentence start)
+ \def\RSsectxt{section~}%............. Section lowercase singular
+ \def\RSsecstxt{sections~}%........... lowercase plural
+ \def\RSSectxt{Section~}%............. uppercase singular (sentence start)
+ \def\RSSecstxt{Sections~}%........... uppercase plural (sentence start)
+ \def\RSeqtxt{equation~}%............. Equation lowercase singular
+ \def\RSeqstxt{equations~}%........... lowercase plural
+ \def\RSEqtxt{Equation~}%............. uppercase singular (sentence start)
+ \def\RSEqstxt{Equations~}%........... uppercase plural (sentence start)
+ \def\RSfigtxt{figure~}%.............. Figure lowercase singular
+ \def\RSfigstxt{figures~}%............ lowercase plural
+ \def\RSFigtxt{Figure~}%.............. uppercase singular (sentence start)
+ \def\RSFigstxt{Figures~}%............ uppercase plural (sentence start)
+ \def\RStabtxt{table~}%............... Table lowercase singular
+ \def\RStabstxt{tables~}%............. lowercase plural
+ \def\RSTabtxt{Table~}%............... uppercase singular (sentence start)
+ \def\RSTabstxt{Tables~}%............. uppercase plural (sentence start)
+ \def\RSfootntxt{footnote~}%.......... Footnote lowercase singular
+ \def\RSfootnstxt{footnotes~}%........ lowercase plural
+ \def\RSFootntxt{Footnote~}%.......... uppercase singular (sentence start)
+ \def\RSFootnstxt{Footnotes~}%........ uppercase plural (sentence start)
+}
+\newcommand\RSenglish{%
+ \def\RSrngtxt{\space to~}%
+ \def\RSlsttwotxt{\space and~}%
+ \def\RSlsttxt{\space and~}%
+ \def\RSparttxt{Part~}%
+ \def\RSpartstxt{Parts~}%
+ \def\RSParttxt{Part~}%
+ \def\RSPartstxt{Parts~}%
+ \def\RSappendixname{appendix~}%
+ \def\RSappendicesname{appendices~}%
+ \def\RSAppendixname{Appendix~}%
+ \def\RSAppendicesname{Appendices~}%
+ \def\RSchaptername{chapter~}%
+ \def\RSchaptersname{chapters~}%
+ \def\RSChaptername{Chapter~}%
+ \def\RSChaptersname{Chapters~}%
+ \def\RSsectxt{section~}%
+ \def\RSsecstxt{sections~}%
+ \def\RSSectxt{Section~}%
+ \def\RSSecstxt{Sections~}%
+ \def\RSeqtxt{equation~}%
+ \def\RSeqstxt{equations~}%
+ \def\RSEqtxt{Equation~}%
+ \def\RSEqstxt{Equations~}%
+ \def\RSfigtxt{figure~}%
+ \def\RSfigstxt{figures~}%
+ \def\RSFigtxt{Figure~}%
+ \def\RSFigstxt{Figures~}%
+ \def\RStabtxt{table~}%
+ \def\RStabstxt{tables~}%
+ \def\RSTabtxt{Table~}%
+ \def\RSTabstxt{Tables~}%
+ \def\RSfootntxt{footnote~}%
+ \def\RSfootnstxt{footnotes~}%
+ \def\RSFootntxt{Footnote~}%
+ \def\RSFootnstxt{Footnotes~}%
+}
+\RSenglish% Default
+\DeclareLangOpt{english}{\RSenglish}
+\DeclareLangOpt{USenglish}{\RSenglish}
+\DeclareLangOpt{american}{\RSenglish}
+\DeclareLangOpt{canadian}{\RSenglish}
+\DeclareLangOpt{UKenglish}{\RSukenglish}
+\DeclareLangOpt{british}{\RSukenglish}
+%%-- AFRIKAANS ----------------------------------
+\newcommand\RSafrikaans{%
+ \def\RSrngtxt{\space tot~}%
+ \def\RSlsttwotxt{\space en~}%
+ \def\RSlsttxt{\space en~}%
+ \def\RSparttxt{Deel~}%
+ \def\RSpartstxt{Dele~}%
+ \def\RSParttxt{Deel~}%
+ \def\RSPartstxt{Dele~}%
+ \def\RSappendixname{bylae~}%
+ \def\RSappendicesname{bylaes~}%
+ \def\RSAppendixname{Bylae~}%
+ \def\RSAppendicesname{Bylaes~}%
+ \def\RSchaptername{hoofstuk~}%
+ \def\RSchaptersname{hoofstukke~}%
+ \def\RSChaptername{Hoofstuk~}%
+ \def\RSChaptersname{Hoofstukke~}%
+ \def\RSsectxt{afdeling~}%
+ \def\RSsecstxt{afdelings~}%
+ \def\RSSectxt{Afdeling~}%
+ \def\RSSecstxt{Afdelings~}%
+ \def\RSeqtxt{vergelyking~}%
+ \def\RSeqstxt{vergelykings~}%
+ \def\RSEqtxt{Vergelyking~}%
+ \def\RSEqstxt{Vergelyking~}%
+ \def\RSfigtxt{figuur~}%
+ \def\RSfigstxt{figure~}%
+ \def\RSFigtxt{Figuur~}%
+ \def\RSFigstxt{Figure~}%
+ \def\RStabtxt{tabel~}%
+ \def\RStabstxt{tabelle~}%
+ \def\RSTabtxt{Tabel~}%
+ \def\RSTabstxt{Tabelle~}%
+ \def\RSfootntxt{footnota~}%
+ \def\RSfootnstxt{footnotas~}%
+ \def\RSFootntxt{Footnota~}%
+ \def\RSFootnstxt{Footnotas~}%
+}
+\DeclareLangOpt{afrikaans}{\RSafrikaans}
+%%-- DANISH -------------------------------------
+\newcommand\RSdanish{%
+ \def\RSrngtxt{\space til~}%
+ \def\RSlsttwotxt{\space og~}%
+ \def\RSlsttxt{\space og~}%
+ \def\RSparttxt{del~}%
+ \def\RSpartstxt{del~}%
+ \def\RSParttxt{Del~}%
+ \def\RSPartstxt{Del~}%
+ \def\RSappendixname{bilag~}% % 'appendiks' is also possible,
+ \def\RSappendicesname{bilag~}% % but 'bilag' is used in Babel
+ \def\RSAppendixname{Bilag~}%
+ \def\RSAppendicesname{Bilag~}%
+ \def\RSchaptername{kapitel~}%
+ \def\RSchaptersname{kapitel~}%
+ \def\RSChaptername{Kapitel~}%
+ \def\RSChaptersname{Kapitel~}%
+ \def\RSsectxt{afsnit~}%
+ \def\RSsecstxt{afsnit~}%
+ \def\RSSectxt{Afsnit~}%
+ \def\RSSecstxt{Afsnit~}%
+ \def\RSeqtxt{ligning~}%
+ \def\RSeqstxt{ligning~}%
+ \def\RSEqtxt{Ligning~}%
+ \def\RSEqstxt{Ligning~}%
+ \def\RSfigtxt{figur~}%
+ \def\RSfigstxt{figur~}%
+ \def\RSFigtxt{Figur~}%
+ \def\RSFigstxt{Figur~}%
+ \def\RStabtxt{tabel~}%
+ \def\RStabstxt{tablel~}%
+ \def\RSTabtxt{Tabel~}%
+ \def\RSTabstxt{Tabel~}%
+ \def\RSfootntxt{fodnote~}%
+ \def\RSfootnstxt{fodnote~}%
+ \def\RSFootntxt{Fodnote~}%
+ \def\RSFootnstxt{Fodnote~}%
+}
+\DeclareLangOpt{danish}{\RSdanish}
+%%-- FRENCH -------------------------------------
+\newcommand\RSfrench{%
+ \def\RSrngtxt{\space \`{a}~}%
+ \def\RSlsttwotxt{\space et~}%
+ \def\RSlsttxt{\space et~}%
+ \def\RSparttxt{partie~}%
+ \def\RSpartstxt{parties~}%
+ \def\RSParttxt{La partie~}%
+ \def\RSPartstxt{Les parties~}%
+ \def\RSappendixname{appendice~}%
+ \def\RSappendicesname{appendices~}%
+ \def\RSAppendixname{L'appendice~}%
+ \def\RSAppendicesname{Les appendices~}%
+ \def\RSchaptername{chapitre~}%
+ \def\RSchaptersname{chapitres~}%
+ \def\RSChaptername{Le chapitre~}%
+ \def\RSChaptersname{Les chapitres~}%
+ \def\RSsectxt{section~}%
+ \def\RSsecstxt{sections~}%
+ \def\RSSectxt{La section~}%
+ \def\RSSecstxt{Les sections~}%
+ \def\RSeqtxt{\'{e}quation~}%
+ \def\RSeqstxt{\'{e}quations~}%
+ \def\RSEqtxt{L'\'{e}quation~}%
+ \def\RSEqstxt{Les \'{e}quations~}%
+ \def\RSfigtxt{figure~}%
+ \def\RSfigstxt{figures~}%
+ \def\RSFigtxt{La figure~}%
+ \def\RSFigstxt{Les figures~}%
+ \def\RStabtxt{tableau~}%
+ \def\RStabstxt{tableaux~}%
+ \def\RSTabtxt{Le tableau~}%
+ \def\RSTabstxt{Les tableaux~}%
+ \def\RSfootntxt{note~}%
+ \def\RSfootnstxt{notes~}%
+ \def\RSFootntxt{La note~}%
+ \def\RSFootnstxt{Les notes~}%
+}
+\DeclareLangOpt{french}{\RSfrench}
+%%-- GERMAN -------------------------------------
+\newcommand\RSgerman{%
+ \def\RSrngtxt{\space bis~}%
+ \def\RSlsttwotxt{\space und~}%
+ \def\RSlsttxt{\space und~}%
+ \def\RSparttxt{Teil~}%
+ \def\RSpartstxt{Teile~}%
+ \def\RSParttxt{Teil~}%
+ \def\RSPartstxt{Teile~}%
+ \def\RSappendixname{Anhang~}%
+ \def\RSappendicesname{Anh\"{a}nge~}%
+ \def\RSAppendixname{Anhang~}%
+ \def\RSAppendicesname{Anh\"{a}nge~}%
+ \def\RSchaptername{Kapitel~}%
+ \def\RSchaptersname{Kapitel~}%
+ \def\RSChaptername{Kapitel~}%
+ \def\RSChaptersname{Kapitel~}%
+ \def\RSsectxt{Abschnitt~}%
+ \def\RSsecstxt{Abschnitt~}%
+ \def\RSSectxt{Abschnitt~}%
+ \def\RSSecstxt{Abschnitt~}%
+ \def\RSeqtxt{Gleichung~}%
+ \def\RSeqstxt{Gleichungen~}%
+ \def\RSEqtxt{Gleichung~}%
+ \def\RSEqstxt{Gleichungen~}%
+ \def\RSfigtxt{Abbildung~}%
+ \def\RSfigstxt{Abbildung~}%
+ \def\RSFigtxt{Abbildung~}%
+ \def\RSFigstxt{Abbildung~}%
+ \def\RStabtxt{Tabelle~}%
+ \def\RStabstxt{Tabellen~}%
+ \def\RSTabtxt{Tabelle~}%
+ \def\RSTabstxt{Tabellen~}%
+ \def\RSfootntxt{Fu\ss note~}%
+ \def\RSfootnstxt{Fu\ss noten~}%
+ \def\RSFootntxt{Fu\ss note~}%
+ \def\RSFootnstxt{Fu\ss noten~}%
+}
+\DeclareLangOpt{german}{\RSgerman}
+\DeclareLangOpt{ngerman}{\RSgerman}
+\DeclareLangOpt{austrian}{\RSgerman}
+\DeclareLangOpt{naustrian}{\RSgerman}
+%%-- ITALIAN ------------------------------------
+\newcommand\RSitalian{%
+ \def\RSrngtxt{--}%
+ \def\RSlsttwotxt{\space e~}%
+ \def\RSlsttxt{\space e~}%
+ \def\RSparttxt{Parte~}%
+ \def\RSpartstxt{Parti~}%
+ \def\RSParttxt{Parte~}%
+ \def\RSPartstxt{Parti~}%
+ \def\RSappendixname{l'appendice~}%
+ \def\RSappendicesname{le appendici~}%
+ \def\RSAppendixname{l'Appendice~}%
+ \def\RSAppendicesname{le Appendici~}%
+ \def\RSchaptername{il capitolo~}%
+ \def\RSchaptersname{i capitoli~}%
+ \def\RSChaptername{il Capitolo~}%
+ \def\RSChaptersname{i Capitoli~}%
+ \def\RSsectxt{la sezione~}%
+ \def\RSsecstxt{le sezioni~}%
+ \def\RSSectxt{la Sezione~}%
+ \def\RSSecstxt{la Sezioni~}%
+ \def\RSeqtxt{l'equazione~}%
+ \def\RSeqstxt{le equazioni~}%
+ \def\RSEqtxt{l'Equazione~}%
+ \def\RSEqstxt{le Equazioni~}%
+ \def\RSfigtxt{la figura~}%
+ \def\RSfigstxt{le figure~}%
+ \def\RSFigtxt{la Figura~}%
+ \def\RSFigstxt{le Figure~}%
+ \def\RStabtxt{la tabella~}%
+ \def\RStabstxt{le tabelle~}%
+ \def\RSTabtxt{la Tabella~}%
+ \def\RSTabstxt{le Tabelle~}%
+ \def\RSfootntxt{la nota~}%
+ \def\RSfootnstxt{le note~}%
+ \def\RSFootntxt{la Nota~}%
+ \def\RSFootnstxt{le Note~}%
+}
+\DeclareLangOpt{italian}{\RSitalian}
+%%-- NORWEGIAN -------------------------------------
+\newcommand\RSnorwegian{%
+ \def\RSrngtxt{\space til~}%
+ \def\RSlsttwotxt{\space og~}%
+ \def\RSlsttxt{\space og~}%
+ \def\RSparttxt{del~}%
+ \def\RSpartstxt{del~}%
+ \def\RSParttxt{Del~}%
+ \def\RSPartstxt{Del~}%
+ \def\RSappendixname{tillegg~}%
+ \def\RSappendicesname{tillegg~}%
+ \def\RSAppendixname{Tillegg~}%
+ \def\RSAppendicesname{Tillegg~}%
+ \def\RSchaptername{kapittel~}%
+ \def\RSchaptersname{kapittel~}%
+ \def\RSChaptername{Kapittel~}%
+ \def\RSChaptersname{Kapittel~}%
+ \def\RSsectxt{avsnitt~}%
+ \def\RSsecstxt{avsnitt~}%
+ \def\RSSectxt{Avsnitt~}%
+ \def\RSSecstxt{Avsnitt~}%
+ \def\RSeqtxt{formel~}%
+ \def\RSeqstxt{formel~}%
+ \def\RSEqtxt{Formel~}%
+ \def\RSEqstxt{Formel~}%
+ \def\RSfigtxt{figur~}%
+ \def\RSfigstxt{figur~}%
+ \def\RSFigtxt{Figur~}%
+ \def\RSFigstxt{Figur~}%
+ \def\RStabtxt{tabell~}%
+ \def\RStabstxt{tabell~}%
+ \def\RSTabtxt{Tabell~}%
+ \def\RSTabstxt{Tabell~}%
+ \def\RSfootntxt{fotnote~}%
+ \def\RSfootnstxt{fotnote~}%
+ \def\RSFootntxt{Fotnote~}%
+ \def\RSFootnstxt{Fotnote~}%
+}
+\DeclareLangOpt{norwegian}{\RSnorwegian}
+\DeclareLangOpt{nynorsk}{\RSnorwegian}
+\DeclareLangOpt{bokmal}{\RSnorwegian}% Not in babel yet
+\DeclareLangOpt{norsk}{\RSnorwegian}
+%%-- PORTUGUESE -----------------------------------
+\newcommand\RSportuguese{%
+ \def\RSrngtxt{\space a~}%
+ \def\RSlsttwotxt{\space e~}%
+ \def\RSlsttxt{\space e~}%
+ \def\RSparttxt{Parte~}%
+ \def\RSpartstxt{Partes~}%
+ \def\RSParttxt{Parte~}%
+ \def\RSPartstxt{Partes~}%
+ \def\RSappendixname{ap\^{e}ndice~}%
+ \def\RSappendicesname{ap\^{e}ndices~}%
+ \def\RSAppendixname{Ap\^{e}ndice~}%
+ \def\RSAppendicesname{Ap\^{e}ndices~}%
+ \def\RSchaptername{cap\'{i}tulo~}%
+ \def\RSchaptersname{cap\'{i}tulos~}%
+ \def\RSChaptername{Cap\'{i}tulo~}%
+ \def\RSChaptersname{Cap\'{i}tulos~}%
+ \def\RSsectxt{se\c{c}\~{a}o~}%
+ \def\RSsecstxt{se\c{c}\~{o}es~}%
+ \def\RSSectxt{Se\c{c}\~{a}o~}%
+ \def\RSSecstxt{Se\c{c}\~{o}es~}%
+ \def\RSeqtxt{equa\c{c}\~{a}o~}%
+ \def\RSeqstxt{equa\c{c}\~{o}es~}%
+ \def\RSEqtxt{Equa\c{c}\~{a}o~}%
+ \def\RSEqstxt{Equa\c{c}\~{o}es~}%
+ \def\RSfigtxt{figura~}%
+ \def\RSfigstxt{figuras~}%
+ \def\RSFigtxt{Figura~}%
+ \def\RSFigstxt{Figuras~}%
+ \def\RStabtxt{tabela~}%
+ \def\RStabstxt{tabelas~}%
+ \def\RSTabtxt{Tabela~}%
+ \def\RSTabstxt{Tabelas~}%
+ \def\RSfootntxt{nota de rodap\'{e}~}%
+ \def\RSfootnstxt{notas de rodap\'{e}~}%
+ \def\RSFootntxt{Nota de rodap\'{e}~}%
+ \def\RSFootnstxt{Notas de rodap\'{e}~}%
+}
+\newcommand\RSbrazilian{%
+ \def\RSrngtxt{\space a~}%
+ \def\RSlsttwotxt{\space e~}%
+ \def\RSlsttxt{\space e~}%
+ \def\RSparttxt{Parte~}%
+ \def\RSpartstxt{Partes~}%
+ \def\RSParttxt{Parte~}%
+ \def\RSPartstxt{Partes~}%
+ \def\RSappendixname{ap\^{e}ndice~}%
+ \def\RSappendicesname{ap\^{e}ndices~}%
+ \def\RSAppendixname{Ap\^{e}ndice~}%
+ \def\RSAppendicesname{Ap\^{e}ndices~}%
+ \def\RSchaptername{cap\'{i}tulo~}%
+ \def\RSchaptersname{cap\'{i}tulos~}%
+ \def\RSChaptername{Cap\'{i}tulo~}%
+ \def\RSChaptersname{Cap\'{i}tulos~}%
+ \def\RSsectxt{sec\c{c}\~{a}o~}%<---------------
+ \def\RSsecstxt{sec\c{c}\~{o}es~}%<-------------
+ \def\RSSectxt{Sec\c{c}\~{a}o~}%<---------------
+ \def\RSSecstxt{Sec\c{c}\~{o}es~}%<-------------
+ \def\RSeqtxt{equa\c{c}\~{a}o~}%
+ \def\RSeqstxt{equa\c{c}\~{o}es~}%
+ \def\RSEqtxt{Equa\c{c}\~{a}o~}%
+ \def\RSEqstxt{Equa\c{c}\~{o}es~}%
+ \def\RSfigtxt{figura~}%
+ \def\RSfigstxt{figuras~}%
+ \def\RSFigtxt{Figura~}%
+ \def\RSFigstxt{Figuras~}%
+ \def\RStabtxt{tabela~}%
+ \def\RStabstxt{tabelas~}%
+ \def\RSTabtxt{Tabela~}%
+ \def\RSTabstxt{Tabelas~}%
+ \def\RSfootntxt{nota de rodap\'{e}~}%
+ \def\RSfootnstxt{notas de rodap\'{e}~}%
+ \def\RSFootntxt{Nota de rodap\'{e}~}%
+ \def\RSFootnstxt{Notas de rodap\'{e}~}%
+}
+\DeclareLangOpt{portuges}{\RSportuguese}
+\DeclareLangOpt{portuguese}{\RSportuguese}
+\DeclareLangOpt{brazilian}{\RSbrazilian}
+\DeclareLangOpt{brazil}{\RSbrazilian}
+%%-- SWEDISH ------------------------------------
+\newcommand\RSswedish{%
+ \def\RSrngtxt{\space till~}%
+ \def\RSlsttwotxt{\space och~}%
+ \def\RSlsttxt{\space och~}%
+ \def\RSparttxt{del~}%
+ \def\RSpartstxt{del~}%
+ \def\RSParttxt{Del~}%
+ \def\RSPartstxt{Del~}%
+ \def\RSappendixname{appendix~}%
+ \def\RSappendicesname{appendix~}%
+ \def\RSAppendixname{Appendix~}%
+ \def\RSAppendicesname{Appendix~}%
+ \def\RSchaptername{kapitel~}%
+ \def\RSchaptersname{kapitel~}%
+ \def\RSChaptername{Kapitel~}%
+ \def\RSChaptersname{Kapitel~}%
+ \def\RSsectxt{sektion~}%
+ \def\RSsecstxt{sektion~}%
+ \def\RSSectxt{Sektion~}%
+ \def\RSSecstxt{Sektion~}%
+ \def\RSeqtxt{ekvation~}%
+ \def\RSeqstxt{ekvation~}%
+ \def\RSEqtxt{Ekvation~}%
+ \def\RSEqstxt{Ekvation~}%
+ \def\RSfigtxt{figur~}%
+ \def\RSfigstxt{figur~}%
+ \def\RSFigtxt{Figur~}%
+ \def\RSFigstxt{Figur~}%
+ \def\RStabtxt{tabell~}%
+ \def\RStabstxt{tabell~}%
+ \def\RSTabtxt{Tabell~}%
+ \def\RSTabstxt{Tabell~}%
+ \def\RSfootntxt{fotnot~}%
+ \def\RSfootnstxt{fotnot~}%
+ \def\RSFootntxt{Fotnot~}%
+ \def\RSFootnstxt{Fotnot~}%
+}
+\DeclareLangOpt{swedish}{\RSswedish}
+%%-- TEMPLATE FOR PARTS -------------------------
+ \newref{part}{%
+ name = \RSparttxt,
+ names = \RSpartstxt,
+ Name = \RSPparttxt,
+ Names = \RSPartstxt,
+ rngtxt = \RSrngtxt,
+ lsttxt = \RSlsttxt}
+%%-- TEMPLATE FOR CHAPTERS & APPENDIXES ---------
+\providecommand*{\p@chapter}{}
+\AtBeginDocument{%
+ \RS@ifundefined{chapter}{}{%
+ \RS@ifundefined{@chapapp}%
+ {\renewcommand*{\p@chapter}{\string\chpname{\chaptername}}}%AMS
+ {\renewcommand*{\p@chapter}{\string\chpname{\@chapapp}}}% Normal
+ }%
+ }
+\newcommand*{\chpname}[1]{}
+\newcommand*{\RS@chpname}[1]{%
+ \ifRSnameon
+ \edef\RS@tmpa{#1}%
+ \edef\RS@tmpb{\appendixname}%
+ \ifx\RS@tmpa\RS@tmpb\relax%
+ \ifRSplural
+ \ifRScapname \RSAppendicesname \else \RSappendicesname \fi
+ \else
+ \ifRScapname \RSAppendixname \else \RSappendixname \fi
+ \fi
+ \else
+ \ifRSplural
+ \ifRScapname \RSChaptersname \else \RSchaptersname \fi
+ \else
+ \ifRScapname \RSChaptername \else \RSchaptername \fi
+ \fi
+ \fi
+ \fi}
+ \newref{chap}{%
+ refcmd = {{\let\chpname=\RS@chpname\ref{#1}}},
+ rngtxt = \RSrngtxt,
+ lsttwotxt = \RSlsttwotxt,
+ lsttxt = \RSlsttxt}
+%%-- TEMPLATE FOR SECTIONS ----------------------
+ \newref{sec}{%
+ name = \RSsectxt,
+ names = \RSsecstxt,
+ Name = \RSSectxt,
+ Names = \RSSecstxt,
+ refcmd = {\S\ref{#1}},
+ rngtxt = \RSrngtxt,
+ lsttwotxt = \RSlsttwotxt,
+ lsttxt = \RSlsttxt}
+%%-- TEMPLATE FOR EQUATIONS ---------------------
+\newcommand*{\RSeqrefform}[1]{\textup{(\ref{#1})}}
+\@ifpackageloaded{amsmath}%
+ {\let\AMSeqref\eqref
+ \let\eqref\relax}%
+ {}
+\newref{eq}{%
+ name = \RSeqtxt,
+ names = \RSeqstxt,
+ Name = \RSEqtxt,
+ Names = \RSEqstxt,
+ refcmd = \RSeqrefform{#1},
+ rngtxt = \RSrngtxt,
+ lsttwotxt = \RSlsttwotxt,
+ lsttxt = \RSlsttxt}
+\let\RSeqref\eqref
+\let\eqref\relax
+\AtBeginDocument{%
+ \@ifpackageloaded{amsmath}%
+ {\RS@ifundefined{AMSeqref}{\let\AMSeqref\eqref}{}%
+ \let\RSeqrefform\AMSeqref}%
+ {}%
+ \let\eqref=\RSeqref
+ }
+%%-- TEMPLATE FOR FIGURES -----------------------
+ \newref{fig}{%
+ name = \RSfigtxt,
+ names = \RSfigstxt,
+ Name = \RSFigtxt,
+ Names = \RSFigstxt,
+ rngtxt = \RSrngtxt,
+ lsttwotxt = \RSlsttwotxt,
+ lsttxt = \RSlsttxt}
+%%-- TEMPLATE FOR TABLES ------------------------
+ \newref{tab}{%
+ name = \RStabtxt,
+ names = \RStabstxt,
+ Name = \RSTabtxt,
+ Names = \RSTabstxt,
+ rngtxt = \RSrngtxt,
+ lsttwotxt = \RSlsttwotxt,
+ lsttxt = \RSlsttxt}
+%%-- TEMPLATE FOR FOOTNOTES ---------------------
+ \newcommand{\RSfnmark}[1]{%
+ \begingroup
+ \unrestored@protected@xdef\@thefnmark{\ref{#1}}%
+ \endgroup
+ \@footnotemark}
+ \newref{fn}{%
+ name = \RSfootntxt,
+ names = \RSfootnstxt,
+ Name = \RSFootntxt,
+ Names = \RSFootnstxt,
+ refcmd = {\ifRSstar\RSfnmark{#1}\else(\ref{#1})\fi},
+ rngtxt = \RSrngtxt,
+ lsttwotxt = \RSlsttwotxt,
+ lsttxt = \RSlsttxt}
+\endinput
+%%
+%% End of file `refstyle.cfg'.