%------------------------------------------------------------------------------
%$Author: saulius $
%$Date: 2012-08-04 14:59:09 +0300 (Sat, 04 Aug 2012) $ 
%$Revision: 494 $
%$URL: svn+ssh://saulius-grazulis.lt/home/saulius/svn-repositories/seminarai/Bergen-2012/texinputs/commands.tex $
%------------------------------------------------------------------------------

\newcommand{\myhref}[2]{\href{#1}{\Blue{#2}}}
\newcommand{\mywebref}[1]{\myhref{#1}{#1}}
\newcommand{\quoteauthor}[1]{\rightline{\em #1}}
\newcommand{\websource}[2]{
    {\scriptsize
    \setlength{\baselineskip}{1ex}
    \rightline{\myhref{#1}{#1}}
    \rightline{#2}}
}
\newcommand{\papersource}[1]{
    {\scriptsize
    \setlength{\baselineskip}{3ex}
    \rightline{#1}}
}

\newcommand{\showfile}[2][showspaces=false]{
    \filename{#2}:
    \lstinputlisting[frame=trBL,#1]{#2}
}

\newcommand{\dbcolumn}[1]{\Green{\texttt{#1}}}
