%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This is just an example/guide for you to refer to when producing your supplementary material for your Frontiers article.                                 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%% Version 2.5 Generated 2018/06/15 %%%
%%% You will need to have the following packages installed: datetime, fmtcount, etoolbox, fcprefix, which are normally inlcuded in WinEdt. %%%
%%% In http://www.ctan.org/ you can find the packages and how to install them, if necessary. %%%
%%%  NB logo1.jpg is required in the path in order to correctly compile front page header %%%

\documentclass[utf8]{frontiers_suppmat} % for all articles
\usepackage{url,hyperref,lineno,microtype}
\usepackage[onehalfspacing]{setspace}


\usepackage{xspace}
\usepackage{longtable}
\usepackage{boldline}
\usepackage{geometry}
\usepackage{makecell}
\usepackage{caption}
\usepackage{float}
\usepackage{placeins}
\usepackage{hyperref}
\usepackage{xr}
\externaldocument{frontiers}

%
%\makeatletter
%\newcommand*{\addFileDependency}[1]{% argument=file name and extension
%\typeout{(#1)}% latexmk will find this if $recorder=0
%% however, in that case, it will ignore #1 if it is a .aux or 
%% .pdf file etc and it exists! If it doesn't exist, it will appear 
%% in the list of dependents regardless)
%%
%% Write the following if you want it to appear in \listfiles 
%% --- although not really necessary and latexmk doesn't use this
%%
%\@addtofilelist{#1}
%%
%% latexmk will find this message if #1 doesn't exist (yet)
%\IfFileExists{#1}{}{\typeout{No file #1.{{DBC}}
%}\makeatother
%
%\newcommand*{\myexternaldocument}[1]{%
%\externaldocument{#1}%
%\addFileDependency{#1.tex}%
%\addFileDependency{#1.aux}%
%}
%\myexternaldocument{frontiers}
% Leave a blank line between paragraphs instead of using \\
\newcommand{\Kv}{\(\textrm{K}_{\textrm{V}}\textrm{1.1}\)\xspace}
\newcommand{\IKv}{\(\textrm{I}_{\textrm{K}_{\textrm{V}}\textrm{1.1}}\)\xspace}
\newcommand{\drheo}{\(\Delta\)rheobase\xspace}
\newcommand{\ndAUC}{normalized \(\Delta\)AUC\xspace}

\begin{document}
\onecolumn
\firstpage{1}

\title {{\helveticaitalic{Supplementary Material}}}


\maketitle


%\section{Supplementary Data}
%
%Supplementary Material should be uploaded separately on submission. Please include any supplementary data, figures and/or tables. All supplementary files are deposited to FigShare for permanent storage and receive a DOI.
%
%Supplementary material is not typeset so please ensure that all information is clearly presented, the appropriate caption is included in the file and not in the manuscript, and that the style conforms to the rest of the article. To avoid discrepancies between the published article and the supplementary material, please do not add the title, author list, affiliations or correspondence in the supplementary files.
%
%\section{Supplementary Tables and Figures}
%
%For more information on Supplementary Material and for details on the different file types accepted, please see \href{https://www.frontiersin.org/about/author-guidelines#supplementary-material}{the Supplementary Material section} of the Author Guidelines.
%
%Figures, tables, and images will be published under a Creative Commons CC-BY licence and permission must be obtained for use of copyrighted material from other sources (including re-published/adapted/modified/partial figures and images from the internet). It is the responsibility of the authors to acquire the licenses, to follow any citation instructions requested by third-party rights holders, and cover any supplementary charges.

%% Figures, tables, and images will be published under a Creative Commons CC-BY licence and permission must be obtained for use of copyrighted material from other sources (including re-published/adapted/modified/partial figures and images from the internet). It is the responsibility of the authors to acquire the licenses, to follow any citation instructions requested by third-party rights holders, and cover any supplementary charges.

\subsection{Figures}

%%% There is no need for adding the file termination, as long as you indicate where the file is saved. In the examples below the files (logo1.eps and logos.eps) are in the Frontiers LaTeX folder
%%% If using *.tif files convert them to .jpg or .png
%%%  NB logo1.eps is required in the path in order to correctly compile front page header %%%
\vspace{-2cm}
\begin{figure}[htbp]%described
        \centering
        \includegraphics[width=\linewidth]{Figures/ramp_firing.pdf}
        \linespread{1.}\selectfont
	\vspace{-2cm}
       
%        \caption[]{Diversity in Neuronal Model Firing Responses to a Current Ramp. Spike trains for Cb stellate  \textbf{(A)}, RS inhibitory  \textbf{(B)}, FS  \textbf{(C)}, RS pyramidal  \textbf{(D)}, RS inhibitory +\Kv  \textbf{(E)}, Cb stellate +\Kv \textbf{(F)}, FS +\Kv  \textbf{(G)}, RS pyramidal +\Kv  \textbf{(H)}, STN +\Kv  \textbf{(I)}, Cb stellate \(\Delta\)\Kv  \textbf{(J)}, STN \(\Delta\)\Kv  \textbf{(K)}, and STN  \textbf{(L)} neuron models in response to a slow ascending current ramp followed by the descending version of the current ramp (bottom).  Models are ordered based on the qualitative fI curve sorting in \Cref{fig:diversity_in_firing}. The current at which firing begins in response to an ascending current ramp and the current at which firing ceases in response to a descending current ramp are depicted on the frequency current (fI) curves in \Cref{fig:diversity_in_firing} for each model.}
        \label{ramp_firing}
\end{figure}
\FloatBarrier
\captionof{figure}{Diversity in Neuronal Model Firing Responses to a Current Ramp. Spike trains for Cb stellate  \textbf{(A)}, RS inhibitory  \textbf{(B)}, FS  \textbf{(C)}, RS pyramidal  \textbf{(D)}, RS inhibitory +\Kv  \textbf{(E)}, Cb stellate +\Kv \textbf{(F)}, FS +\Kv  \textbf{(G)}, RS pyramidal +\Kv  \textbf{(H)}, STN +\Kv  \textbf{(I)}, Cb stellate \(\Delta\)\Kv  \textbf{(J)}, STN \(\Delta\)\Kv  \textbf{(K)}, and STN  \textbf{(L)} neuron models in response to a slow ascending current ramp followed by the descending version of the current ramp (bottom).  Models are ordered based on the qualitative fI curve sorting in Figure \ref{fig:diversity_in_firing}. The current at which firing begins in response to an ascending current ramp and the current at which firing ceases in response to a descending current ramp are depicted on the frequency current (fI) curves in Figure \ref{fig:diversity_in_firing} for each model.}
%\begin{figure}[htbp]
%\begin{center}
%\includegraphics[width=9cm]{logo1}% This is a *.eps file
%\end{center}
%\caption{ Enter the caption for your figure here.  Repeat as  necessary for each of your figures}\label{fig:1}
%\end{figure}
%
%
%\begin{figure}[htbp]
%\begin{center}
%\includegraphics[width=10cm]{logos}
%\end{center}
%\caption{This is a figure with sub figures, \textbf{(A)} is one logo, \textbf{(B)} is a different logo.}\label{fig:2}
%\end{figure}

%%% If you are submitting a figure with subfigures please combine these into one image file with part labels integrated.
%%% If you don't add the figures in the LaTeX files, please upload them when submitting the article.
%%% Frontiers will add the figures at the end of the provisional pdf automatically
%%% The use of LaTeX coding to draw Diagrams/Figures/Structures should be avoided. They should be external callouts including graphics.


%\bibliographystyle{frontiersinSCNS_ENG_HUMS} %  for Science, Engineering and Humanities and Social Sciences articles, for Humanities and Social Sciences articles please include page numbers in the in-text citations
%\bibliographystyle{frontiersinHLTH&FPHY} % for Health and Physics articles
%\bibliography{test}

\end{document}
