summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hletter/hhead.sty
blob: 8a53cb9a59a1e9148d58a4a4e7a0de0fe834b7a9 (plain)
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
%%
%% This is file `hhead.sty' which is part of the hletter package
%%
%% Copyright (C) 2011 Brian Housley
%%
%% It may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.2
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%    http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% Problems, bugs and comments to
%% brian.housley@gcs.ch
%%

% hhead style -- Released 02nd. July, 2009
%     produces a head on the current page using the \head{ln} command:
%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]

\ProvidesPackage{hhead}[2009/07/02 v2.4 Brian heading class]

\typeout{hhead style V2.4 <02/07/2009> hsy}

\newif\ifhlet  \hletfalse
\newcommand*{\sign}[2][]{}
\newcommand*{\address}[1]{}

\newcount\hl@bar
\def\barlength#1{\dimen255=#1 \hl@bar=\dimen255%
     \global\divide\hl@bar by\unitlength
     \global\divide\hl@bar by2}

\input hsetup.sty

\barlength{180mm}

%
\if@twocolumn
\newcommand{\heading}[1][\@empty]{\twocolumn[\dohead{#1}{\@empty}{\@empty}{\@empty}\setcounter{page}{1}]}\else
\newcommand{\heading}[1][\@empty]{\dohead{#1}{\@empty}{\@empty}{\@empty}\setcounter{page}{1}}\fi

\endinput
%
%  end of file HHEAD.STY