我在 Tex 文件中使用以下編碼並在 2 列中獲取輸出。
\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
帶有三個必需列的 a :
\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}