I'm deriving my own class from scrartcl but wan to introduce variables as in scrlttr2 for the user of the class to set several values. I find the \setkomavar resp. \usekomavar mechanism with key, value and description quite convenient.
Is there any way of using komavars if I'm not using the scrlttr2 class?
My actual problem
Currently I get Undefined control sequence. \setkomavar if I use \setkomavar.
My new class will have a title page which includes an address and a logo which I want to set with komavars as it is done in scrlttr2. To define this titlepage I renew the \maketitle command, which is not available if I would derive my class from scrlttr2.
\newkomavaris only defined inscrlttr2.cls(and will be inscrletter.sty). You could however extract it from the definition. – Johannes_B Nov 27 '14 at 09:26Gutachter,2. Gutachter, … in your example. – white_gecko Nov 27 '14 at 09:52scrreprtand use thetitlepageproject. If you give us some detailed information, we will be able to help you in a less generic way. – Johannes_B Nov 27 '14 at 10:00pstricksand now want to add some placeholders for values, which the user will be able to set, while some will have a description, which might be changed (the whole layout is not as fixed as e.g. for a thesis). So I found the way komvar is doing it quite flexible (with key, value and description) but I think in the end any simple key-value mechanism should do the trick as well. – white_gecko Nov 27 '14 at 10:12\csdefand\csusefrometoolboxis what I'm looking for (http://tex.stackexchange.com/a/37429/11820). – white_gecko Nov 27 '14 at 10:56