[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Problem with :placement ?
From: |
Rasmus |
Subject: |
Re: [O] Problem with :placement ? |
Date: |
Thu, 16 Jul 2015 11:00:34 +0200 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
Fabrice Popineau <address@hidden> 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