\documentclass{article}
\usepackage[affil-it]{authblk}
\usepackage{graphicx}
\usepackage[space]{grffile}
\usepackage{latexsym}
\usepackage{textcomp}
\usepackage{longtable}
\usepackage{tabulary}
\usepackage{booktabs,array,multirow}
\usepackage{amsfonts,amsmath,amssymb}
\providecommand\citet{\cite}
\providecommand\citep{\cite}
\providecommand\citealt{\cite}
\usepackage{url}
\usepackage{hyperref}
\hypersetup{colorlinks=false,pdfborder={0 0 0}}
\usepackage{etoolbox}
\makeatletter
\patchcmd\@combinedblfloats{\box\@outputbox}{\unvbox\@outputbox}{}{%
  \errmessage{\noexpand\@combinedblfloats could not be patched}%
}%
\makeatother
% You can conditionalize code for latexml or normal latex using this.
\newif\iflatexml\latexmlfalse
\AtBeginDocument{\DeclareGraphicsExtensions{.pdf,.PDF,.eps,.EPS,.png,.PNG,.tif,.TIF,.jpg,.JPG,.jpeg,.JPEG}}

\usepackage[utf8]{inputenc}
\usepackage[ngerman,english]{babel}




\begin{document}

\title{Welcome to Authorea!}


\author{ryu}
\affil{Affiliation not available}



\date{\today}

\maketitle




Hey, welcome. Double click anywhere on the text to start writing. In addition to simple text you can also add text formatted in \textbf{boldface}, \textit{italic}, and yes, math too: $E  =  mc^{2}$! Add images by drag'n'drop or click on the "Insert Figure" button.

This is test:
\begin{eqnarray}
\int d^d x\, \mathcal{L}
&=
\int d^dx\, \bar{\psi}  \gamma_{\mu} \partial^{\mu} \psi
\nonumber \\
&=
\alpha \beta \gamma \delta 
\end{eqnarray}

\begin{align}
Z_{AB} = \langle A| q^{ -\beta H^{closed} } |B\rangle 
\end{align}\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=0.70\columnwidth]{figures/entropy/entropy}
\caption{{Replace this text with your caption%
}}
\end{center}
\end{figure}\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=0.70\columnwidth]{figures/phase-diagram/phase-diagram}
\caption{{Replace this text with your caption%
}}
\end{center}
\end{figure}\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=0.70\columnwidth]{figures/phase-diag-v2/phase-diag-v2}
\caption{{Replace this text with your caption%
}}
\end{center}
\end{figure}\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=0.70\columnwidth]{figures/Crosscap/Crosscap}
\caption{{Replace this text with your caption%
}}
\end{center}
\end{figure}\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=0.70\columnwidth]{figures/Auto/Auto}
\caption{{Replace this text with your caption%
}}
\end{center}
\end{figure}

Citing other papers is easy. Voil\selectlanguage{ngerman}à: \cite{2012} or \cite{Holstein_2009}. Click on the \verb|cite| button in the toolbar to search articles and cite them. Authorea also comes with a powerful commenting system. Don't agree that $E  =  mc^{3}$?!? Highlight the text you want to discuss or click the comment button. Find out more about using Authorea on \href{https://www.authorea.com/help}{our help page}.

\selectlanguage{english}
\FloatBarrier
\bibliographystyle{plain}
\bibliography{bibliography/converted_to_latex.bib%
}

\end{document}

