org-mode-ox-odt icon indicating copy to clipboard operation
org-mode-ox-odt copied to clipboard

Feature request: add label/description to captioned figure

Open QiangF opened this issue 7 years ago • 2 comments

The use cases are:

  1. descriptions in a figure may help understanding
  2. label can be used to distiguish subfiugres, if you set the caption of several captioned figure to empty, and place them side by side, then add a caption for the collection.

Adding label/description to captioned figure this way eleminate the need to modify the original image file.

Since the caption and image are in one common frame, just add three property options like this.

#+ATTR_ODT: :label (a) :label_font_size 10 :label_position (0.1,0.1)

A odt example showing multi-object anchored in one common frame is here. http://s000.tinyupload.com/?file_id=83085547755095859652

QiangF avatar Jul 20 '17 07:07 QiangF

Could you please review this issue?

A odt example showing multi-object anchored in one common frame is here. http://s000.tinyupload.com/?file_id=83085547755095859652

You have attached some file to this bug report. The file is not accessible any more. I don't have local copies of this file. If you have any local copies, could you please attach it here. I will take a look at it.

kjambunathan avatar Mar 05 '19 03:03 kjambunathan

I was thinking of putting subfigure label inside the image, for example with a property like annotation, and its value is the annotation text and position relative to the frame.

#+CAPTION: Animals (a) A dog (b) A goat
#+ATTR_ODT: :category "figure"
#+ATTR_ODT: :list-table t
-
-
    #+attr_odt: :height 6.1 :anchor "as-char" :annotation ("(a)" 1.8 0.2)
    [[./org-mode-unicorn.png]]
-
    #+attr_odt: :height 6.1 :anchor "as-char" :annotation ("(b)" 1.8 0.2)
    [[./org-mode-unicorn.png]]

And it should look like this:

image_with_in-frame_annotation.zip

QiangF avatar Mar 06 '19 02:03 QiangF