Special Tags in LATEX

Using the LATEX Tag Library
LATEX has thousands of tags for symbols and special characters. The easiest way to insert these tags is to use the sidebar menu, to the left of the editor window.
The Sidebar Menu
The Sidebar Menu
The Sidebar Menu
The following types are available:
Most Frequently Used
Relation
Operators
Arrows
Miscellaneous Math
Miscellaneous Text
Delimiters
Greek
Special Characters
Cyrillic Characters
User Defined
The tooltips of the icons show the LATEX commands and additionally needed packages.
Pressing and clicking a symbol will result in $\symbolcmd$ being inserted. Similarly, pressing inserts it in curly brackets.
If you insert a command which requires a package which is not included in your LATEX document, you will see a warning message in the logview window.
The first list of symbols holds the Most Frequently Used symbols. Inserted symbols will be added to this list, for quick and easy reference. The ordering of the symbols will not be changed upon addition of new symbols, instead a reference counter is incremented. If the number of items exceeds 30 items, the item with the lowest count is removed.
The User Defined symbol list can hold your own symbols. To create your own symbols you need the program gesymb and the file definitions.tex from the kile source package. Additionally you need a LATEX compiler (what a surprise) and dvipng (version 1.7 or later). The procedure is that you create a LATEX file with \input{definitions}, which makes the commands listed below available, and let gesymb mysymbols.tex user (which calls LATEX and dvipng) create the icons. After copying them to $HOME/.kde/share/apps/kile/mathsymbols/user/ and restarting kile you can use your own symbols.
The following commands are defined in definitions.tex:
\command[\optarg]{\symbol}: Include the symbol \symbol in the symbol list, the optional argument \optarg specifies the command which kile should insert. If it is not given the command in the mandatory argument is used.
\mathcommand[\optarg]{\symbol}: Same as above, except that the command in the mandatory argument is inserted in math mode.
\pkgs[arg]{pkg}: Declare that the command given in this line needs the LATEX package pkg with the optional argument arg. This command has to be in front of the \command command and overrides any package specification by the neededpkgs enviroment.
\begin{neededpkgs}[pkgs-args]{pkgs} ... \end{neededpkgs}: Has the same effect as above, but for all enclosed commands.
An example for completeness is given here:

\documentclass[a4paper,10pt]{article}
\usepackage{amssymb}
\input{definitions}
%
\begin{document}
\pagestyle{empty}
%
\begin{neededpkgs}{amssymb}
\mathcommand{\surd}
\pkgs{amsmath}\mathcommand[\ddddot{}]{\ddddot{a}}
\mathcommand{\angle}
\end{neededpkgs}
\command{\"A}
\mathcommand{\exists}
\mathcommand[\stackrel{}{}]{\stackrel{abc}{=}}

%\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
\end{document}

Using Bibitems
\bibitem is a command used to enter a reference in a thebibliography environment in your document. The syntax for using \bibitem is \bibitem[label]{key}.
The optional [label] is for you to add your own labeling system for the bibliography entry. If no label is set, the entries will be set in numerical order: [1], [2], [3],
The argument {key} is used to reference and link the commands \bibitem and \cite to each other and the information they contain. The command \cite contains the label associated with the intended \bibitem, which is located inside a thebibliography environment, and contains the reference data. Both corresponding \bibitem and \cite must have the same {key}; the easiest way to organize keys is by the author's last name. The secondary braces in the thebibliography environment denote the longest bibliography label you expect to have. So, inserting {foo} means you can have any label shorter or as large as the expression foo. Failure to set this parameter correctly may result in a not so attractive indentation of your bibliography.
The bibliography is a section apart from your main document, and an example of code for the bibliography would look like the following:

\begin{thebibliography}{50}
	\bibitem{Simpson} Homer J. Simpson. \textsl{Mmmmm...donuts}. Evergreen Terrace Printing Co.,
	                  Springfield, SomewhereUSA, 1998
\end{thebibliography}

Then, your main source code would contain the location of the information relating to the \bibitem using \cite. That source code would look similar to this:

My thesis, about the philosophy of The Simpsons\copyright comes from my favorite book \cite{Simpson}.

As it is often difficult to remember the exact citation key once you have many references, Kile provides an easy way to insert a citation. Using LaTeX References Cite a list with all the citation keys pops up. Select the correct reference and a citation will be inserted into your document. To update the list of keys, either save the file, or Edit Refresh Structure, or press F12. With code completion enabled, Kile will show you a list of all the bibitem-labels as soon as you open up a \cite command.
The final result in your document's bibliography would then look like this:
[1] Homer J. Simpson. Mmmmm...donuts. Evergreen Terrace Printing Co., Springfield, SomewhereUSA, 1998.
Kile can also work together with BibTEX editors, such as KBibTEX to make it easier to enter citations. When a BibTEX file is added to the project, Kile will help you complete citation commands, just as described above.