[LaTeX] Placing translation in parenthesis
Is there any method for placing translations in parenthesis at first occurrence? I need something similar to the acronym package, but instead, storing translations and printing brackets only after the first occurrence.
E.g. (pseudo-code): \translation{bananas}{xiangjiao} \translation{apples}{pingguo} Results in: Do you like to eat bananas (xiangjiao)? No I don't like to eat bananas. |
1 Attachment(s)
I don't understand your problem. If you want to have the translation within parenthesis, you may use newcommand
Code:
\newcommand{\translation}[2]{#1 (#2)} Code:
\documentclass{minimal} Markus |
Quote:
|
Why don't you simply use the acronym package? I tried that out
Code:
\documentclass{minimal} Markus |
Quote:
Code:
\newacro{banana}[banana]{xiangjiao} |
All times are GMT -5. The time now is 06:02 AM. |