emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* “#+ATTR_LATEX: :environment minipage :option [b]{0.6\textwidth} ” no working when translate the following latex fragments
@ 2017-04-19 11:07 XP Chen
  0 siblings, 0 replies; 2+ messages in thread
From: XP Chen @ 2017-04-19 11:07 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 933 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: 4400 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* “#+ATTR_LATEX: :environment minipage :option [b]{0.6\textwidth} ” no working when translate the following latex fragments
@ 2017-04-19 11:20 XP Chen
  0 siblings, 0 replies; 2+ messages in thread
From: XP Chen @ 2017-04-19 11:20 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-19 11:36 UTC | newest]

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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).