I am trying to change the style of block quote formatting in org-mode export to PDF via LaTeX.
Using this answer, I defined a new LaTeX environment called fancyquotes. I am successfully able to create block quotes with this styling by creating a special block:
#+BEGIN_fancyquotes In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. ---Douglas Adams #+END_fancyquotes This successfully creates the desired TeX output:
\begin{fancyquotes} In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. ---Douglas Adams \end{fancyquotes} However, for compatibility with org-mode export to HTML, I would prefer to use not a special block, but rather standard quote blocks:
#+BEGIN_QUOTE In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. ---Douglas Adams #+END_QUOTE The problem is that, by default, the above gets exported using the quote label:
\begin{quote} In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. ---Douglas Adams \end{quote} How do I direct org-mode to automatically export standard quote blocks to my newly defined new LaTeX environment and apply the labels \begin{fancyquotes} and \end{fancyquotes}? In other words, how do I redefine org-mode quote blocks in LaTeX export, changing it from the default label quote to the label fancyquotes?
Bonus question: For the fancyquotes LaTeX environment I defined, how do I specify the shadequoteauthor in my org-mode source?)