在 LaTeX 中重命名月份名称
我在使用 LaTeX 时遇到了一个看似很小的问题,经过相当多的互联网搜索后我找不到答案......
我正在用法罗语写一份学校作业,并且想要更改 \date(\today)法罗语的名字。
我想我必须使用 \renewcommand,但我不知道应该在那里放什么。
基本上,我想更改名称如下:
一月 -->一月 二月-->二月 三月-->火星 等等。
任何帮助将不胜感激
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 guess 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您最好不要手动执行此操作,而是让 babel 包来处理它。作为奖励,这还可以为您提供正确的连字符、标题名称等。来自这里:(
因为它写在那里,我假设
冰岛语
与法罗语非常接近,但直到五分钟前,我什至不知道这种语言的存在......)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:(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...)您今天想定义您自己的\。要显示 2011 年 1 月 15 日,请将其放在 \begin{document} 上方
You want to define your own \today. To display Januar 15, 2011, put this above \begin{document}