\documentclass{letter}

قالب خطاب LaTeX

قوالب LaTeX مجانية للمراسلات الرسمية ومراسلات الأعمال. تتولى فئة المستند letter كتل العناوين والتاريخ والتحية والمتن والخاتمة والتوقيع، وكلها بتباعد دقيق وفق المعايير المهنية.

\section{بنية فئة الخطاب}

أربع لبنات أساسية في كل خطاب

توفر الفئة letter في LaTeX أربعة أوامر مخصصة تغني عن التنسيق اليدوي. يتولى كل منها قواعده الطباعية الخاصة لتركز أنت على المحتوى.

\address{}

عنوان المرسل

يحدد عنوان الرد المطبوع أعلى كل خطاب في المستند. استخدم فواصل أسطر بشرطتين مائلتين عكسيتين داخل الأقواس. يُعرَّف مرة واحدة في المقدمة (preamble).

\signature{}

كتلة التوقيع

The name and title that appear below the closing. LaTeX reserves space for a handwritten signature between \closing and the printed text.

\opening{}

التحية

The greeting line — e.g., \opening{Dear Dr. Smith,}. Required at the start of every letter environment. The date is inserted automatically above it.

\closing{}

عبارة الختام

The sign-off line — e.g., \closing{Yours sincerely,}. LaTeX places it flush left followed by vertical space and then the printed signature.

\begin{letter}

قالب خطاب أعمال

خطاب أعمال رسمي كامل جاهز للتجميع بـ pdfLaTeX. تحمّل المقدمة (preamble) الحزمة geometry لهوامش بمقدار بوصة واحدة، وparskip لتباعد الفقرات، وmicrotype لتحسينات طباعية دقيقة بمستوى احترافي.

business-letter.tex
\documentclass[12pt]{letter}
\usepackage[margin=1in]{geometry}
\usepackage{parskip}
\usepackage{microtype}

\signature{Jane Smith\\Marketing Director\\FormaTeX Solutions Inc.}
\address{123 Business Avenue\\Suite 400\\New York, NY 10001}

\begin{document}

\begin{letter}{Mr. John Doe\\Chief Executive Officer\\Acme Corporation\\456 Corporate Blvd\\Los Angeles, CA 90001}

\opening{Dear Mr. Doe,}

I am writing to express our interest in establishing a partnership between
our two organisations. FormaTeX has developed a robust LaTeX compilation API
that enables businesses to generate professional PDF documents programmatically
at scale.

Our platform processes tens of thousands of documents daily with 99.9\%
uptime, delivering pixel-perfect typographic output across all standard LaTeX
document classes---including \texttt{article}, \texttt{report}, \texttt{book},
and \texttt{beamer}---as well as custom document types.

We would welcome the opportunity to discuss how FormaTeX could integrate
seamlessly into your document workflow. Please do not hesitate to contact me
at your earliest convenience to arrange a call.

\closing{Yours sincerely,}

\ps{P.S.\enspace You may try FormaTeX free of charge at
\texttt{https://formatex.io/playground}.}

\end{letter}

\end{document}

نصيحة: يوضع عنوان المستلم داخل وسيط \begin{letter} وليس في المقدمة (preamble). يتيح لك ذلك كتابة عدة خطابات إلى مستلمين مختلفين في ملف .tex واحد بتكرار بيئة letter.

\section{خطاب شخصي}

نسخة الخطاب الشخصي

تستخدم الخطابات الشخصية \name في المقدمة (preamble) بدلًا من ترويسة عنوان الشركة. والبنية متطابقة فيما عدا ذلك: البيئة letter نفسها والأمران \opening و\closing نفسهما، مما يسهّل التبديل بين الأنماط بتغيير سطر واحد.

الفروق الرئيسية عن قالب الأعمال: لا اعتماد على microtype، ومقدمة أبسط، وخاتمة أدفأ مثل \closing{Warm regards,} بدلًا من \closing{Yours sincerely,}.

personal-letter.tex
\documentclass[12pt]{letter}
\usepackage[margin=1in]{geometry}
\usepackage{parskip}

% Personal letters use \name instead of \address header
\name{Alice Johnson}
\address{42 Maple Street\\Boston, MA 02101}

\begin{document}

\begin{letter}{Bob Williams\\18 Oak Lane\\Cambridge, MA 02139}

\opening{Dear Bob,}

It was wonderful to see you at the conference last month. I have been
meaning to write and follow up on our conversation about the new project.

I think the approach we discussed has real merit, and I would love to
explore it further with you over coffee sometime next week if you are free.

\closing{Warm regards,}

\end{letter}

\end{document}

جرّب قالب الخطاب هذا في الـ playground

قالب خطاب الأعمال محمّل مسبقًا وجاهز للتجميع. عدّل العناوين ونص المتن والتوقيع، ثم نزّل ملف PDF. لا حاجة إلى تثبيت.

\section{نصائح للتخصيص}

طوّع القالب لاحتياجاتك

فئة letter مبسطة عن قصد. تغطي هذه التعديلات الأربعة أكثر متطلبات التخصيص شيوعًا دون اللجوء إلى حزم خارجية.

غيّر حجم الخط

مرّر 10pt أو 11pt أو 12pt كخيار للفئة. القيمة الافتراضية 10pt وقد تبدو صغيرة للخطابات؛ ويُعد 12pt معيارًا لمعظم المراسلات الرسمية.

LaTeX
\documentclass[12pt]{letter}

أضف ترويسة رسمية للشركة

Redefine \opening to insert a logo with \includegraphics before the salutation. Combine with the graphicx package for precise placement.

LaTeX
\usepackage{graphicx}
\renewcommand{\opening}[1]{%
  \includegraphics[width=4cm]{logo}\\[1em]
  #1
}

الخطابات متعددة الصفحات

Insert \newpage inside the letter environment to force a page break. The letter class automatically re-prints the header on continuation pages.

LaTeX
...end of first page content.

\newpage

Continued from previous page...

تحكّم في التاريخ

Use \date{} to suppress the automatic date, or \date{1 January 2025} to set a fixed one. Leave it out entirely and LaTeX prints today's date.

LaTeX
% Suppress date
\date{}

% Or set a fixed date
\date{1 January 2025}

\end{letter}

هل أنت جاهز لإرسال خطابك؟

افتح القالب في FormaTeX، واملأ بياناتك، وجمّع ملف PDF احترافيًا في ثوانٍ، دون تثبيت TeX Live ودون Docker ودون إعداد.

أنشئ حسابًا