I would like to create a document with two glossaries of the following kind:

German to English

Wahrscheinlichkeitstheorie: Probability theory

Dichte: Density

English to German

Probability theory: Wahrscheinlichkeitstheorie

Density: Dichte

For each word and its translation, I would like to have just one LaTeXentries which is used by bothglossaries`. So something of the following kind:

    english = Probability theory,
    german = Wahrscheinlichkeitstheorie
    english = Density,
    german = Dichte

I could not figure out a way to do that with the package glossaries, but I am not familiar with it. How can I do that?


A preliminary version:




\newglossary{german}{ggin}{gglo}{German to English}
\newglossary{english}{bgin}{bglo}{English to German}

    \glstarget{##1}{\bfseries \glossentryname{##1}:}% Name
    & \textbf{\glossentrydesc{##1}}  \tabularnewline





My nice dictionary


enter image description here

  • Thanks! It is nice. But I have a problem with accents: for example \newdictentry{wurfel}{W\"{u}rfel}{Die} does not work out. Oct 30 '15 at 9:07
  • @GillesBonnet: Try \usepackage[utf8]{inputenc} and Würfel then
    – user31729
    Oct 30 '15 at 11:23
  • @GillesBonnet: \newdictentry{wurfel}{W\"urfel}{Die} works too. I find \"{u} rather strange
    – user31729
    Oct 30 '15 at 12:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.