Fabrice Popineau <fabrice.popin...@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


Reply via email to