% LaTeX spezigfisch
\def\ctr{\centering }

%Textmakros (Deutsch)
\def\bzw{bzw\. }

%Textmakros (Englisch)
\def\eg{e.\,g.\@\xspace}
\def\ie{i.\,e.\@\xspace}
\def\cf{c.\,f.\@\xspace}

%\renewcommand\lq{\lq\xspace}
%\renwecommand\rq{\rq\xspace}

% TABELLEN
\def\midruleI{\midrule[\heavyrulewidth]}

% Allgemein
\def\etal{et.~al.\xspace}
\newcommand{\superscript}[1]{\ensuremath{^\textrm{#1}}}
\newcommand{\subscript}[1]{\ensuremath{_\textrm{#1}}}
\def\verweis{$\uparrow$}

% Track changes in a document
\definecolor{addColor}{rgb}{0, .5, .0}
\definecolor{delColor}{rgb}{.6, .0, .0}
\newcommand{\add}[1]{\cbstart{}\textcolor{addColor}{\uline{#1}}\cbend{}\xspace}  
\newcommand{\del}[1]{\cbdelete{}\textcolor{delColor}{\sout{#1}}\xspace}  
% Cannot be used in captions so far /!\
%\newcommand{\add}[1]{#1\xspace}  \newcommand{\del}[1]{#1\xspace}  
\newcommand{\rep}[2]{\del{#1}\add{#2}}  
\newcommand{\done}{\ding{52}\xspace}


% INDENTATION
\def\max{\subscript{max}}
\def\Pmax{$P$\hspace{-.3em}\subscript{max}}
\def\hmax{$h$\subscript{max}}
\def\projA{\ensuremath{A\hspace{-0.2em}_{\perp}}\xspace}

% Figure and Table references
% see also the autoref command from hyperref package
\def\Chapref#1{Chapter~\ref{ch:#1}}
\def\chapref#1{chapter~\ref{ch:#1}}
\def\figref#1{figure~\ref{fig:#1}}
\def\tabref#1{table~\ref{tab:#1}}
\def\Figref#1{Figure~\ref{fig:#1}}
\def\Tabref#1{Table~\ref{tab:#1}}

%\newcommand{\deg}{\ensuremath{^{\circ}}}

% Mathe                  
% \upright 
\newcommand{\bsym}[1]{\ensuremath{\boldsymbol{#1}}} % \boldsymbol,\mathbb (blackbord bold), mathsf
%\def\tens{\boldsymbol}
\newcommand{\bsymIV}[1]{\ensuremath{\boldsymbol{\mathbb{#1}}}}
%\newcommand{\bsymIV}[1]{\boldsymbol{\mathcal{#1}}}
%\newcommand{\bsymIV}[1]{\boldsymbol{\mathscr{#1}}}
\newcommand{\tensII}[1]{\bsym{#1}}   % tensor of rank 2
\newcommand{\tensIV}[1]{\bsymIV{#1}} % tensor of rank 4
\def\kron{\delta}
\def\grad{\text{grad\,}} %gradient
 
% Symbole
\def\paralleldir{\ensuremath{\nearrow\hspace{-.4em}\nearrow}\xspace}
\def\antiparalleldir{\ensuremath{\nearrow\hspace{-.4em}\swarrow}\xspace}

% MECHANIK
\def\sig{\ensuremath{\sigmaup}}
\def\eps{\ensuremath{\varepsilonup}}
\def\strain{\ensuremath{\tensII{\varepsilonup}}}
\def\stress{\ensuremath{\tensII{\sigmaup}}}
\def\hpu{MPa\hspace{-.1em}\ensuremath{\sqrt{\text{m}}}\xspace}%$^{-0.5}$} % Hall-Petch unit for k (slope)


\def\PK2{\ensuremath{\bsym{T}}}

%KRISTALLPLASTIZITAET
\def\burgers{\ensuremath{\bsym{b}}\xspace}
\def\bOD{\ensuremath{\burgers^{\text{O}}}\xspace}
\def\bSU{\ensuremath{\burgers^{\text{S}}}\xspace}
\def\bTW{\ensuremath{\burgers^{\text{T}}}\xspace}

% MaWi
\def\atpct{at.\%\xspace}
\def\gmat{\ensuremath{\tensII{g}}\xspace} % orientation matrix

% Kristallo
\newcommand{\angaxis}[2]{#1-around-#2\xspace}

% Bunge Euler Angles
\def\beaphiI{\ensuremath{\varphi_1}}
\def\beaPhi{\ensuremath{\it{\Phi}}}
\def\beaphiII{\ensuremath{\varphi_2}}
\def\BEAs{\ensuremath{(\beaphiI, \beaPhi, \beaphiII)}\xspace}
% Euler winkel
\def\pI{\ensuremath{\beaphiI}}
\def\pII{\ensuremath{\beaphiII}}

%\def\fcc{f.c.c.\xspace}
%\def\bcc{b.c.c.\xspace}
%\def\hcp{h.c.p.\xspace}
\def\fcc{fcc\xspace}
\def\bcc{bcc\xspace}
\def\hcp{hcp\xspace}
%\def\fcc{FCC\xspace}
%\def\bcc{BCC\xspace}
%\def\hcp{HCP\xspace}

% Mikrometer, microns
\def\mum{\ensuremath{\muup}m\xspace}


% TiAl 
%\def\gam{\ensuremath{\upgamma}}
\def\gam{\texorpdfstring{\ensuremath{\gammaup}}{gamma}\xspace} % requires txfonts package
\def\cgamma{\ensuremath{c_{\gam}}}
\def\agamma{\ensuremath{a_{\gam}}}

\def\gTiAl{\texorpdfstring{\mbox{\gam-TiAl}}{gamma-TiAl}\xspace}
\def\gammaTiAl{\gTiAl}
\def\caratio{$c\hspace{-1.pt}/\hspace{-1.5pt}a$\;ratio\xspace}
%alpha_2-Ti_3Al
\def\alptwo{\texorpdfstring{\ensuremath{\upalpha_2}}{alpha2}\xspace}
%\def\tiala2{$\alpha_2$-Ti$_3$Al}
%\def\tiala2{$\alpha_2$-Ti$_3$Al}

%\def\a2ti3al{$\alpha_2$-Ti$_3$Al}
%\def\a2Ti3Al{$\alpha_2$-Ti$_3$Al}
%\def\aIIti3al{$\alpha_2$-Ti$_3$Al}
%\providecommand{\aTi3Al}{\mbox{$\alpha$-Ti$_3$Al}}
\def\a2Ti3Al{\alptwo-Ti\texorpdfstring{$_3$}{3}Al\xspace}
%\providecommand{\a2ti3al}{{$\alpha_2$-Ti$_3$Al}}
%Ti_3Al
\def\Ti3Al{\a2Ti3Al}
\def\ti3al{\a2Ti3Al}
%\def\a2{$\alpha_2$}
%\def\taucO{\ensuremath{\tau_{c,O}}\xspace}
%\def\taucS{\ensuremath{\tau_{c,S}}\xspace}
%\def\taucT{\ensuremath{\tau_{c,T}}\xspace}
\def\taucO{\ensuremath{\tau_{c}^{O}}\xspace}
\def\taucS{\ensuremath{\tau_{c}^{S}}\xspace}
\def\taucT{\ensuremath{\tau_{c}^{T}}\xspace}

\def\LamAng{\ensuremath{\varPhi_{\text{L}}}\xspace}
\def\MatrixI{M1\xspace}
\def\MatrixII{M2\xspace}
\def\MatrixIII{M3\xspace}
\def\TwinI{T1\xspace}
\def\TwinII{T2\xspace}
\def\TwinIII{T3\xspace}


%% Strukturbericht % http://cst-www.nrl.navy.mil/lattice/
\def\L10{L1$_0$\xspace}
\def\D019{D0$_{19}$\xspace} % 0 (zero) not O

\newcommand\half{\ensuremath{\nicefrac{1}{2}}}
\newcommand\sixth{\ensuremath{\nicefrac{1}{6}}}
\newcommand\nr{no.\,}



