I am currently writing my thesis and it has a 200 page limit without figures and tables.
Is there some way I can turn off tables and figures from being output, so I can check my page count, but without removing them from the code?
Please find here the style file I am using:
https://www.maths.ox.ac.uk/members/it/faqs/latex/thesis-class
endfloatpackage to print allfigureandtableenvironments on separate pages at the end of your document. Related: How can I remove the figures from a draft of my document? – leandriis Jun 22 '18 at 10:32graphicxpackage you can set thedraftflag.\usepackage[draft]{graphicx}– sporc Jun 22 '18 at 10:46commentpackage and add the instructions\excludecomment{figure},\excludecomment{table},\let\endfigure\relax, and\let\endtable\relaxin the preamble. – Mico Jun 22 '18 at 10:50commentpackage does its thing by scanning for the strings\end{figure}and\end{table}(and all other excluded environments) at the start of a line. Hence, if one had the following input all on one line --\begin{figure}[h!] FIGURE \end{figure}--commentcan't get its job done. Just a heads-up... – Mico Jun 22 '18 at 10:58commentpackage: "The opening and closing commands [e.g.,\begin{figure}and\end{table}] should appear on a line of their own. No starting spaces, nothing after it." – Mico Jun 22 '18 at 11:04\textbf{}directives immediately after each\end{figure/table}definitely look like excellent candidates for removal... – Mico Jun 22 '18 at 11:47[H]placement specifier habitually, you're not using the LaTeX float mechanism properly; in fact, you're not using it at all. Do try to wean yourself off that habit, ì.e., use[H]only exceptionally. – Mico Jun 22 '18 at 11:53