summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctib/ctib.sty
blob: d3fa9b78c878754d3d5749d72c1c8328995a9229 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%        File: ctib.sty
%      Author: Oliver Corff
%        Date: July 1st, 2002
%     Version: \CtibVersionRelease
%   Copyright: Ulaanbaatar, Beijing, Berlin
%
% Description: The ctib style file provides access to all
%		commands necessary for writing Tibetan
%		in LaTeX documents, making use of a modified
%		version of Sirlin's Tibetan fonts.
%
%		Many definitions were actually taken from
%		Sirlin's tibdef.tex (and occasionally modified).
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% -------------------     identification     -------------------
%
\newcommand{\CtibVersionDate}{2002/07/01}
\newcommand{\CtibVersionRelease}{0.6}
%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{ctib}%
	[\CtibVersionDate\ \CtibVersionRelease\ Tibetan for TeX and LaTeX2e]
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% -------------------      initial code      -------------------
%
% We need our local Mongolian encodings (C: Cyrillic, S: Script,
% (T: Traditional or Tibetan style) as standard encodings ...
%
%
\newcommand{\SetDocumentEncodingTibetan}{%
	\renewcommand{\encodingdefault}{LCT}
	\fontencoding{LCT}\selectfont
	}
\newcommand{\tib}{%
	% \store_old_encoding
	\fontencoding{LCT}\selectfont
	}
\newcommand{\bit}{%
	% Restore old encoding but check which one it was
	\fontencoding{T1}\selectfont
	}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ------------------- declaration of options -------------------
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% -------- Loading of various codepage definitions -------------
%
% Nothing really happens here, this time.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% -------------------  execution of options  -------------------
%
% Another void.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% -------------------    package loading     -------------------
%
\RequirePackage[,LCT,T1]{fontenc}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% -------------------       main code        -------------------
%
\input ctib.tex	
%
% Remove ctib definitions not needed in \LaTeX!
%\undef\tsize
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The \packagename\ package ends here.