summaryrefslogtreecommitdiffstats
path: root/src/kile/symbols/testfile.tex
blob: 59dfe542ad048509405dfb23bdcbab5f1b0a000c (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
\documentclass[a4paper,10pt]{article}
\usepackage[T1]{fontenc}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Author: Thomas Braun
% begin: Fri april 7 2006
% last edit: Sun august 13 2006
% License: GPL2 or later
% 
% desc: testfile for the parser
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\input{definitions}

\begin{document}
\pagestyle{empty}

% - The basic command is \command{\symbolname},  additionaly the command \mathcommand{...} is defined which insert its argument in math mode.
% - Needed packages can be specified using \pkgs[package-opt-argument]{package-name} for a single command or with \begin{neededpkgs}[pkgs-args,]{pkgs,} ... \end{neededpkgs} for all enclosed commands.
% - The \pkgs command has to be in front of the \command command and overrides any pkg specification by the neededpkgs enviroment.
% - The optional argument of \command and \mathcommand can hold a different command for insertion, e.g. useful for stuff like \mathcommand[\stackrel{}{}]{\stackrel{abc}{=}}
%  After writing your custom tex file mysymbols.tex , you have to issue `gesymb mysymbols.tex user` and if everything went well copy the files to "$HOME/.kde/share/apps/kile/mathsymbols/user".
% After restarting kile you should see your icons in the "User defined`` symbol list.
\begin{neededpkgs}{envpkg-blubb}
\command{a}
\pkgs{cmdpkg-blubb}\command{b}
\command{c}
\pkgs[cmdpkg-blubb3-optarg]{cmdpkg-blubb3}\command{d}
\command{dd}
\end{neededpkgs}

\begin{neededpkgs}[envpkg-blubb2-optarg]{envpkg-blubb2}
\command{e}
\pkgs{cmdpkg-blubb2}\command{f}
\command{g}
\pkgs[cmdpkg-blubb5-optarg]{cmdpkg-blubb5}\command{h}
\command{hh}
\end{neededpkgs}

\command{i}
\pkgs{cmdpkg-blubb4}\command{j}
\command{k}
\pkgs[cmdpkg-blubb6-optarg]{cmdpkg-blubb6}\command{l}
\command{m}
\command{n}
\end{document}

% \begin{neededpkgs}[russian,koi8-r,T2C,]{babel,inputenc,fontenc,mathtext}
%   	
%   \end{neededpkgs}
% this would need to include the packages
% \usepackage{mathtext}
% \usepackage[T2C]{fontenc}
% \usepackage[russian]{babel}
% \usepackage[koi8-r]{inputenc}
%  just to explain the format