summaryrefslogtreecommitdiff
path: root/language/tibetan/ctib/texinput/ctib.sty
diff options
context:
space:
mode:
Diffstat (limited to 'language/tibetan/ctib/texinput/ctib.sty')
-rw-r--r--language/tibetan/ctib/texinput/ctib.sty71
1 files changed, 71 insertions, 0 deletions
diff --git a/language/tibetan/ctib/texinput/ctib.sty b/language/tibetan/ctib/texinput/ctib.sty
new file mode 100644
index 0000000000..d3fa9b78c8
--- /dev/null
+++ b/language/tibetan/ctib/texinput/ctib.sty
@@ -0,0 +1,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.