📅  最后修改于: 2023-12-03 14:48:37.221000             🧑  作者: Mango
Xambio Item is a LaTeX package that provides a user-friendly interface to create simple and complex item lists and tables. It is designed to save time and reduce the effort of creating lists and tables with LaTeX.
To install Xambio Item, follow these steps:
To use Xambio Item, you need to define an item environment. Here is an example:
\begin{itemize}[type=-]
\item First item
\item Second item
\item Third item
\end{itemize}
This creates a simple item list with dashes (-) as bullets. You can customize the type of bullet by changing the type
parameter. Here are the available options:
-
for dashes*
for asteriskso
for circlesi
for lowercase Roman numeralsI
for uppercase Roman numeralsa
for lowercase lettersA
for uppercase lettersYou can also add spacing between items by using the itemsep
parameter. Here is an example:
\begin{itemize}[type=*, itemsep=10pt]
\item First item
\item Second item
\item Third item
\end{itemize}
This adds a spacing of 10pt between the items in the list.
To create a table with Xambio Item, you need to use the tabularx
environment and the xitemize
command. Here is an example:
\begin{tabularx}{\textwidth}{Xr}
\multicolumn{2}{c}{Table header} \\
\hline
\textbf{Item} & \textbf{Value} \\
\hline
\xitemize{First item}{1} & $10.00$ \\
\xitemize{Second item}{2} & $20.00$ \\
\xitemize{Third item}{3} & $30.00$ \\
\hline
\multicolumn{2}{c}{Table footer}
\end{tabularx}
This creates a table with two columns and three rows. The first column contains an item list created with the xitemize
command, while the second column contains a numeric value. The tabularx
environment is used to make the table span the entire width of the page, and the multicolumn
command is used to create a centered header and footer.
Xambio Item is a useful package for anyone who works with LaTeX and needs to create item lists and tables. It is easy to use and customizable, making it a great time-saver.