-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblad.cls
70 lines (49 loc) · 1.39 KB
/
blad.cls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
% Filename: blad.cls
% Author: Arno Lepisk
% Version: 1
% This Is a LaTeX2e document class.
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{blad}[2003/01/24 Sangbladsklass]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions
\LoadClass[a4paper]{article}
\RequirePackage[swedish]{babel}
\RequirePackage[utf8]{inputenc}
\RequirePackage{latexsym}
\RequirePackage{calc}
\RequirePackage{xspace}
\RequirePackage{ifthen}
\RequirePackage{verbatim}
\setlength{\hoffset}{-1in}
\setlength{\topmargin}{5mm}
\setlength{\headsep}{0in}
\setlength{\headheight}{0in}
\setlength{\oddsidemargin}{6mm}
\setlength{\evensidemargin}{6mm}
\setlength{\voffset}{-1in}
\setlength{\lineskip}{0pt}
\setlength{\parindent}{0pt}
\setlength{\marginparwidth}{0pt}
\setlength{\marginparsep}{0pt}
\setlength{\paperwidth}{.5\paperwidth}
\setlength{\textwidth}{.96\paperwidth}
\setlength{\textheight}{.95\paperheight}
\newenvironment{sang}[1]{\startasang{#1}}{\slutasang}
\newcommand{\startasang}[1]{%
%\makebox{%
\nopagebreak%
\subsection*{#1}%
\begin{verse}%
%\begin{verbatim}%
}
\newcommand{\slutasang}{%
%\end{verbatim}%
\end{verse}%
\nopagebreak%
}
\newcommand{\fkm}{\mbox{{\raisebox{-0.2ex}
{\rotatebox{22}{\bf{f}}}\hspace{-0.16em}\raisebox{0.2ex}
{\rotatebox{-15}{\bf{k}}}\hspace{-0.17em}\bf{m}\hspace{-0.15em}\raisebox{0.6ex}
{\scalebox{0.6}{\bf{*}}}}}\xspace}
\pagenumbering{none}
\pagestyle{empty}