From b3484b533476aa6d6263775b7a79670bc9eec70e Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 21 Dec 2016 02:21:54 +0530 Subject: Initial commit --- ksh-report-header.el | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ksh-report-header.el (limited to 'ksh-report-header.el') diff --git a/ksh-report-header.el b/ksh-report-header.el new file mode 100644 index 0000000..6194250 --- /dev/null +++ b/ksh-report-header.el @@ -0,0 +1,20 @@ +(defun make-report-header (title) + (org-keywords + '(("TITLE" . "Kuzhanthai Sanjeevi Hospital") + ("AUTHOR" . "Dr. Serene Isaac, MD, DGO, DNB"))) + (org-latex-headers + `("\\usepackage{fullpage}" + "\\usepackage{nopageno}" + "\\usepackage[ddmmyyyy]{datetime}" + "\\renewcommand{\\dateseparator}{-}" + "\\setlength{\\parindent}{0cm}" + "\\usepackage[tiny]{titlesec}" + "\\usepackage{wasysym}" + "\\usepackage{titling}" + ,(format "\\pretitle{\\hrule \\begin{center} {\\Large \\textbf{%s}} \\par \\small \\sc}" title) + "\\posttitle{\\par 17, Jawahar Street, Ramavarmapuram, Nagercoil - 629001 \\par \\phone \\, 223374 \\end{center}}" + "\\preauthor{}" + "\\postauthor{\\par Obstetrician and Gynaecologist}" + "\\predate{\\hfill \\textbf{Date: }}" + "\\date{\\today}" + "\\postdate{\\vspace{1em} \\hrule \\par}"))) -- cgit v1.2.3