Caption an image
I need to put attributions on all my images/figures in my doc. I attempted to go into HTML and enter the <figure> tag, but that did not work.
Is there a secret to adding captions to figure/images in LibreText? It is a requirement for the project I am working on. Thanks Pat
|
|
|
|
Delmar Larsen <dlarsen@...>
Definitions:
|
|
|
|
Patrick McClanahan
Captions....I just need to know the html syntax - I tried and it made a mess...so I have something messed dup in my head about how the syntax works.
Pat
Patrick McClanahan
Professor of Computer Science
Science and Math 252
San Joaquin Delta College
Stockton, CA
(209) 954-5323
From: main@Libretexts-ConstructionForum.groups.io <main@Libretexts-ConstructionForum.groups.io> on behalf of Delmar Larsen via groups.io <dlarsen@...>
Sent: Monday, August 24, 2020 1:26 PM To: main@Libretexts-ConstructionForum.groups.io <main@Libretexts-ConstructionForum.groups.io> Subject: Re: [Libretexts-ConstructionForum] Caption an image
Definitions:
|
|
|
|
Delmar Larsen <dlarsen@...>
ok. Go to Elements and templates...
then select the first on the list and insert template. That will copy the code you want. You can reverse engineer it. If you wan, I can also use the bot to add the sub-block in all your figure block on you book with dummy text and you edit.
|
|
|
|
Patrick McClanahan
Runnin the bot would be AWESOME!!! Save me a boat load of time that way. I can add them from here on, but was not to excited about wading through the first half of the book and manually doing that.
Thanks
Pat
Patrick McClanahan
Professor of Computer Science
Science and Math 252
San Joaquin Delta College
Stockton, CA
(209) 954-5323
From: main@Libretexts-ConstructionForum.groups.io <main@Libretexts-ConstructionForum.groups.io> on behalf of Delmar Larsen via groups.io <dlarsen@...>
Sent: Monday, August 24, 2020 1:33 PM To: main@Libretexts-ConstructionForum.groups.io <main@Libretexts-ConstructionForum.groups.io> Subject: Re: [Libretexts-ConstructionForum] Caption an image
ok. Go to Elements and templates...
then select the first on the list and insert template. That will copy the code you want. You can reverse engineer it. If you wan, I can also use the bot to add the sub-block in all your figure block on you book with dummy text and you edit.
|
|
|
|
Delmar Larsen <dlarsen@...>
ok. Quesitons:
Which book? Which chapters (all is easier)? Do you want a dynamic Figure number added? (you have to manually number them, but they are synced to the title number so you can rearrange pages without having to deal with Figure numbers (or equations) I will just add a <figcaption>text</figcaption> before all </figure> text in your book/chapters. If you already have a caption in a page, then you have to clean up.
|
|
|
|
Patrick McClanahan
The OERI Linux book
Yes - all chapters...
Pat
Patrick McClanahan
Professor of Computer Science
Science and Math 252
San Joaquin Delta College
Stockton, CA
(209) 954-5323
From: main@Libretexts-ConstructionForum.groups.io <main@Libretexts-ConstructionForum.groups.io> on behalf of Delmar Larsen via groups.io <dlarsen@...>
Sent: Monday, August 24, 2020 1:41 PM To: main@Libretexts-ConstructionForum.groups.io <main@Libretexts-ConstructionForum.groups.io> Subject: Re: [Libretexts-ConstructionForum] Caption an image
ok. Quesitons:
Which book? Which chapters (all is easier)? Do you want a dynamic Figure number added? (you have to manually number them, but they are synced to the title number so you can rearrange pages without having to deal with Figure numbers (or equations) I will just add a <figcaption>text</figcaption> before all </figure> text in your book/chapters. If you already have a caption in a page, then you have to clean up.
|
|
|
|
Delmar Larsen <dlarsen@...>
Let me hold off on this until this evening.
The images I see are not wrapped in a <figure> block and they need to for the caption to be semantically connected to the image. Some are not separated within <p></p>, which may cause some issues. and your images are right or left justified, so I need to mock up a new figure class and test it out before I do a massive change on your book (that can go awry if poorly done).
|
|
|
|
Patrick McClanahan
Okay....thanks
Patrick McClanahan
Professor of Computer Science
Science and Math 252
San Joaquin Delta College
Stockton, CA
(209) 954-5323
From: main@Libretexts-ConstructionForum.groups.io <main@Libretexts-ConstructionForum.groups.io> on behalf of Delmar Larsen via groups.io <dlarsen@...>
Sent: Monday, August 24, 2020 1:48 PM To: main@Libretexts-ConstructionForum.groups.io <main@Libretexts-ConstructionForum.groups.io> Subject: Re: [Libretexts-ConstructionForum] Caption an image
Let me hold off on this until this evening.
The images I see are not wrapped in a <figure> block and they need to for the caption to be semantically connected to the image. Some are not separated within <p></p>, which may cause some issues. and your images are right or left justified, so I need to mock up a new figure class and test it out before I do a massive change on your book (that can go awry if poorly done).
|
|
|