Created
March 3, 2022 09:10
-
-
Save fmitha/b8c05013695d0b14757c26fc259deadf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[12pt,sections,headheight=30pt,headinclude,firsthead=false,firstfoot=false,foldmarks=false,foldmarks=blmtP,fromalign=center,fromphone,fromemail,version=last, backaddress=false, subject=titled, twoside=semi, cleardoublepage=current, pagenumber=headright, topright]{scrlttr2} | |
\renewcommand\pagemark{{\usekomafont{pagenumber}This is page number \thepage\ }} | |
\usepackage{scrlayer-scrpage} | |
\ohead*{\jobname.tex\hspace{0.5cm}\today} | |
\renewcommand*{\letterpagestyle}{scrheadings} | |
\usepackage{lipsum} | |
\usepackage{lastpage} | |
\RequirePackage[T1]{fontenc} | |
\begin{document} | |
\def\today{19th February, 2022} | |
\begin{letter}{Name} | |
\opening{Dear Name,} | |
\lipsum | |
\end{letter} | |
\title{Foo} | |
%\maketitle | |
\section{Some Section} | |
\lipsum | |
\end{document} | |
%%% Local Variables: | |
%%% mode: latex | |
%%% TeX-engine: luatex | |
%%% TeX-master: t | |
%%% End: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment