我正在使用 latex 类来编写我 (德国) 大学提供的一封信。这封信是用英文写的,我在 documentclass 选项中包括了 English babel 以及 write English。该类基于 scrlttr2。
问题是:日期前面是德语单词 Datum 而不是英文 Date,并且底部的页码是德语:
第 1 页,共 1 页
而不是第 1 页,共 1 页
我无法联系到作者,并且我打开了 cls 文件,却找不到任何有关该语言或所述关键字的选项。
我在这里举一个例子:
\RequirePackage{pdf14}
\documentclass[%
mustermann,% Name der zu ladenden .lco-Datei des Autoren
nexus,% Schriftart Arial wählen
English,
10pt% gewählte Schriftgröße (standard)
]{tubslttr2}
\usepackage{pdfpages}
\usepackage[english]{babel}% Use option 'english' for english letter
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=blue,
filecolor=black,
linkcolor=blue,
urlcolor=blue,
}
\begin{document}
\begin{letter}{%
%%% Anschrift %%%
bla bla there
}
\setkomavar{subject}{mySubject}% Betreff-Variable setzen
\opening{Dear people,}
my great message!!
\closing{Yours faithfully,}
%%% optionaler Teil %%%
%\Anlagen{
\textbf{Enclosure:}
\begin{itemize}
\item Something
\end{itemize}
%}
\end{letter}
\end{document}
tubslttr2 文件:
%%
%% This is file `tubslttr2.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% tubslttr2.dtx (with options: `class')
%%
%% This is a generated file.
%%
%% Copyright (C) 2011 by Tobias Rad and Enrico Jörns
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.2 of this license or (at your option) any later
%% version. The latest version of this license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.2 or later is part of all distributions of
%% LaTeX version 1999/12/01 or later.
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{tubslttr2}[2011/09/22 v0.1a tubslttr2]
\RequirePackage{xkeyval}
\newif\ifarial\arialfalse
\RequirePackage{scrbase}
\newif\if@OldKomaVersion
\@ifpackagelater{scrbase}{2011/06/16}{%
\PassOptionsToClass{%
tubs,%
BCOR=0cm,%
pagenumber=botleft,%
refline=nodate,%
backaddress=plain% Keine Linie unterhalb Rücksendeadresse
}{scrlttr2}
\@OldKomaVersionfalse
}{%
\PassOptionsToClass{%
tubs,%
BCOR=0cm,%
pagenumber=botleft,%
backaddress=plain% Keine Linie unterhalb Rücksendeadresse
}{scrlttr2}
\@OldKomaVersiontrue
}
\DeclareOptionX{mono}{%
\PassOptionsToPackage{mono}{tubslogo}
\PassOptionsToPackage{mono}{tubscolors}
}
\DeclareOptionX{arial}{%
\PassOptionsToClass{fontsize=10pt}{scrlttr2}
\arialtrue
}
\DeclareOptionX{nexus}{%
\PassOptionsToClass{fontsize=11pt}{scrlttr2}
\arialfalse
}
\DeclareOptionX*{\PassOptionsToClass{\CurrentOption}{scrlttr2}}
\ExecuteOptionsX{nexus}
\ProcessOptionsX
\LoadClass{scrlttr2}[2011/06/16]
\@ifpackagelater{scrbase}{2011/06/16}{}{%
}
\endinput
%%
%% End of file `tubslttr2.cls'.
提前谢谢您!
答案1
好的,我们得到了 esdd 的答复:更新到当前 texlive 解决了该问题。请接受此答复以将其从未答复问题列表中删除。