Advertisement
Guest User

Untitled

a guest
Sep 20th, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. documentclass[letterpaper, 10pts]{scrartcl}
  2. usepackage{fontspec}
  3. usepackage{polyglossia}
  4. usepackage[Latin,Devanagari]{ucharclasses}
  5. setmainfont{Charis SIL}
  6. % Maybe Sanskrit 2003 doesn't need the following line;
  7. % in this case change devanagarifont in the setTransitions
  8. % commands to normalfont
  9. newfontfamily{devanagarifont}{Sanskrit 2003}
  10. % choose the font for English
  11. newfontfamily{englishfont}[Ligatures=TeX]{Charis SIL}
  12. setmainlanguage{hindi}
  13. setotherlanguage{english}
  14. setTransitionsFor{Latin}
  15. {hyphenrules{english}englishfont}
  16. {hyphenrules{hindi}devanagarifont}
  17. setTransitionsFor{Devanagari}
  18. {hyphenrules{hindi}devanagarifont}
  19. {hyphenrules{english}englishfont}
  20. %----------------------------------------------------------------------------------------------
  21. usepackage{fancyhdr, tikz, eso-pic}
  22. usepackage[pdfauthor={Vaibhav Banait},%
  23. pdftitle={Consultation},%
  24. pagebackref=true,%
  25. ]{hyperref}
  26. usepackage[headsep=3 cm,top=5 cm, bottom=5 cm, footskip=1 cm]{geometry}
  27. %usepackage{bookman}
  28. AddToShipoutPicture{%
  29. AtTextUpperLeft{%
  30. makebox(420,75)[lt]{%
  31. small%
  32. begin{tabular}{@{}*{3}{p{3.5cm}}@{}}%
  33. textbf{Name}newlinemypatient&%
  34. textbf{Date of birth}newlinemydate&%
  35. textbf{Address}newlinemyaddress%
  36. end{tabular}%
  37. }}}
  38. pagestyle{fancy}
  39. fancyhf{}
  40. fancyhead[LO]{{large DR ABCD} \ MD, DNB, DM\Gastroenterologist\ Reg No XXXX}
  41. fancyhead[RO]{{large DR CDEF }\ MBBS, DOMS \Eye surgeon \ Reg No 2000/xx/xx}
  42. renewcommand{footrulewidth}{0.4pt}%
  43. fancyfoot[CO]{{scshape XXXX CLINIC}\ 148, XXX Nagar,\ CITY 75 \ Phone: xxxxxxxxx, 0986xxxxxx6}
  44.  
  45. usepackage{titling}
  46. posttitle{parend{center}}
  47. setlength{droptitle}{-80pt}
  48. title{}
  49. author{}
  50. begin{document}
  51. section{History}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement