Svensk stilmall
Från Täpp-Anders
Hoppa till navigeringHoppa till sök
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ichiswedish.sty version 1.2 date 09-JUL-2000 %
% %
% This style is to typeset Swedish documents in LaTeX. It is designed %
% with and works well in the MikTeX environment, however it should not %
% be difficult to get it working well in other environments either. %
% %
% Any suggestions you might have on this are welcome, plese send them %
% to the following email address <ichiswedish.sty@ichimusai.org> and I %
% will consider incorporating them to the next release %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Packages that we want to be loaded ALL THE TIME %
% when typesetting swedish text. %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Swedish typography
\usepackage[swedish]{babel}
% Input encodings, make it easier to encode special latin
% characters like å ä ö Å Ä Ö by typing them instead of
% using {\"a} for ä &c.
\usepackage[ansinew]{inputenc}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Settings specially for swedish %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Decimal comma
\mathchardef\CommaOrdinary="013B
\mathchardef\CommaPunct ="613B
\mathcode`,="8000
{\catcode`\,=\active
\gdef ,{\obeyspaces\futurelet\next\CommaCheck}}
\def\CommaCheck{\if\space\next\CommaPunct\else\CommaOrdinary\fi}
% Get rid of the spacing used in english typesetting
\frenchspacing
% Paragraph indentation style
\setlength{\parindent}{1em}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Common abbreviations in Swedish %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{xspace}
\newcommand{\bla}{bl.\hspace{0.1em}a.\xspace}
\newcommand{\ca}{ca\xspace}
\newcommand{\dvs}{dvs.\xspace}
\newcommand{\etc}{etc.\xspace}
\newcommand{\kl}{kl.\xspace}
\newcommand{\mfl}{m.\hspace{0.1em}fl.\xspace}
\newcommand{\mm}{m.\hspace{0.1em}m.\xspace}
\newcommand{\obs}{obs.\xspace}
\newcommand{\osv}{osv.\xspace}
\newcommand{\pga}{p.\hspace{0.1em}g.\hspace{0.1em}a.\xspace}
\newcommand{\sk}{s.\hspace{0.1em}k.\xspace}
\newcommand{\tillex}{t.\hspace{0.1em}ex.\xspace}
% END