Hello,

I´m sorry – I couldn´t figure out, although I´ve read the whole 4th chapter of the koma-script manual. Maybe I don´t have a fine grasp for that, but the bank-details are mentioned to have an "exceptional position" in that manual, so maybe it´s not just that…


After working through the chapter I achieved a separate field at least (mentioned on page 194 in the german manual):

\setkomavar{location}{\raggedright
Mitglied Nr.~4711\\
seit dem 11.09.2001\\
Vorsitzender in den Jahren 2003--2005}


But I was not able to get the bankaccount-data printed. There are some descriptions on page 203f. Sorry, this is in german and it is about the above mentioned "exceptional position":

Die im Beispiel verwendete Variable frombank nimmt derzeit eine Son-
derstellung ein. Sie wird intern bisher nicht verwendet. Sie kann jedoch vom
Anwender verwendet werden, um die Bankverbindung in das Absenderer-
gänzungsfeld (siehe Variable location, Seite 194) oder wie im Beispiel in
den Fuß zu setzen.
Im letzten Beispiel wurde ein mehrzeiliger Fuß gesetzt. Bei einer Kom-
patibilitätseinstellung ab Version 2.9u (siehe version in Abschnitt 4.4,
??) reicht der Platz dafür in der Regel nicht aus. Sie sollten dann
firstfootvpos (siehe Seite 334) entsprechend verringern.



In the following I do find the following commands:

\usekomavar*{frombank}:}\\
\usekomavar{frombank}

and

\setkomavar{frombank}{Konto 12\,345\,678\\
bei der HansWurstBank\\
BLZ 876\,543\,21}

I don´t know what to put into the preamble or maybe in ERT. As I don´t know LateX, I´m also not able to figure out, how many backslashes are really needed, why to use the same command twice ("\usekomavar*{frombank}:}\\" and "\usekomavar{frombank}") and what the asterisk does mean…


On page 203 there´s also this command:

\firstfoot{%
\parbox[b]{\linewidth}{%
\centering\def\\{, }\usekomavar{frombank}%
}%
}

which results in a Lyx error-message:

"too many {s"


I´m a little despaired meanwhile. Is it that hard or do I overlook something? Is it not possible to add bankdata to a letter in Lyx without having a good basic understanding of LateX?


Best*
Jess







Am 04.06.2009 um 18:46 schrieb Uwe Stöhr:

jezZiFeR schrieb:

sorry, I still don´t understand and don´t know, how I get the bank account printed, when using Lyx with koma-letter2-class, because I don´t know where to specify letter head and foot definitions.

But this is described with all details and many examples in the koma- script manual in section 4, see especially Abb. 9 on page 178. The LyX template file shows you also how this is done - see its document preamble.

regards Uwe

Reply via email to