Shveytsariya maktubi tartibini qanday olish mumkin?

Men ushbu maktubni bir maktub uchun olishni istayman, lekin men buni bilib olmadim.

enter image description here

Men kodni chletter kodini topdim, lekin hujjatni o'qib bo'lgandan so'ng, bu sana holatiga ruxsat bermaydi deb o'ylayman.

\documentclass[]{chletter}
\usepackage[english]{babel}


\name{My Name}
\address{My Street \\ My city}
\date{The place where I am, \today}
\title{\textbf{The title of the job \quad --\quad 100\%}}

\begin{document}
\begin{letter}{Compagny\\Contact person\\Street\\City}
\object
\opening{Dear Mr. Forexample,}
My letter body.
\closing{Best regards}
%\encl{enclosures}
%\cc{other recipients}
\end{letter}
\end{document}

But the result I obtained is the following : enter image description here

Bundan tashqari, scrlttr2 sinfini sinab ko'rdim, lekin bu tartibni qanday qilib olishni hali aniqlamadim.

8

6 javoblar

Bu erda scrlttr2 dan foydalanib namuna olinadi:

\documentclass[
  SN,% lco file for swiss letters (SN 010 130))
  refline=dateleft,
  firstfoot=false,
  enlargefirstpage,
  backaddress=false,
  foldmarks=false,
  parskip=half-
  ]{scrlttr2}
\usepackage[english]{babel}

\setkomavar{fromname}{My Name}
\setkomavar{fromaddress}{My Street \\ My city}
\setkomavar{date}{The place where I am, \today}
\setkomavar{subject}{The title of the job \quad --\quad 100\%}
\setkomafont{title}{\bfseries\normalsize\raggedright}

\makeatletter
  \@setplength{firstheadwidth}{\textwidth}
\makeatother

\renewcommand\raggedsignature{\raggedright}

\usepackage{blindtext}% dummy text
\begin{document}
  \begin{letter}{Compagny\\Contact person\\Street\\City}
    \opening{Dear Mr. Forexample,}
    \blindtext

    \blindtext
    \closing{Best regards}
    \encl{enclosures}
    \cc{other recipients}
  \end{letter}
\end{document}


Manzilingizni biroz pastga tushirish uchun istalgan shiftni pseudolength firstheadvpos ga qo'shing.

    \documentclass[
      SN,% lco file for swiss letters (SN 010 130))
      refline=dateleft,
      firstfoot=false,
      enlargefirstpage,
      backaddress=false,
      foldmarks=false,
      parskip=half-
      ]{scrlttr2}
    \usepackage[english]{babel}

    \setkomavar{fromname}{My Name}
    \setkomavar{fromaddress}{My Street \\ My city}
    \setkomavar{date}{The place where I am, \today}
    \setkomavar{subject}{The title of the job \quad --\quad 100\%}
    \setkomafont{title}{\bfseries\normalsize\raggedright}

    \makeatletter
      \@setplength{firstheadwidth}{\textwidth}
      \@addtoplength{firstheadvpos}{.5cm}% <- shift the head with your address .5cm down
    \makeatother

    \renewcommand\raggedsignature{\raggedright}

    \usepackage{blindtext}% dummy text
    \begin{document}
      \begin{letter}{Compagny\\Contact person\\Street\\City}
        \opening{Dear Mr. Forexample,}
        \blindtext

        \blindtext
        \closing{Best regards}
        \encl{enclosures}
        \cc{other recipients}
      \end{letter}
    \end{document}

enter image description here


Agar dastlabki kodingizda visualize.loc ni yuklasangiz, ba'zi joylarning manzilini va hajmini ko'rsatishingiz mumkin:

\LoadLetterOption{visualize}
\showfields{head,foot,address,location,refline}

enter image description here

6
qo'shib qo'ydi
thanks @esdd bu mening xohlaganimga ham yaqin. Faqat mening adresimga ozgina pastga aylanish haqida qanday fikrdasiz?
qo'shib qo'ydi muallif Sebastian Paaske Tørholm, manba
@PierrickBersier Yangilangan javobni ko'ring.
qo'shib qo'ydi muallif user43317, manba

