4

Is there a way in org-mode to setup

#+begin_quote
my quote here
#+end_quote

to be expanded in latex export as

\begin{quoting}
...
\end{quoting}

I want to use quoting latex package to style quote blocks.

1 Answer 1

5

The simplest way to do this is to use a special block. In your case:

#+begin_quoting
my quote here
#+end_quoting

Will be exported as

\begin{quoting}
my quote here
\end{quoting}

You can also modify the attributes of an example block to accomplish the same thing:

#+ATTR_LATEX: :environment quoting
#+BEGIN_EXAMPLE
My quote here
#+END_EXAMPLE

The relevant manual page is (org) LaTeX specific attributes

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.