minted
LaTeX 中的套件可以自動換行。但是如何讓線條保持原樣並強制minted
包裝隱藏任何可能的溢出呢?這對於像這樣的資料庫範例可能很有用:
Output:
\begin{minted}{text}
id | title | date | date_acquired | classification_id
-------+----------------------------------------------------------------------------------------------------------------------------------+------+---------------+------------------
5569 | Zeichnet 5 1/2 Dritte Kriegs-Anleihe | 1916 | 1968-03-07 | 7
6214 | In the Forward Capitalist Countries the Share of Exploiting Classes in the National Income Consists of Approximately 50 or More | 1930 | 1943-05-12 | 7
109440 | 60 Off, New York | 2007 | 2007-05-10 | 9
183530 | Warhead I (Regan 55, Brezhnev 45, Thatcher less than 1, Mitterrand less than 1, Deng less than 1) | 1982 | 2014-10-09 | 9
193145 | MyDesktop | 2002 | 2015-05-21 | 12
284019 | Jacket Cover for Upton Sinclair's 100%
\end{minted}
正如您在上圖中看到的,溢出是可見的,這是不希望的。這可能是透過鑄造包的一些隱藏選項來完成的嗎?或至少透過其他方式?