From: Olivier Berger <olivier.berger@telecom-sudparis.eu>
To: emacs-orgmode@gnu.org
Subject: Suggestion: provide more detailed example of :options for LaTeX special blocks
Date: Mon, 03 Jul 2017 11:26:28 +0200 [thread overview]
Message-ID: <87d19hooqj.fsf@inf-11879.int-evry.fr> (raw)
Hi.
May I suggest to improve the docs of
[[http://orgmode.org/manual/Special-blocks-in-LaTeX-export.html][Special
blocks in LaTeX export]] to make it more explicit that the special
blocks :options can contain both options or arguments of the LaTeX environment.
Here's an example:
#+ATTR_LATEX: :options [logo=\bcattention]{The warning}
#+BEGIN_bclogo
Attention, this is a warning
#+END_bclogo
This requires or course:
#+LaTeX_HEADER: \usepackage[tikz]{bclogo}
I've been struggling with trying to do this, until I read the sources of
ox-latex and noticed that it wasn't limited to the '[...]'
options... and much later re-read the manual to finally notice the
"appends as-is to that environment's opening string" ;-)
Maybe providing an example that uses both the '[...]' and the '{...}'
would save others' time.
Unfortunately, I'm not fluent enough in LaTeX to suggest a more
"generic" environment than bclogo, readily available in an article, for a
direct patch proposal to the manual sources.
Hope this helps.
Thanks in advance.
Best regards,
--
Olivier BERGER
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)
next reply other threads:[~2017-07-03 9:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-03 9:26 Olivier Berger [this message]
2017-07-25 8:06 ` Suggestion: provide more detailed example of :options for LaTeX special blocks Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d19hooqj.fsf@inf-11879.int-evry.fr \
--to=olivier.berger@telecom-sudparis.eu \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.