Advertisement
Guest User

Untitled

a guest
May 31st, 2020
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 1.61 KB | None | 0 0
  1. \documentclass[
  2. german,
  3. fontsize=11pt,
  4. paper=a6,
  5. landscape,
  6. ]{scrartcl}
  7.  
  8. \usepackage[T1]{fontenc}
  9. \usepackage[utf8]{inputenc}
  10.  
  11. \newcounter{cntA}\setcounter{cntA}{0}
  12. \newcounter{cntB}\setcounter{cntB}{0}
  13. \newcounter{cntC}\setcounter{cntC}{0}
  14. \newcommand{\usecnt}{%
  15.     \edef\letter{\Alph{subsection}}%
  16.     \refstepcounter{cnt\letter}%
  17.     \arabic{cnt\letter}%
  18. }
  19.  
  20. \newcommand{\addpageauto}[2]{%
  21.     \begin{flushleft}
  22.         \fbox{\usecnt}~
  23.         \begin{minipage}[t]{0.9\textwidth}
  24.             {#1}%
  25.     \end{minipage}\end{flushleft}\newpage%
  26.     \noindent{%
  27.         #2}%
  28.     \newpage
  29. }
  30.  
  31. \begin{document}
  32.    
  33. \section{The first field/topic, Walls}
  34.  
  35. \subsection{The first subsection is from a specific literature source, John Smith}
  36.  
  37. \addpageauto{Walls are\ldots}{}
  38.  
  39. \subsection{Content in the second subsection(s) is always from a certain institute}
  40.  
  41. \addpageauto{Wall can be\ldots}{incredibly boring to observe. They just stand still!}
  42.  
  43. \subsection{The third subsection is for another author, namely Jane Doe}
  44.  
  45. \addpageauto{Walls are great, but\ldots}{need some proper building first.}
  46.  
  47. \addpageauto{The 2nd flashcard by Jane Doe about walls}{No idea.}
  48.  
  49. \addpageauto{Another flashcard to memorize}{How much can someone write about walls, really??}
  50.  
  51. \section{The second field/topic, Trees}
  52.  
  53. \subsection{Again the first subsection with content by John Smith}
  54.  
  55. \addpageauto{Yes}{No}
  56.  
  57. \subsection{The second subsection is again from content by that certain institute}
  58.  
  59. \addpageauto{Leafs}{Green}
  60.  
  61. \subsection{The third subsection for Jane Doe's comments on the matter}
  62.  
  63. \addpageauto{Trees are not}{my thing. Too woody.}
  64.  
  65. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement