You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

92 lines
2.1 KiB

  1. \documentclass[a4paper,12pt]{article}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage[T1]{fontenc}
  4. \usepackage[margin=25mm]{geometry}
  5. \usepackage{graphicx}
  6. \usepackage{hyperref}
  7. % Fix Unicode issues
  8. \DeclareUnicodeCharacter{202F}{~}
  9. \DeclareUnicodeCharacter{00B0}{$^\circ$}
  10. \hypersetup{pdfinfo={
  11. Title={+++DOCUMENT-TITLE+++},
  12. Creator={Kosmorro v+++KOSMORRO-VERSION+++}
  13. }}
  14. \pagenumbering{gobble}
  15. \setcounter{secnumdepth}{0}
  16. \title{\sffamily\href{http://kosmorro.space}{\includegraphics[width=5cm]{+++KOSMORRO-LOGO+++}}\\+++DOCUMENT-TITLE+++}
  17. \date{\vspace{-11mm}\sffamily +++DOCUMENT-DATE+++}
  18. \begin{document}
  19. \newcommand{\object}[4]{
  20. \hline
  21. \textbf{#1} & {#2} & {#3} & {#4}\\
  22. }
  23. \newcommand{\moonphase}[2]{
  24. \begin{center}
  25. \begin{minipage}{2cm}
  26. \includegraphics[width=\linewidth]{#1}
  27. \end{minipage}
  28. \hspace{5mm}
  29. \begin{minipage}{7cm}
  30. \textbf{+++CURRENT-MOON-PHASE-TITLE+++}\\#2
  31. \end{minipage}
  32. \end{center}
  33. }
  34. \newenvironment{ephemerides}{
  35. \begin{table}[h]
  36. \centering
  37. \begin{tabular}{lccc}
  38. \textbf{+++EPHEMERIDES-OBJECT+++} &
  39. \textbf{+++EPHEMERIDES-RISE-TIME+++} &
  40. \textbf{+++EPHEMERIDES-CULMINATION-TIME+++} &
  41. \textbf{+++EPHEMERIDES-SET-TIME+++}\\
  42. \hline
  43. }{
  44. \end{tabular}
  45. \end{table}
  46. }
  47. \newcommand{\event}[2]{
  48. \textbf{#1} & {#2}\\
  49. }
  50. \newenvironment{events}{
  51. \begin{table}[h]
  52. \begin{tabular}{ll}
  53. }{
  54. \end{tabular}
  55. \end{table}
  56. }
  57. \maketitle
  58. +++INTRODUCTION+++
  59. \moonphase{+++MOON-PHASE-GRAPHICS+++}{+++CURRENT-MOON-PHASE+++}
  60. %%% BEGIN-EPHEMERIDES-SECTION
  61. \section{\sffamily +++SECTION-EPHEMERIDES+++}
  62. \begin{ephemerides}
  63. +++EPHEMERIDES+++
  64. \end{ephemerides}
  65. %%% END-EPHEMERIDES-SECTION
  66. %%% BEGIN-EVENTS-SECTION
  67. \section{\sffamily +++SECTION-EVENTS+++}
  68. \begin{events}
  69. +++EVENTS+++
  70. \end{events}
  71. %%% END-EVENTS-SECTION
  72. \end{document}