Bu erda scrlttr2 dan foydalanib namuna olinadi:

\documentclass[
  SN,% lco file for swiss letters (SN 010 130))
  refline=dateleft,
  firstfoot=false,
  enlargefirstpage,
  backaddress=false,
  foldmarks=false,
  parskip=half-
  ]{scrlttr2}
\usepackage[english]{babel}

\setkomavar{fromname}{My Name}
\setkomavar{fromaddress}{My Street \\ My city}
\setkomavar{date}{The place where I am, \today}
\setkomavar{subject}{The title of the job \quad --\quad 100\%}
\setkomafont{title}{\bfseries\normalsize\raggedright}

\makeatletter
  \@setplength{firstheadwidth}{\textwidth}
\makeatother

\renewcommand\raggedsignature{\raggedright}

\usepackage{blindtext}% dummy text
\begin{document}
  \begin{letter}{Compagny\\Contact person\\Street\\City}
    \opening{Dear Mr. Forexample,}
    \blindtext

    \blindtext
    \closing{Best regards}
    \encl{enclosures}
    \cc{other recipients}
  \end{letter}
\end{document}


Manzilingizni biroz pastga tushirish uchun istalgan shiftni pseudolength firstheadvpos ga qo'shing.

    \documentclass[
      SN,% lco file for swiss letters (SN 010 130))
      refline=dateleft,
      firstfoot=false,
      enlargefirstpage,
      backaddress=false,
      foldmarks=false,
      parskip=half-
      ]{scrlttr2}
    \usepackage[english]{babel}

    \setkomavar{fromname}{My Name}
    \setkomavar{fromaddress}{My Street \\ My city}
    \setkomavar{date}{The place where I am, \today}
    \setkomavar{subject}{The title of the job \quad --\quad 100\%}
    \setkomafont{title}{\bfseries\normalsize\raggedright}

    \makeatletter
      \@setplength{firstheadwidth}{\textwidth}
      \@addtoplength{firstheadvpos}{.5cm}% <- shift the head with your address .5cm down
    \makeatother

    \renewcommand\raggedsignature{\raggedright}

    \usepackage{blindtext}% dummy text
    \begin{document}
      \begin{letter}{Compagny\\Contact person\\Street\\City}
        \opening{Dear Mr. Forexample,}
        \blindtext

        \blindtext
        \closing{Best regards}
        \encl{enclosures}
        \cc{other recipients}
      \end{letter}
    \end{document}

enter image description here


Agar dastlabki kodingizda visualize.loc ni yuklasangiz, ba'zi joylarning manzilini va hajmini ko'rsatishingiz mumkin:

\LoadLetterOption{visualize}
\showfields{head,foot,address,location,refline}

enter image description here

6
qo'shib qo'ydi
thanks @esdd bu mening xohlaganimga ham yaqin. Faqat mening adresimga ozgina pastga aylanish haqida qanday fikrdasiz?
qo'shib qo'ydi muallif Sebastian Paaske Tørholm, manba
@PierrickBersier Yangilangan javobni ko'ring.
qo'shib qo'ydi muallif user43317, manba

Xo'sh, hujjatlarni chletter (konsol/terminalda texdoc chletter harakat qilib ko'ring) deb o'qidingizmi?

25-sahifada siz o'zgartirishingiz kerak bo'lgan "5.5.1 Antetli kichraytirishi" bo'limini topishingiz mumkin.

Iltimos, quyidagi MWE-ni ishga tushiring (va \ makeatletter va \ makeatother o'rtasidagi kodni tekshiring) (kod @ foydalanadi)):

\documentclass[%
  %leftwin % Adresse Empfänger links, sonst rechts
 %,leftsig
 %,foldmark 
 %,footfill
]{chletter}
\usepackage[english]{babel}


\makeatletter  % <=====================================================
\[email protected]
  \def\titletopmatter%
  {\splitfield
   {}{\fromlocation\par\fromname\par\fromaddress\par\telephonenum}}
  \def\titlemidmatter%
  {\returnaddress\par\toname\par\toaddress}
  \def\titlebotmatter%
  {\splitfield
  {\@date}{}} % <===== position of date in letter head!
  \else
  \def\titletopmatter%
  {\splitfield
  {\fromlocation\par\fromname\par\fromaddress\par\telephonenum}{}}
  \def\titlemidmatter%
  {\splitfield
  {}{\returnaddress\par\toname\par\toaddress}}
  \def\titlebotmatter%
  {\splitfield
  {\@date}{}}\fi  % <===== position of date in letter head!
\makeatother  % <=====================================================


\name{My Name}
\address{My Street \\ My city}
\date{The place where I am, \today}
\title{\textbf{The title of the job \quad --\quad 100\%}}

\begin{document}
\begin{letter}{Compagny\\Contact person\\Street\\City}
\object
\opening{Dear Mr. Forexample,}
My letter body.
\closing{Best regards}
%\encl{enclosures}
%\cc{other recipients}
\end{letter}
\end{document}

va natijasini ko'ring:

enter image description here

4
qo'shib qo'ydi
Rahmat ! Bu ishni bajaradi! Aslida men Google bilan topgan PDF hujjatlarni qizil rangga aylantirdim ... Lekin men tarixning o'rnini o'zgartiradigan aniq joyni aniqlay olmadim. Sizning javobingizni ko'rganimdan keyin bu juda ravshan ko'rinadi ...
qo'shib qo'ydi muallif Sebastian Paaske Tørholm, manba

Xo'sh, hujjatlarni chletter (konsol/terminalda texdoc chletter harakat qilib ko'ring) deb o'qidingizmi?

25-sahifada siz o'zgartirishingiz kerak bo'lgan "5.5.1 Antetli kichraytirishi" bo'limini topishingiz mumkin.

