%% LyX 1.4.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[twocolumn,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{geometry}
\geometry{verbose,a4paper,tmargin=26mm,bmargin=26mm,lmargin=2cm,rmargin=2cm}
\pagestyle{plain}
\usepackage{calc}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{amssymb}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\newenvironment{lyxcode}
{\begin{list}{}{
\setlength{\rightmargin}{\leftmargin}
\setlength{\listparindent}{0pt}% needed for AMS classes
\raggedright
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
\normalfont\ttfamily}%
 \item[]}
{\end{list}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\DeclareMathOperator*{\diag}{diag}
\setlength{\columnsep}{1cm}
\renewcommand{\maketitle}{
\twocolumn[%
  \noindent {\LARGE \bf \@title}

  \bigskip
  \noindent {\large \@author} 
  \bigskip
  \medskip
  ]

}
%\renewcommand{\title}{}
%\renewcommand{\author}{}

\usepackage{babel}
\makeatother
\begin{document}

\title{Title}


\author{\noindent Name \footnote{name@xx.yy.zz}\\
        \textit{Institute ...}}

\maketitle
\begin{abstract}
Text of abstract. 
\end{abstract}
\textbf{~}\\
\textbf{Keywords}: keyword1, keyword2, ...


\section{First Section}

\setcounter{page}{69}

Text text text ...  can be found in \cite{Matlab-Sparse}. 

text text See \cite{bb}  text text text text text text text . Figure \ref{fig:Lame} provides example
of ..., let us note that with colors it looks much better.

%
\begin{figure}[th]
\begin{centering}
%\includegraphics[width=0.9\columnwidth]{lame1}
\end{centering}

\caption{Discretization\label{fig:Lame}}
\end{figure}

As an example of a Matlab code, see an implementation of the conjugate
gradient method in figure \ref{fig:CG} (from \cite{Matlab-Sparse}).

%
\begin{figure}[tbph]
\begin{lyxcode}
function~x~=~cgsolve~(A,b,tol)

~~x~=~zeros(size(b));~r~=~b;~rtr~=~r'{*}r;

~~p~=~zeros(size(b));~beta~=~0;

~~while~(~norm(r)~>~tol~{*}~norm(b)~)

~~~~p~=~r~+~beta~{*}~p;~Ap~=~A~{*}~p;

~~~~alpha~=~rtr~/~(~p'~{*}~Ap~);

~~~~x~=~x~+~alpha~{*}~p;~r~=~r~-~alpha~{*}~Ap;

~~~~rtrold~=~rtr;~rtr~=~r'{*}r;

~~~~beta~=~rtr~/~rtrold;

~~end
\end{lyxcode}

\caption{Conjugate Gradient method Matlab code\label{fig:CG}}
\end{figure}


Some disadvantages ... also in its price. 


\section{Second section}

Text text text ... 

\begin{itemize}
\item item,
\item item,
\item item.
\end{itemize}
An example of the ...  is in figure \ref{fig:Scilab-graphics}.

%
\begin{figure}[tbph]
\begin{centering}
%\includegraphics[width=0.7\columnwidth,angle=-90]{scilab-plot}
\par\end{centering}

\caption{Scilab graphics\label{fig:Scilab-graphics}}
\end{figure}


\section{Summary}

Text of the last section text text text ...


\section*{Acknowledgements}

I would like to thank for the support from the grant ... . Also many thanks
to all colleagues from the ... for a friendly creative
atmosphere, especially to my supervisor ... .

\begin{thebibliography}{10}
\bibitem{Matlab-Sparse}R. Gilbert, C. Moler, and R. Schreiber. Sparse
matrices in MATLAB: Design and implementation. SIAM J. Matrix Anal.
Appl., 13(1):333--356, 1992.

\bibitem{Scilab}Scilab home page: http://www.scilab.org/
\end{thebibliography}

\end{document}
