all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "XP Chen" <chxp_moon@163.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: “#+ATTR_LATEX: :environment minipage :option [b]{0.6\textwidth} ” no working when translate the following latex fragments
Date: Wed, 19 Apr 2017 19:20:32 +0800 (CST)	[thread overview]
Message-ID: <7a52d0db.318.15b85f14001.Coremail.chxp_moon@163.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 936 bytes --]

How to generate the following latex fragment through org-mode "#+ATTR_LATEX:" or others:

\begin{figure}[!htbp]
  \centering
  \begin{minipage}[b]{0.6\textwidth}
    \captionstyle{\centering}
    \centering
    \includegraphics[width=4cm]{fig/test1.png}
    \bicaption[fig1]{Where}{Fig}{there is a way.}
  \end{minipage}     
\end{figure}

I have done partially of it by using:

#+ATTR_LATEX::caption \bicaption[fig1]{Where}{Fig}{there is a way.}:width 10cm
[[file:fig/test1.png]]

However the following no work:

#+ATTR_LATEX::environment minipage :option [b]{0.6\textwidth}:caption \bicaption[fig1]{Where}{Fig}{there is a way.}:width 10cm
[[file:fig/test1.png]]

I donnot know how to after? The ":environment" and ":option" seems not to work after the try, no "\begin{minipage}[b]{0.6\textwidth}" showed in the out .tex file

I want to generate ODT file meanwhile, so I left the picture as the link format.

Thanks very much.









[-- Attachment #2: Type: text/html, Size: 4387 bytes --]

             reply	other threads:[~2017-04-19 11:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-19 11:20 XP Chen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-04-19 11:07 “#+ATTR_LATEX: :environment minipage :option [b]{0.6\textwidth} ” no working when translate the following latex fragments XP Chen

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=7a52d0db.318.15b85f14001.Coremail.chxp_moon@163.com \
    --to=chxp_moon@163.com \
    --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.