You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
2.1 KiB
58 lines
2.1 KiB
\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/.trinity/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
|
|
|