Deyan Ginev edited section_Laying_out_tables_and__.tex  almost 9 years ago

Commit id: 4366d84b0681c46e04f384d7ca3dd461a5c7ecf5

deletions | additions      

       

\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 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. \subsection{Note on Vertical Overflow}  HTML pages are designed to be infinitely scrollable. However, this is clearly not the case in printable PDF documents, and if you want your tables to display nicely on a paper page you need to take precations against vertical overflow early. A simple solution is to use the \verb|{longtable}| environment instead of \verb|{tabular}|, which will auto-break the pages for you, when exporting to PDF.