Friends, I'm curious on how to do the following in LaTeX:
Dictionaries have two words on the top of each page, meaning the interval of words to be found on that specific page, e.g.,
In the figure, analyst refers to the lower bound (the first word), and ancillary refers to the upper bound (the last word) in this page.
I was wondering of how we could achieve something similar in LaTeX. Let's say we have the following document:
\documentclass{article}
\usepackage{multicol}
\usepackage{enumerate}
\usepackage{lipsum}
\begin{document}
\begin{multicols}{2}
\begin{description}
\item[adequate] \lipsum[1]
\item[adhere] \lipsum[2]
\item[adherence] \lipsum[3]
\item[adhesion] \lipsum[4]
\item[adhesive] \lipsum[5]
\item[adjacent] \lipsum[6]
\item[adjective] \lipsum[1]
\item[adjoin] \lipsum[2]
\item[adjourn] \lipsum[3]
\item[adjournment] \lipsum[4]
\item[adjunt] \lipsum[5]
\item[adjust] \lipsum[6]
\end{description}
\end{multicols}
\end{document}
For this page, I expect to see both adequate and adhesive in the top of the page (first and last items on the page, respectively). The same rule applies to the rest of the pages. Update: I should've mentioned that I'm curious of an "automatic" way of choosing which words will be set in the page headers. =)
Any ideas?
fancyhdr
documentation shows how to do this.fancyhdr
solves the second part (how to put them in there), I wonder how could we solve the first one.=)
;-)