我想将参考书目放在附录正下方,如下所示,但这样做不行。
长表是附录。我该如何解决这个问题?
这样做正常吗?还是我应该将参考书目放在新页面中?
代码很长,但大部分只是附录的长表。相关部分如下:
编辑:
不使用multicol
?我在 IEEEtran 上读到了一些关于这个包的坏消息像这样所以我很担心使用它。
在另一个帖子中评论:
BibTeX 似乎没有问题,但 IEEEtran 肯定有问题。显然,当您使用双列格式时,IEEEtran 所做的不仅仅是将内容放在两列中,所以我不能只使用多列。感谢您的建议
完整代码:
\documentclass[journal]{IEEEtran}
\usepackage{lipsum}
\usepackage{newtxtext, newtxmath}
\usepackage[export]{adjustbox}
\usepackage{tabularray}
\UseTblrLibrary{booktabs}
\usepackage{filecontents,lipsum}
\DefTblrTemplate{caption-text}{default}{\scshape \InsertTblrText{caption}}
\DefTblrTemplate{contfoot-text}{default}{\scshape Continued on next page}
\DefTblrTemplate{caption}{default}{
\centering
\UseTblrTemplate{caption-tag}{default}\par
\UseTblrTemplate{caption-text}{default}\par
}
\DefTblrTemplate{capcont}{default}{
\centering
\UseTblrTemplate{caption-tag}{default}\par
\UseTblrTemplate{caption-text}{default}
\UseTblrTemplate{conthead-text}{default}\par
}
\DefTblrTemplate{conthead-text}{default}{({\scshape Continued})}
\begin{filecontents*}{jobname.bib}
@article{Junginger:10,
author = {F. Junginger and A. Sell and O. Schubert and B. Mayer and D. Brida and M. Marangoni and G. Cerullo and A. Leitenstorfer and R. Huber},
journal = {Optics Letters},
number = {15},
pages = {2645--2647},
publisher = {OSA},
title = {Single-cycle multiterahertz transients with peak fields above 10 {MV}/cm},
volume = {35},
month = {Aug},
year = {2010},
url = {http://ol.osa.org/abstract.cfm?URI=ol-35-15-2645},
doi = {10.1364/OL.35.002645},
}
@article{LPOR:LPOR201000013,
author = {Cerullo, G. and Baltu{\v s}ka, A. and M{\"u}cke, O.D. and Vozzi, C.},
title = {Few-optical-cycle light pulses with passive carrier-envelope phase stabilization},
journal = {Laser \& Photonics Reviews},
volume = {5},
number = {3},
publisher = {WILEY-VCH Verlag},
issn = {1863-8899},
url = {http://dx.doi.org/10.1002/lpor.201000013},
doi = {10.1002/lpor.201000013},
pages = {323--351},
year = {2011},
}
@inproceedings{Kanuparthy:2011:SED:2068816.2068860,
author = {Partha Kanuparthy and Constantine Dovrolis},
title = {ShaperProbe: end-to-end detection of ISP traffic shaping using active methods},
booktitle = {Proceedings of the 2011 ACM SIGCOMM conference on Internet measurement conference},
series = {IMC '11},
year = {2011},
isbn = {978-1-4503-1013-0},
location = {Berlin, Germany},
pages = {473--482},
numpages = {10},
url = {http://doi.acm.org/10.1145/2068816.2068860},
doi = {10.1145/2068816.2068860},
acmid = {2068860},
publisher = {ACM},
address = {New York, NY, USA},
keywords = {active probing, inference, traffic shaping},
}
@inproceedings{soule2004flow,
title={Flow classification by histograms: or how to go on safari in the internet},
author={Augustin Soule and Kav{\'e} Salamatia and Nina Taft and Richard Emilion and Konstantina Papagiannaki},
booktitle={ACM SIGMETRICS Performance Evaluation Review},
volume={32},
number={1},
pages={49--60},
year={2004},
organization={ACM}
}
@book{texbook,
author = {Donald E. Knuth},
year = {1986},
title = {The {\TeX} Book},
publisher = {Addison-Wesley Professional}
}
@book{latex:companion,
author = {Frank Mittelbach and Michel Gossens
and Johannes Braams and David Carlisle
and Chris Rowley},
year = {2004},
title = {The {\LaTeX} Companion},
publisher = {Addison-Wesley Professional},
edition = {2}
}
@book{latex2e,
author = {Leslie Lamport},
year = {1994},
title = {{\LaTeX}: a Document Preparation System},
publisher = {Addison Wesley},
address = {Massachusetts},
edition = {2}
}
@article{knuth:1984,
title={Literate Programming},
author={Donald E. Knuth},
journal={The Computer Journal},
volume={27},
number={2},
pages={97--111},
year={1984},
publisher={Oxford University Press}
}
@inproceedings{lesk:1977,
title={Computer Typesetting of Technical Journals on {UNIX}},
author={Michael Lesk and Brian Kernighan},
booktitle={Proceedings of American Federation of
Information Processing Societies: 1977
National Computer Conference},
pages={879--888},
year={1977},
address={Dallas, Texas}
}
@article{Khoe:1994:CML:2288694.2294265,
author = {Khoe, G. -D.},
title = {Coherent multicarrier lightwave technology for flexible capacity networks},
journal = {Comm. Mag.},
issue_date = {March 1994},
volume = {32},
number = {3},
month = mar,
year = {1994},
issn = {0163-6804},
pages = {22--33},
numpages = {12},
url = {http://dx.doi.org/10.1109/35.267438},
doi = {10.1109/35.267438},
acmid = {2294265},
publisher = {IEEE Press},
address = {Piscataway, NJ, USA},
}
\end{filecontents*}
\begin{document}
\lipsum
\begin{table}
\centering
\caption{Example}\label{tab:example}
\begin{tabular}{ccc}
\hline
Column 1 & Column 2 & Column 3 \\
\hline
X & Y & Z \\
X & Y & Z \\
X & Y & Z \\
\hline
\end{tabular}
\end{table}
\appendix
\adjustboxset{width=\linewidth, valign=M}
\onecolumn
\begin{longtblr}[
caption = {Table with images},
label = {tab:image},
]{
hlines, vlines,
colsep=3pt,
colspec= {c *{3}{X[c,m]} },
row{1} = {font=\bfseries},
rowsep = 3pt,
rowhead = 1,
}
No & C1 & C3 & C4 \\
1 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
2 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
3 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
4 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
5 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
6 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
7 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
8 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
\end{longtblr}
%
%
\twocolumn
\section{reference}
\nocite{*}
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,jobname.bib}
\end{document}
答案1
基于两个常规表的解决方案。
\begin{filecontents*}{jobname.bib}
@article{Junginger:10,
author = {F. Junginger and A. Sell and O. Schubert and B. Mayer and D. Brida and M. Marangoni and G. Cerullo and A. Leitenstorfer and R. Huber},
journal = {Optics Letters},
number = {15},
pages = {2645--2647},
publisher = {OSA},
title = {Single-cycle multiterahertz transients with peak fields above 10 {MV}/cm},
volume = {35},
month = {Aug},
year = {2010},
url = {http://ol.osa.org/abstract.cfm?URI=ol-35-15-2645},
doi = {10.1364/OL.35.002645},
}
@article{LPOR:LPOR201000013,
author = {Cerullo, G. and Baltu{\v s}ka, A. and M{\"u}cke, O.D. and Vozzi, C.},
title = {Few-optical-cycle light pulses with passive carrier-envelope phase stabilization},
journal = {Laser \& Photonics Reviews},
volume = {5},
number = {3},
publisher = {WILEY-VCH Verlag},
issn = {1863-8899},
url = {http://dx.doi.org/10.1002/lpor.201000013},
doi = {10.1002/lpor.201000013},
pages = {323--351},
year = {2011},
}
@inproceedings{Kanuparthy:2011:SED:2068816.2068860,
author = {Partha Kanuparthy and Constantine Dovrolis},
title = {ShaperProbe: end-to-end detection of ISP traffic shaping using active methods},
booktitle = {Proceedings of the 2011 ACM SIGCOMM conference on Internet measurement conference},
series = {IMC '11},
year = {2011},
isbn = {978-1-4503-1013-0},
location = {Berlin, Germany},
pages = {473--482},
numpages = {10},
url = {http://doi.acm.org/10.1145/2068816.2068860},
doi = {10.1145/2068816.2068860},
acmid = {2068860},
publisher = {ACM},
address = {New York, NY, USA},
keywords = {active probing, inference, traffic shaping},
}
@inproceedings{soule2004flow,
title={Flow classification by histograms: or how to go on safari in the internet},
author={Augustin Soule and Kav{\'e} Salamatia and Nina Taft and Richard Emilion and Konstantina Papagiannaki},
booktitle={ACM SIGMETRICS Performance Evaluation Review},
volume={32},
number={1},
pages={49--60},
year={2004},
organization={ACM}
}
@book{texbook,
author = {Donald E. Knuth},
year = {1986},
title = {The {\TeX} Book},
publisher = {Addison-Wesley Professional}
}
@book{latex:companion,
author = {Frank Mittelbach and Michel Gossens
and Johannes Braams and David Carlisle
and Chris Rowley},
year = {2004},
title = {The {\LaTeX} Companion},
publisher = {Addison-Wesley Professional},
edition = {2}
}
@book{latex2e,
author = {Leslie Lamport},
year = {1994},
title = {{\LaTeX}: a Document Preparation System},
publisher = {Addison Wesley},
address = {Massachusetts},
edition = {2}
}
@article{knuth:1984,
title={Literate Programming},
author={Donald E. Knuth},
journal={The Computer Journal},
volume={27},
number={2},
pages={97--111},
year={1984},
publisher={Oxford University Press}
}
@inproceedings{lesk:1977,
title={Computer Typesetting of Technical Journals on {UNIX}},
author={Michael Lesk and Brian Kernighan},
booktitle={Proceedings of American Federation of
Information Processing Societies: 1977
National Computer Conference},
pages={879--888},
year={1977},
address={Dallas, Texas}
}
@article{Khoe:1994:CML:2288694.2294265,
author = {Khoe, G. -D.},
title = {Coherent multicarrier lightwave technology for flexible capacity networks},
journal = {Comm. Mag.},
issue_date = {March 1994},
volume = {32},
number = {3},
month = mar,
year = {1994},
issn = {0163-6804},
pages = {22--33},
numpages = {12},
url = {http://dx.doi.org/10.1109/35.267438},
doi = {10.1109/35.267438},
acmid = {2294265},
publisher = {IEEE Press},
address = {Piscataway, NJ, USA},
}
\end{filecontents*}
\documentclass[journal]{IEEEtran}
\usepackage{lipsum}
\usepackage{newtxtext, newtxmath}
\usepackage[export]{adjustbox}
\usepackage{tabularray}
\UseTblrLibrary{booktabs}
\usepackage{filecontents,lipsum}
\adjustboxset{width=\linewidth, valign=M}
\begin{document}
\lipsum
\begin{table}
\centering
\caption{Example}\label{tab:example}
\begin{tabular}{ccc}
\hline
Column 1 & Column 2 & Column 3 \\
\hline
X & Y & Z \\
X & Y & Z \\
X & Y & Z \\
\hline
\end{tabular}
\end{table}
\appendix
\raggedbottom
\begin{table*}
\caption{Table with images}\label{tab:image}
\begin{tblr}{
hlines, vlines,
colsep=3pt,
colspec= {c *{3}{X[c,m]} },
row{1} = {font=\bfseries},
rowsep = 3pt,
}
No & C1 & C3 & C4 \\
1 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
2 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
3 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
4 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
5 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c}
\end{tblr}
\end{table*}
\begin{table*}
\caption{Table with images (Continued)}\label{tab:image-cont}
\begin{tblr}{
hlines, vlines,
colsep=3pt,
colspec= {c *{3}{X[c,m]} },
row{1} = {font=\bfseries},
rowsep = 3pt,
}
No & C1 & C3 & C4 \\
6 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
7 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
8 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
\end{tblr}
\end{table*}
\pagebreak
%\IEEEtriggercmd{\columnbreak}\IEEEtriggeratref{7}
\section{reference}
\nocite{*}
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,jobname.bib}
\end{document}
答案2
您可以通过使用该multicol
包来实现这一点并使用它来代替\twocolumn
命令:
\documentclass[journal]{IEEEtran}
\usepackage{lipsum}
\usepackage{newtxtext, newtxmath}
\usepackage[export]{adjustbox}
\usepackage{tabularray}
\UseTblrLibrary{booktabs}
\usepackage{filecontents,lipsum}
\usepackage{multicol}
\DefTblrTemplate{caption-text}{default}{\scshape \InsertTblrText{caption}}
\DefTblrTemplate{contfoot-text}{default}{\scshape Continued on next page}
\DefTblrTemplate{caption}{default}{
\centering
\UseTblrTemplate{caption-tag}{default}\par
\UseTblrTemplate{caption-text}{default}\par
}
\DefTblrTemplate{capcont}{default}{
\centering
\UseTblrTemplate{caption-tag}{default}\par
\UseTblrTemplate{caption-text}{default}
\UseTblrTemplate{conthead-text}{default}\par
}
\DefTblrTemplate{conthead-text}{default}{({\scshape Continued})}
\begin{filecontents*}{jobname.bib}
@article{Junginger:10,
author = {F. Junginger and A. Sell and O. Schubert and B. Mayer and D. Brida and M. Marangoni and G. Cerullo and A. Leitenstorfer and R. Huber},
journal = {Optics Letters},
number = {15},
pages = {2645--2647},
publisher = {OSA},
title = {Single-cycle multiterahertz transients with peak fields above 10 {MV}/cm},
volume = {35},
month = {Aug},
year = {2010},
url = {http://ol.osa.org/abstract.cfm?URI=ol-35-15-2645},
doi = {10.1364/OL.35.002645},
}
@article{LPOR:LPOR201000013,
author = {Cerullo, G. and Baltu{\v s}ka, A. and M{\"u}cke, O.D. and Vozzi, C.},
title = {Few-optical-cycle light pulses with passive carrier-envelope phase stabilization},
journal = {Laser \& Photonics Reviews},
volume = {5},
number = {3},
publisher = {WILEY-VCH Verlag},
issn = {1863-8899},
url = {http://dx.doi.org/10.1002/lpor.201000013},
doi = {10.1002/lpor.201000013},
pages = {323--351},
year = {2011},
}
@inproceedings{Kanuparthy:2011:SED:2068816.2068860,
author = {Partha Kanuparthy and Constantine Dovrolis},
title = {ShaperProbe: end-to-end detection of ISP traffic shaping using active methods},
booktitle = {Proceedings of the 2011 ACM SIGCOMM conference on Internet measurement conference},
series = {IMC '11},
year = {2011},
isbn = {978-1-4503-1013-0},
location = {Berlin, Germany},
pages = {473--482},
numpages = {10},
url = {http://doi.acm.org/10.1145/2068816.2068860},
doi = {10.1145/2068816.2068860},
acmid = {2068860},
publisher = {ACM},
address = {New York, NY, USA},
keywords = {active probing, inference, traffic shaping},
}
@inproceedings{soule2004flow,
title={Flow classification by histograms: or how to go on safari in the internet},
author={Augustin Soule and Kav{\'e} Salamatia and Nina Taft and Richard Emilion and Konstantina Papagiannaki},
booktitle={ACM SIGMETRICS Performance Evaluation Review},
volume={32},
number={1},
pages={49--60},
year={2004},
organization={ACM}
}
@book{texbook,
author = {Donald E. Knuth},
year = {1986},
title = {The {\TeX} Book},
publisher = {Addison-Wesley Professional}
}
@book{latex:companion,
author = {Frank Mittelbach and Michel Gossens
and Johannes Braams and David Carlisle
and Chris Rowley},
year = {2004},
title = {The {\LaTeX} Companion},
publisher = {Addison-Wesley Professional},
edition = {2}
}
@book{latex2e,
author = {Leslie Lamport},
year = {1994},
title = {{\LaTeX}: a Document Preparation System},
publisher = {Addison Wesley},
address = {Massachusetts},
edition = {2}
}
@article{knuth:1984,
title={Literate Programming},
author={Donald E. Knuth},
journal={The Computer Journal},
volume={27},
number={2},
pages={97--111},
year={1984},
publisher={Oxford University Press}
}
@inproceedings{lesk:1977,
title={Computer Typesetting of Technical Journals on {UNIX}},
author={Michael Lesk and Brian Kernighan},
booktitle={Proceedings of American Federation of
Information Processing Societies: 1977
National Computer Conference},
pages={879--888},
year={1977},
address={Dallas, Texas}
}
@article{Khoe:1994:CML:2288694.2294265,
author = {Khoe, G. -D.},
title = {Coherent multicarrier lightwave technology for flexible capacity networks},
journal = {Comm. Mag.},
issue_date = {March 1994},
volume = {32},
number = {3},
month = mar,
year = {1994},
issn = {0163-6804},
pages = {22--33},
numpages = {12},
url = {http://dx.doi.org/10.1109/35.267438},
doi = {10.1109/35.267438},
acmid = {2294265},
publisher = {IEEE Press},
address = {Piscataway, NJ, USA},
}
\end{filecontents*}
\begin{document}
\lipsum
\begin{table}
\centering
\caption{Example}\label{tab:example}
\begin{tabular}{ccc}
\hline
Column 1 & Column 2 & Column 3 \\
\hline
X & Y & Z \\
X & Y & Z \\
X & Y & Z \\
\hline
\end{tabular}
\end{table}
\appendix
\adjustboxset{width=\linewidth, valign=M}
\onecolumn
\begin{longtblr}[
caption = {Table with images},
label = {tab:image},
]{
hlines, vlines,
colsep=3pt,
colspec= {c *{3}{X[c,m]} },
row{1} = {font=\bfseries},
rowsep = 3pt,
rowhead = 1,
}
No & C1 & C3 & C4 \\
1 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
2 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
3 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
4 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
5 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
6 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
7 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
8 & \adjincludegraphics{example-image-a}
& \adjincludegraphics{example-image-b}
& \adjincludegraphics{example-image-c} \\
\end{longtblr}
%
%
% twocolumn
\begin{multicols}{2}
\section{reference}
\nocite{*}
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,jobname.bib}
\end{multicols}
\end{document}
\IEEEtriggeratref{}
但是,这可能会导致引用不按预期平衡。单个引用可能会被拆分到两列之间。这与不拆分单个引用的eg 不同。
编辑:抱歉,我编辑了错误的帖子。