Files
latex/letter_flex.tex
T
2026-05-07 14:41:09 +02:00

51 lines
1014 B
TeX

\documentclass{article}
% Margins and Layout
\usepackage[margin=1in]{geometry}
\usepackage{hyperref}
% Remove paragraph indentation
\setlength{\parindent}{0pt}
% Add space between paragraphs
\setlength{\parskip}{1em}
\begin{document}
\begin{minipage}[t]{0.5\textwidth}
\textbf{Your Name} \\
Your Street Address \\
Your City, State, ZIP \\
your.email@example.com
\end{minipage}%
\hfill % Pushes the date to the right
\begin{minipage}[t]{0.4\textwidth}
\raggedleft
\textbf{Date:} \today
\end{minipage}
\vspace{2em}
% Recipient Block
\textbf{Recipient Name} \\
Recipient Title \\
Company Name \\
Company Address \\
City, State, ZIP
\vspace{2em}
% Salutation
Dear Recipient Name,
\textbf{Re: Subject of the Letter}
I am writing to formally request...
By using the `article` class, you have full control over the layout. This method is highly compatible with all LaTeX compilers (pdflatex, xelatex, lualatex) and works flawlessly in Neovim.
Best regards,
Your Name
\end{document}