![將小型頁面或表格放置在右列頂部](https://rvso.com/image/298820/%E5%B0%87%E5%B0%8F%E5%9E%8B%E9%A0%81%E9%9D%A2%E6%88%96%E8%A1%A8%E6%A0%BC%E6%94%BE%E7%BD%AE%E5%9C%A8%E5%8F%B3%E5%88%97%E9%A0%82%E9%83%A8.png)
我是 TeX 新手,但我無法在任何地方找到解決我的問題的方法。
我在頁面寬圖像後面的兩列中有一些文字(這不是問題)。
但我想在右列的頂部添加一個小表格(一種圖例,也許是一個小頁?),與一列一樣寬。
有辦法做到嗎?關於我應該尋找的軟體包有什麼建議嗎?
預先感謝,法比奧
答案1
LaTeX 不會自動將浮動保持在一起,因此您必須小心將它們放置在原始程式碼中的位置,但是:
\documentclass[twocolumn]{article}
\usepackage{fixltx2e}
\def\a{One two three four five six. }
\def\b{\a\a\par Red green blue. \a\a\a\par Yellow black \a\a\a\a}
\def\c{Something \b \b More text here \b\b}
\begin{document}
\c\c\c
\begin{table*}
\centering
\begin{tabular}{|l|c|r|}
\hline
aaa aa aa aaa a a a aaaaaaaaa&1&bbbbbbbbbbbbbb\\
aaaaaaaaaaaaaaa&1&bbbb\\
aaaaaaaaaaa&1234567890&bbbbb b b b b bbbbbbbbbbb bbbbbbbbbb\\
\hline
\end{tabular}
\end{table*}
\c\c\c
\begin{table}
\raggedright\itshape
Some interesting text about the above table.
Some more interesting text about the above table.
Yet more interesting text about the above table.
\end{table}
\c\c\c\c\c\c
\c\c\c\c\c\c\c
\end{document}
答案2
正如 David 所解釋的那樣,開箱multicol
即用的不支援浮動,因為它需要平衡,這意味著不太知道材料會落在哪裡。
但是,如果您知道您希望列浮動在特定列的特定頁面上(換句話說,您正在做一些手動的事情),那麼我的回答是
可能會為您提供解決方案。
作為替代方案,您可能想考慮應用該flowfram
包。同樣,這將需要手動設定您的文檔,但它可以讓您很好地控制結果。