![]() |
#31 | |||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,636
Karma: 8566337
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
![]() Quote:
![]() Quote:
|
|||
![]() |
![]() |
![]() |
#32 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
#33 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,103
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The only way to make sure the caption stays with the image is to make the caption part of the image at the bottom of the image. Otherwise, there is no way to know what font & font size will be used. I could up the font size enough where the caption would not stay on the same page or not properly display. But if the caption is part of the image, it will always display.
|
![]() |
![]() |
![]() |
#34 |
Annabelle Viau
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 16664
Join Date: Jan 2015
Location: Rishikesh, India
Device: iPad, Kobo, Windows 10 (ADE, Azardi), Android (Google Books, Bluefire)
|
This code isn’t a solution for the whole figure-caption problem. I made this code for two main reasons:
1. It makes us able to place an image that won’t exceed neither the height nor width of the page, yet keep it’s ratio, and will be centred in the page. 2. It makes us able to make the image respect a certain % of the height of the page. The code is advantageous from others because: 1. Doesn’t require to enter dimensions in pixel 2. Seems to be well supported (works on ADE, Kobo, Google Books, iBooks) The code was made for ePub3, but Ruben saw the SVG code was also supported on ePub2. Last edited by momoha; 02-07-2019 at 02:37 AM. |
![]() |
![]() |
![]() |
#35 | |
Annabelle Viau
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 16664
Join Date: Jan 2015
Location: Rishikesh, India
Device: iPad, Kobo, Windows 10 (ADE, Azardi), Android (Google Books, Bluefire)
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Novels set in revolutionary Russia? | seagull | Reading Recommendations | 15 | 03-18-2013 09:40 AM |
Revolutionary writing | amalfiman | General Discussions | 2 | 07-16-2010 10:28 PM |
Publishing: The Revolutionary Future | Pardoz | News | 35 | 02-23-2010 08:51 PM |
A revolutionary decade | Argel | News | 1 | 05-26-2008 07:42 AM |