From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Problem with :placement ? Date: Thu, 16 Jul 2015 11:00:34 +0200 Message-ID: <87twt4xyrx.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFf2B-0006FV-NQ for emacs-orgmode@gnu.org; Thu, 16 Jul 2015 05:00:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFf25-0004Nd-EO for emacs-orgmode@gnu.org; Thu, 16 Jul 2015 05:00:51 -0400 Received: from plane.gmane.org ([80.91.229.3]:39146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFf24-0004NL-Rh for emacs-orgmode@gnu.org; Thu, 16 Jul 2015 05:00:45 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZFf20-0006xC-9g for emacs-orgmode@gnu.org; Thu, 16 Jul 2015 11:00:40 +0200 Received: from ip5b4025d5.dynamic.kabel-deutschland.de ([91.64.37.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Jul 2015 11:00:40 +0200 Received: from rasmus by ip5b4025d5.dynamic.kabel-deutschland.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Jul 2015 11:00:40 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Fabrice Popineau 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