Iltimos, quyidagi MWE-ni ishga tushiring (va \ makeatletter va \ makeatother o'rtasidagi kodni tekshiring) (kod @ foydalanadi)):

\documentclass[%
  %leftwin % Adresse Empfänger links, sonst rechts
 %,leftsig
 %,foldmark 
 %,footfill
]{chletter}
\usepackage[english]{babel}


\makeatletter  % <=====================================================
\[email protected]
  \def\titletopmatter%
  {\splitfield
   {}{\fromlocation\par\fromname\par\fromaddress\par\telephonenum}}
  \def\titlemidmatter%
  {\returnaddress\par\toname\par\toaddress}
  \def\titlebotmatter%
  {\splitfield
  {\@date}{}} % <===== position of date in letter head!
  \else
  \def\titletopmatter%
  {\splitfield
  {\fromlocation\par\fromname\par\fromaddress\par\telephonenum}{}}
  \def\titlemidmatter%
  {\splitfield
  {}{\returnaddress\par\toname\par\toaddress}}
  \def\titlebotmatter%
  {\splitfield
  {\@date}{}}\fi  % <===== position of date in letter head!
\makeatother  % <=====================================================


\name{My Name}
\address{My Street \\ My city}
\date{The place where I am, \today}
\title{\textbf{The title of the job \quad --\quad 100\%}}

\begin{document}
\begin{letter}{Compagny\\Contact person\\Street\\City}
\object
\opening{Dear Mr. Forexample,}
My letter body.
\closing{Best regards}
%\encl{enclosures}
%\cc{other recipients}
\end{letter}
\end{document}

va natijasini ko'ring:

enter image description here

4
qo'shib qo'ydi
Rahmat ! Bu ishni bajaradi! Aslida men Google bilan topgan PDF hujjatlarni qizil rangga aylantirdim ... Lekin men tarixning o'rnini o'zgartiradigan aniq joyni aniqlay olmadim. Sizning javobingizni ko'rganimdan keyin bu juda ravshan ko'rinadi ...
qo'shib qo'ydi muallif Sebastian Paaske Tørholm, manba

Hech qachon letter -like sinflardan foydalandim. Ular preamble tarkibida juda ko'p miqdordagi joylashtirilgan kontentni belgilashga moyil bo'lib, tartibga juda kichik tuzatishlarni amalga oshirish juda qiyin (yoki kamida noqulay).

Harflar maqola ichida osongina o'rnatiladi:

enter image description here

\documentclass{article}

\usepackage{lipsum,graphicx}
\usepackage[margin=1in]{geometry}

\setlength{\parindent}{0pt}
\setlength{\parskip}{\baselineskip}
\pagestyle{empty}% Remove any headers/footers
\begin{document}
\sffamily% Default font for this letter

\begin{tabular}{@{}l}
  Jean Dupont \\
  Chemin des Capucines 3 \\
  1200 Gen\`eve
\end{tabular}

\hfill
\begin{tabular}{@{}p{.5\linewidth}@{}}
  A l'attention de Madame Lara Meier \\
  Chef du personnel \\
  centrale \'electrique de Limmattal \\
  Hagenholzstrasse 74 \\
  8037 Limmattal
\end{tabular}

Gen\`eve, le 20 f\'evrier 2015

\bigskip

\textbf{Candidature pour le poste d'ing\'enieur au sein de votre d\'epartement WORLD}

\bigskip

Madame,

\lipsum[1-3]% Your letter content

Dans l'attente de vos nouvelles, je vous prie de recevoir, Madame, mes salutations les meilleures.

Jean Dupont

% http://tex.stackexchange.com/q/32911/5764
\includegraphics[height=3\baselineskip]{example-image}

Annexes: CV, dipl\^omes at certificats de travail

\end{document}
2
qo'shib qo'ydi
Sizga javobingiz uchun rahmat @ werner. Bu, albatta, qiyin va oldinga qaratilgan. Aslida men buni scrlttr2 bilan qilishni tanladim, lekin keyingi safar maqolani o'zimning ichki qismimda yozishni o'ylayman.
qo'shib qo'ydi muallif Sebastian Paaske Tørholm, manba

Hech qachon letter -like sinflardan foydalandim. Ular preamble tarkibida juda ko'p miqdordagi joylashtirilgan kontentni belgilashga moyil bo'lib, tartibga juda kichik tuzatishlarni amalga oshirish juda qiyin (yoki kamida noqulay).

Harflar maqola ichida osongina o'rnatiladi:

enter image description here

\documentclass{article}

\usepackage{lipsum,graphicx}
\usepackage[margin=1in]{geometry}

\setlength{\parindent}{0pt}
\setlength{\parskip}{\baselineskip}
\pagestyle{empty}% Remove any headers/footers
\begin{document}
\sffamily% Default font for this letter

\begin{tabular}{@{}l}
  Jean Dupont \\
  Chemin des Capucines 3 \\
  1200 Gen\`eve
\end{tabular}

\hfill
\begin{tabular}{@{}p{.5\linewidth}@{}}
  A l'attention de Madame Lara Meier \\
  Chef du personnel \\
  centrale \'electrique de Limmattal \\
  Hagenholzstrasse 74 \\
  8037 Limmattal
\end{tabular}

Gen\`eve, le 20 f\'evrier 2015

\bigskip

\textbf{Candidature pour le poste d'ing\'enieur au sein de votre d\'epartement WORLD}

\bigskip

Madame,

\lipsum[1-3]% Your letter content

Dans l'attente de vos nouvelles, je vous prie de recevoir, Madame, mes salutations les meilleures.

Jean Dupont

% http://tex.stackexchange.com/q/32911/5764
\includegraphics[height=3\baselineskip]{example-image}

Annexes: CV, dipl\^omes at certificats de travail

\end{document}
2
qo'shib qo'ydi
Sizga javobingiz uchun rahmat @ werner. Bu, albatta, qiyin va oldinga qaratilgan. Aslida men buni scrlttr2 bilan qilishni tanladim, lekin keyingi safar maqolani o'zimning ichki qismimda yozishni o'ylayman.
qo'shib qo'ydi muallif Sebastian Paaske Tørholm, manba