我在 Tex 文件中使用以下编码并获取两列输出。
\documentclass[twocolumn]{article} \usepackage{lipsum}
\begin{document}
\lipsum[1-4]
\begin{thebibliography}{9}
\bibitem{1} Lobo RF, Zones SI, Davis ME. 1995 Structure-direction in
zeolite synthesis. \textit{J. Inclus. Phen. Mol. Rec.} \textbf{21},
47--78.
\bibitem{2} Moliner M, Rey F, Corma A. 2013 Towards the rational
design of efficient organic structure-directing agents for zeolite
synthesis. \textit{Angew. Chem. Int. Ed.} \textbf{52}, 13880--13889.
\bibitem{3} Freyhardt CC, Tsapatsis M, Lobo RF, Balkus KJ, Davis ME.
1996 A high-silica zeolite with a 14-tetrahedral-atom pore opening.
\textit{Nature} \textbf{381}, 295--298.
\bibitem{4} Wagner P, Yoshikawa M, Lovallo M, Tsuji K, Tsapatsis M,
Davis ME. 1997 CIT-5: a high-silica zeolite with 14-ring pores.
\textit{Chem. Commun.}, 2179--2180.
\end{thebibliography}
\end{document}
然而,我想平衡参考文献之前的文本,并且参考文献文本应采用 3 列格式。
请查看屏幕截图示例以供参考。
有人能建议我如何获得这种格式吗?
答案1
一个选项是multicols
使用multicol
包;thebibliography
环境被重新定义为使用multicols
具有三个必需列的:
\documentclass{article}
\usepackage{multicol}
\usepackage{lipsum}
\makeatletter
\renewenvironment{thebibliography}[1]
{\begin{multicols}{3}[\section*{\refname}]%
\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy
\clubpenalty4000
\@clubpenalty \clubpenalty
\widowpenalty4000%
\sfcode`\.\@m}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist\end{multicols}}
\makeatother
\begin{document}
\begin{multicols}{2}
\lipsum[1-2]
\end{multicols}
\begin{thebibliography}{9}
\bibitem{1} Lobo RF, Zones SI, Davis ME. 1995 Structure-direction in
zeolite synthesis. \textit{J. Inclus. Phen. Mol. Rec.} \textbf{21},
47--78.
\bibitem{2} Moliner M, Rey F, Corma A. 2013 Towards the rational
design of efficient organic structure-directing agents for zeolite
synthesis. \textit{Angew. Chem. Int. Ed.} \textbf{52}, 13880--13889.
\bibitem{3} Freyhardt CC, Tsapatsis M, Lobo RF, Balkus KJ, Davis ME.
1996 A high-silica zeolite with a 14-tetrahedral-atom pore opening.
\textit{Nature} \textbf{381}, 295--298.
\bibitem{4} Wagner P, Yoshikawa M, Lovallo M, Tsuji K, Tsapatsis M,
Davis ME. 1997 CIT-5: a high-silica zeolite with 14-ring pores.
\textit{Chem. Commun.}, 2179--2180.
\end{thebibliography}
\end{document}
请注意,文档主体使用的是两列环境,而不是twocolumn
类选项。这意味着现在适用标准限制(不允许使用浮动,星号格式除外)。multicols
multicol
答案2
最后,经过长时间的尝试,我找到了解决方案。
我使用了“cuted.sty”,并在书目环境中添加了“\begin{strip}...\end{strip}”。现在一切正常。
感谢大家的努力。
答案3
对我有用的方法如下:
\usepackage{cuted}
\usepackage{multicol}
然后对于文档中的 bib 部分:
\begin{strip} % use the cuted package
\begin{multicols*}{3} % use the multicol package
\bibliography{references}
%\blindtext\blindtext
\end{multicols*}
\end{strip}