My org file contains many buffer settings/export options lines at the top, such as:
#+LaTeX_CLASS: koma-article
#+LaTeX_CLASS_OPTIONS: [a4paper,captions=nooneline,DIV=15]
This takes up a lot of screen space and requires having to scroll down to the working area when I open the file. Is there a way to hide these, such as in a drawer or block, that can be folded up or down as needed? I found this link which offers the use of #+SETUPFILE but I would prefer an option that keeps the options in the file I am working in. I tried creating a drawer as in:
#+BEGIN_OPTIONS
#+LaTeX_CLASS: koma-article
#+LaTeX_CLASS_OPTIONS: [a4paper,captions=nooneline,DIV=15]
...
#+END_OPTIONS
The above worked as I would like, being able to fold the options away into a single line at the top of my file. However, on export to PDF the contents of the drawer were displayed in the PDF file (The export options in the drawer were also applied to the format of the exported PDF, which is what I want, just without them displaying in the PDF itself).
Thank you in advance for any tips or advice.