我正在使用 Elseviercas-sc
文档类,它在参考书目之后(文档末尾)打印图表。如何调整它以便图表位于参考书目之前?
\documentclass[a4paper,fleqn]{cas-sc}
\usepackage[numbers]{natbib}
\usepackage{graphicx}
\usepackage{caption}
\begin{document}
\begin{figure}
\centering
\includegraphics[scale=0.65]{4modes_Energy_Consumption.eps}
\caption{Evaluation }
\label{4ModesEC}
\end{figure}
\begin{figure}
\centering
\includegraphics[scale=0.65]{4modes_Electricity_bill_Payment.eps}
\caption{Evaluation of electricity}
\label{4ModesPay}
\end{figure}
\begin{thebibliography}{1}
\bibitem{DLC_DR}
Stenner, Karen, Elisha R. Frederiks, Elizabeth V. Hobman, and Stephanie Cook. "Willingness to participate in direct load control: The role of consumer distrust." Applied energy 189 (2017): 76-88.
\bibitem{Price_DR}
Takano, Hirotaka, Asuka Kudo, Hisao Taoka, and Atsumi Ohara. "A basic study on incentive pricing for demand response programs based on social welfare maximization." Journal of International Council on Electrical Engineering 8, no. 1 (2018): 136-144.
\end{thebibliography}
\end{document}
答案1
请参阅文档 endfloat
以了解更多可选参数。您可以根据环境的简单用途更改参考书目thebibliography
\documentclass{book}
\usepackage{biblatex}
\addbibresource{biblatex-examples.bib}
\usepackage[nolists,nomarkers]{endfloat}
\usepackage{blindtext}
\begin{document}
\blindtext
\begin{table}
\centering
\caption{Test}
\begin{tabular}{cc}
A & B \\
1 & 2 \\
3 & 4 \\
\end{tabular}
\end{table}
\blindtext
\begin{figure}
\centering
\rule{6cm}{5cm}
\caption{A caption for a figure}
\end{figure}
\blindtext
foo~\cite{aksin}
\printbibliography
\end{document}