Page Layouthelp in scrlttr2

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
rajini
Posts: 64
Joined: Mon Mar 22, 2010 2:27 pm

help in scrlttr2

Post by rajini »

Dear all,

I need a help in using scrlttr2 for writing my letter. My latex code is:

Code: Select all

\documentclass[a4paper,12pt]{scrlttr2}
\usepackage[english]{babel}
\KOMAoptions{foldmarks=off,fromalign=left,addrfield=true,backaddress=off,subject=titled,fromphone=on,fromemail=true}
\setkomavar{fromname}{My name}
\setkomavar{signature}{My name}
\setkomavar{fromaddress}{My address\\Number\\City}
\setkomavar{fromemail}{email,etc}
\setkomavar{fromphone}{123456}
\setkomavar{subject}{Some important message\\second line}
\usepackage[bitstream-charter]{mathdesign}
\begin{document}
\def\today{my date} 
\begin{letter}{address\\address\\number~city}

\opening{Dear Madam/Sir,}
etc, etc
etc etc
please help me

\closing{Sincerely,}
\encl{A one line}
\end{letter}
\end{document}
.
1. If i run the above code the word 'Subject' appears in my letter. Is there a way to avoid it?
2. The date appears on the right-side just above the subject. And i think it is fine. But for some reason I want it to be placed on the right-side of the from address..just right-side of my name in the from address. And before the date i want also to place the city name (e.g., city, 24 Feb. 2011).
3. Some time i write slight long letter. So one or 2 lines goes to next page. I think this can be solved by reducing the vertical space between date and receiver' address. So how to reduce it?
4. Some lines in the above code me be redundant. If you find some thing please inform me, I want to remove it.
thanks for your help.
rajini.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

5gon12eder
Posts: 126
Joined: Sun Feb 13, 2011 8:36 pm

help in scrlttr2

Post by 5gon12eder »

You could try renewing all the commands involved in these settings. Check out their original definition in the scrlttr2.cls file to see how they work. But frankly, if you really want to change all this, I think you'd be better off by writing your own letter style from scratch. Why use a style when you would like to change almost everything?
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).
Post Reply