Wiki source for LatexCommands
=====Erstellen und Modifizieren von Kommandos in LaTeX=====
LaTeX erlaubt es eigene Kommandos zu definieren und die vorhandenen Kommandos zu ersetzen.
Neues Kommando \kl ohne Parameter
%%(latex)
\newcommand{\kl}{{ \colorbox{yellow}{\large \textcolor{green}{ZUM KORREKTURLESEN}}}\\ }
%%
Neues Kommando \ia ohne Parameter
%%(latex)
\newcommand{\ia}{{ \colorbox{yellow}{\large \textcolor{red}{IN ARBEIT}}}\\ }
%%
Das Kommando \textbf{ ... } soll anstelle des Fettgedruckten einen gelben Hintergrund liefern
%%(latex)
\renewcommand{\textbf}[1]{\colorbox{yellow}{#1}}
%%
Environment wird immer mit \begin{EnvironmentName} eingeleitet und \end{EnvironmentName} beendet.
%%(latex)
\newenvironment{myquote}%
{\begin{quote}\small}%
{\end{quote}}%
\SetBlockEnvironment{myquote}
%%
%%(latex)
% My commands
\newcommand{\kl}[1]{\colorbox{yellow}{#1}} % activate higlighting
\newcommand{\ia}[1]{\colorbox{red}{#1}}
%\newcommand{\kl}[1]{#1} % deactivate higlighting
%\newcommand{\ia}[1]{#1}
%%
----
Siehe auch {{backlinks}}
LaTeX erlaubt es eigene Kommandos zu definieren und die vorhandenen Kommandos zu ersetzen.
Neues Kommando \kl ohne Parameter
%%(latex)
\newcommand{\kl}{{ \colorbox{yellow}{\large \textcolor{green}{ZUM KORREKTURLESEN}}}\\ }
%%
Neues Kommando \ia ohne Parameter
%%(latex)
\newcommand{\ia}{{ \colorbox{yellow}{\large \textcolor{red}{IN ARBEIT}}}\\ }
%%
Das Kommando \textbf{ ... } soll anstelle des Fettgedruckten einen gelben Hintergrund liefern
%%(latex)
\renewcommand{\textbf}[1]{\colorbox{yellow}{#1}}
%%
Environment wird immer mit \begin{EnvironmentName} eingeleitet und \end{EnvironmentName} beendet.
%%(latex)
\newenvironment{myquote}%
{\begin{quote}\small}%
{\end{quote}}%
\SetBlockEnvironment{myquote}
%%
%%(latex)
% My commands
\newcommand{\kl}[1]{\colorbox{yellow}{#1}} % activate higlighting
\newcommand{\ia}[1]{\colorbox{red}{#1}}
%\newcommand{\kl}[1]{#1} % deactivate higlighting
%\newcommand{\ia}[1]{#1}
%%
----
Siehe auch {{backlinks}}