Text Formattingincluding sub in letter

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
rajini
Posts: 64
Joined: Mon Mar 22, 2010 2:27 pm

including sub in letter

Post by rajini »

Dear all,

I recently started using latex for writing letter. But i dont know how to include 'sub:'. Please dont ask me to change the document class 'letter'. For some reason i will use 'letter' class.
My shortened code below:

Code: Select all

\documentclass[a4paper,11pt]{letter}
\begin{document}
\address{Allmandring I, 14A, Zi-04\\ D-70569 Stuttgart}

\begin{letter}
{To\\Human Resources\\
Centre,\\
P O Box\\
D-70569 Stuttgart\\

\opening{Dear Sir/Madam,}

I will write something here.
eagerly waiting for a reply.

\closing{Sincerely,\\
Myname}
\encl{dosuments,\\certificate, and\\All mark sheets}
\end{letter}
\end{document}
thanks for your help.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

including sub in letter

Post by localghost »

rajini wrote:[...] But i dont know how to include 'sub:'. [...]
What does »sub:« stand for in this context?
rajini wrote:[...] Please dont ask me to change the document class 'letter'. For some reason i will use 'letter' class. [...]
I wonder why and I wonder about the reasons. There are so many letter classes as replacement for the poor capabilities of this standard class.


Thorsten
rajini
Posts: 64
Joined: Mon Mar 22, 2010 2:27 pm

Re: including sub in letter

Post by rajini »

Hello localghost,

Sub.: - 'Subject' is a section, which tells the reason for the letter. It appears just before 'Dear Sir/Madam'.
Actually I dont know which class should i use..So took the simplest class 'letter'.
Any way i already finished writing (without sub.:).
Okay, let me get suggestions from you. Which class is easy and good to use other than 'letter' ? With all options..eg., From, To, Sub.:, Date, Signature, etc..
My purpose is only for applying for jobs in Europe and mostly in Germany..
Moreover is there some good class for CVs?

thanks
User avatar
Stefan Kottwitz
Site Admin
Posts: 10330
Joined: Mon Mar 10, 2008 9:44 pm

including sub in letter

Post by Stefan Kottwitz »

Hi rajini!

I'm using the scrlttr2 class. It provides a lot of features and is highly customizable. It belongs to the KOMA-Script package. If you follow the link you will find its documentation covering also scrlttr2.
Perhaps have a look at briefdemo.pdf.
There's a good template of Matthias Pospiech.

Stefan
LaTeX.org admin
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

including sub in letter

Post by josephwright »

I do some very simple alterations for a subject macro:

Code: Select all

\newcommand\subject[1]{%
  \begin{center}
    \bfseries #1%
  \end{center}
}
Of course, it depends on exactly what you need to have happen.
Joseph Wright
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

including sub in letter

Post by localghost »

rajini wrote:[...] My purpose is only for applying for jobs in Europe and mostly in Germany. [...]
No experiments! Choose a class that generates letters according to our habits here in Germany regarding paper size and similar things (keyword »DIN«). Stefan already suggested the »scrlttr2« class from the KOMA Script bundle. It has its own chapter in the manual where it is described in detail. Nevertheless there are some more classes and packages for letters [1].
rajini wrote:[...] Moreover is there some good class for CVs? [...]
I personally prefer the moderncv class. But there are many more [2]. The final decision is up to you.

[1] The TeX Catalogue Online, Topic Index - Writing Letters, Faxes, Memos, and Newsletters
[2] The TeX Catalogue Online, Topic Index - Writing Applications for a Job / CV
rajini
Posts: 64
Joined: Mon Mar 22, 2010 2:27 pm

Re: including sub in letter

Post by rajini »

All right local ghost + Stefan,

I am familiar with koma-script, at least by writing reports..so i guess will start scrlttr2 class..Also the moderncv is elegant and simple..

thanks, rajini
Post Reply