开发者

Rename monthnames in LaTeX

I've got a seemingly small problem using LaTeX, which i can't find the answer for after quite a bit of internet searching...

I'm writing a schoolassignment in faroese, and want to change the \date(\today) names to faroese.

I gue开发者_StackOverflow中文版ss i have to use the \renewcommand, but i don't know what i should put in there.

Basicly, i want to change the names as follow:

January --> Januar February --> Februar March --> Mars etc.

Any help would be greatly appreciated


You are better off not doing this by hand, but letting the babel package take care of it. As a bonus, that also gives you correct hyphenation, caption names, etcetera. From here:

\usepackage[icelandic]{babel}
\usepackage[T1]{fontenc}

(Since it's written there, I assume that icelandic is close enough to Faroese, but until five minutes ago, I didn't even know that the language existed...)


You want to define your own \today. To display Januar 15, 2011, put this above \begin{document}

\def\today{ifcase\month\or Januar\or Februar\or Mars ...etc... December\fi \space\number\day, \number\year}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