我已经尽我所能,但似乎无法让 belowskip 或 aboveskip 正常工作:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[textwidth=15cm,textheight=24cm]{geometry}
\usepackage{lmodern}
\usepackage{subfig}
\usepackage{array, booktabs}
\usepackage[x11names,table]{xcolor}
\usepackage{tabularx}
\usepackage{graphicx}
\usepackage{chemstyle}
\usepackage{chemnum}
\usepackage[version=3]{mhchem}
\usepackage{mathptmx}
\graphicspath{ {./Figures/} }
\usepackage{float}
\usepackage{chngcntr}
\counterwithin{figure}{subsection}
\usepackage{fixltx2e}
\usepackage{siunitx}
\usepackage{afterpage}
\usepackage[toc,page]{appendix}
\usepackage{adjustbox}
\usepackage{rotating}
\usepackage{titlesec}
\usepackage[super]{nth}
\usepackage{gensymb}
\usepackage{breakcites}
\setlength{\parindent}{0pt}
\usepackage{achemso}
\usepackage{caption}
\captionsetup{font=footnotesize,belowskip=0pt,aboveskip=0pt}
\usepackage{setspace}
\usepackage{nameref}
\usepackage[hyphens]{url}
\urlstyle{same}
\usepackage{glossaries}
\setlength\intextsep{0pt}
\title{TestX}
\author{elifnathan }
\date{May 2019}
\begin{document}
\maketitle
\section{Introduction}
\begin{figure}
\centering
\replacecmpd{taxol}
\includegraphics[scale=0.4]{example-image}
\caption{Taxol (\refcmpd{taxol}), with Conventional Ring Labelling and Atom Numbering Shown}
\label{first:chem:figure}
\end{figure}
\section{Section2}
\end{document}
如果可以的话请帮忙!我需要删除文档中的一些空白。
谢谢!
答案1
唯一可以真正节省的空间是标题和章节标题周围,你可以使用titlesec
或简单地使用标题不那么华丽的类,这样article
你就可以
\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[textwidth=15cm,textheight=24cm]{geometry}
\usepackage{graphicx}
\usepackage{chemstyle}
\setlength{\parindent}{0pt}
\usepackage{caption}\captionsetup{font=footnotesize,belowskip=0pt,aboveskip=0pt}
\usepackage{setspace}
\setlength\intextsep{0pt}
\title{TestX}
\author{elifnathan }
\date{May 2019}
\begin{document}
\maketitle
\section{Introduction}
\begin{figure}
\centering
\includegraphics[scale=0.4]{example-image}
\caption{Taxol , with Conventional Ring Labelling and Atom Numbering Shown}
\label{first:chem:figure}
\end{figure}
\section{Section2}
\end{document}
将第一行改为
\documentclass[12pt]{amsart}
你得到