this is for holding javascript data
Deyan Ginev undid 85e9d2d04a450a46873ad303ccf3cec8998b130c
almost 9 years ago
Commit id: 4e6e27ef64a7472559975132da067ec87ba2c711
deletions | additions
diff --git a/section_Layout_directives_subsection_General__.tex b/section_Layout_directives_subsection_General__.tex
index 812d79f..1783905 100644
--- a/section_Layout_directives_subsection_General__.tex
+++ b/section_Layout_directives_subsection_General__.tex
...
Authorea supports figures as separate text blocks, so you should never have to write \verb|\begin{figure}| in your documents. However, listings and tables are perfectly acceptable. In fact, you could be curious to find out the technique which we use here for aligning our listings and tables in two horizontal columns. The relevant snippet is:
\begin{lstlisting}
\begin{figure}[h!]
\begin{minipage}{0.7\textwidth}
... left-hand-side content ...
\end{minipage}
\begin{minipage}{0.2\textwidth}
... right-hand-side content ...
\end{minipage}
\end{figure}
\end{lstlisting}
The reason we use \verb|\begin{figure}[h!]| here is to explicitly order {\TeX} to position the figure as close as possible to the current insertion point.