
我的問題是:製作有圖片的詞彙表最好是什麼?
事實上,我已經有了製作工具的描述,一方面是文字(這裡沒什麼難的),另一方面,因為最好看到它是什麼,還有它們的圖片。
我正在考慮用術語表來做這件事,但我不確定這是最好的方法。
有人知道我該做什麼(以及如何做)嗎?
答案1
好吧,這裡是您可以放置圖形的各個位置的範例:
\documentclass{article}
\usepackage[nonumberlist]{glossaries}
\makeglossaries
\usepackage{graphicx,xcolor}
\newcommand\tigerdescription{a large animal. Some facts:
\begin{itemize}
\item Has stripes
\item Its image: \colorbox{red}{\includegraphics[width=1cm]{tiger}}
\end{itemize}}
\newglossaryentry{tiger}
{name={\raisebox{-0.5cm}{\colorbox{green}{\includegraphics[width=1cm]{tiger}}}},
sort=tiger,
text={tiger (\protect\raisebox{-0.5em}{\protect\colorbox{blue}{\protect\includegraphics[width=1em]{tiger}}})},
description={\tigerdescription}}%
\begin{document}
A \gls{tiger} is a large animal.
\printglossary[style=list]%
\end{document}