From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Problem with :placement ?
Date: Thu, 16 Jul 2015 11:00:34 +0200 [thread overview]
Message-ID: <87twt4xyrx.fsf@gmx.us> (raw)
In-Reply-To: CAFgFV9MDNLxNbOeu1ygadBaiqtMOe+qrb2gj6dAj5bMnJteqww@mail.gmail.com
Fabrice Popineau <fabrice.popineau@gmail.com> writes:
> Hi,
>
> I have this figure :
>
> #+name: fig:fig-m
> #+caption: Machine de Turing \(M\) de l'exercice [[ex1]]
>
> #+attr_latex: :placement bp
>
> #+begin_figure
> \centering
> \begin{tikzpicture}[->,>=latex,semithick,state/.style={draw,circle,node
> distance=1.5cm,inner sep=5pt},scale=0.9,every node/.style={scale=0.9}]
> ...
> \end{tikzpicture}
> #+end_figure
>
> When it gets exported to latex, the :placement is not honoured.
> The doc states that attr_latex should be honoured by special blocks.
> Am I misunderstanding something here ?
That looks like a special block. Maybe:
#+attr_latex: :options [bp]
:placement seems to work images, tables, and src-codes e.g.
#+caption: test
#+attr_latex: :placement [tb]
| 1 |
#+caption: test
#+attr_latex: :placement [tb]
[[file:~/images/img.tikz]]
Rasmus
--
Lasciate ogni speranza o voi che entrate: siete nella mani di'machellaio
next prev parent reply other threads:[~2015-07-16 9:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-16 8:42 Problem with :placement ? Fabrice Popineau
2015-07-16 9:00 ` Rasmus [this message]
2015-07-17 7:39 ` Fabrice Popineau
2015-07-17 8:21 ` Rasmus
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=87twt4xyrx.fsf@gmx.us \
--to=rasmus@gmx.us \
--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.