Deyan Ginev edited section_Layout_directives_subsection_General__.tex  almost 9 years ago

Commit id: fcf4764cf9601353b67ae6689dd5249ce096f22d

deletions | additions      

       

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.   \subsection{Note on Margins}  If you are very serious about producing beautiful HTML and PDF, you will sooner or later need to understand how margins work and how they differ between the two paradigms. As long as you are not using advanced features, Authorea can automate all those considerations for you, but the moment you want beautiful side-by-side tables, you would need may be forced  to become painfully aware of the PDF-related float widths and margin sizes. Best to remember: If you don't want to know anything about margins and just want to disseminate your preprint to colleagues, use \verb|\usepackage{fullpage}| which disables page margins. Otherwise, try to design your minipage environments so that they never sum up to over \verb|0.9\textwidth| and ideally \verb|0.8\textwidth|, to avoid unpleasant overflows. There are other {\TeX} tricks one can employ but we recommend heavily \textbf{against} indulging in low-level fine-tuning, as it is both a time sink and a great potential source of frustration.