How to adjust spacing between autonumbered figure & caption
How to adjust spacing between autonumbered figure & caption
How to adjust spacing between autonumbered figure & caption text?
I thought it would be in the Paragraph section when I edited the figure tag?
I thought it would be in the Paragraph section when I edited the figure tag?
-
- Sr. Propeller Head
- Posts: 248
- Joined: Thu May 24, 2018 3:11 pm
- Location: Queensland, Australia
Re: How to adjust spacing between autonumbered figure & capt
The vertical spacing between image and a following (or preceding) caption? You could set a margin-top or margin-bottom as appropriate on the image, or the caption style.
If you mean the spacing between the caption number and the caption itself, that's in the caption style. My p.FigureCaption style includes Which has three spaces after the auto-number defintiion and the closing quote.
Cheers,
Rob
If you mean the spacing between the caption number and the caption itself, that's in the caption style. My p.FigureCaption style includes
Code: Select all
{mc-auto-number-format: 'CF:Figure {chapnum}-{n+} ';}
Cheers,
Rob
Re: How to adjust spacing between autonumbered figure & capt
I tried that but it still has about half an inch of space between the autonumber and the caption text
-
- Sr. Propeller Head
- Posts: 248
- Joined: Thu May 24, 2018 3:11 pm
- Location: Queensland, Australia
Re: How to adjust spacing between autonumbered figure & capt
To help us troubleshoot, can you attach an image showing the space and the code used in your caption style?
Cheers,
Rob
Cheers,
Rob
Re: How to adjust spacing between autonumbered figure & capt
Attaching images of the output and the tag information.
You do not have the required permissions to view the files attached to this post.
-
- Sr. Propeller Head
- Posts: 248
- Joined: Thu May 24, 2018 3:11 pm
- Location: Queensland, Australia
Re: How to adjust spacing between autonumbered figure & capt
What's in the auto-number section of the style defintion?
Rob
Rob
Re: How to adjust spacing between autonumbered figure & capt
Here is a screen shot of the autonumber tab.
You do not have the required permissions to view the files attached to this post.
-
- Sr. Propeller Head
- Posts: 248
- Joined: Thu May 24, 2018 3:11 pm
- Location: Queensland, Australia
Re: How to adjust spacing between autonumbered figure & capt
Ahhh. Try changing the Auto-number to Inside Head with offset '0', and add a space or two to the auto-number definitions so it reads CF:Figure {n+}... (where the periods are replaced with spaces).
Rob
Rob
Re: How to adjust spacing between autonumbered figure & capt
I tried the values but it won't "save" them. It reverts back to the original values after I click OK. The three spaces stayed put though.
-
- Sr. Propeller Head
- Posts: 248
- Joined: Thu May 24, 2018 3:11 pm
- Location: Queensland, Australia
Re: How to adjust spacing between autonumbered figure & capt
That's odd. Can you change the value directly in the stylesheet in a text editor? It's usually in project folder/content/resources/stylesheets. Have a look for your caption style (make sure you're in the right medium section if you're using mediums (an @<medium> { } label) ) and change:
to
Rob
Code: Select all
mc-auto-number-position: outside-head;
mc-auto-number-offset: 1in;
Code: Select all
mc-auto-number-position: inside-head;
mc-auto-number-offset: 0;
Rob
Re: How to adjust spacing between autonumbered figure & capt
Thanks! I will try that! I appreciate your help.
Re: How to adjust spacing between autonumbered figure & capt
Changing the .css file worked! I have had to do that sometimes with variable sets (editing in notepad)
-
- Sr. Propeller Head
- Posts: 248
- Joined: Thu May 24, 2018 3:11 pm
- Location: Queensland, Australia
Re: How to adjust spacing between autonumbered figure & capt
No worries. It was the offset that was creating the extra space you didn't want. Not sure why you couldn't edit in the CSS editor (I generally do all my styling in the raw CSS). Perhaps the wrong medium was selected in the editor.
Rob
Rob
Re: How to adjust spacing between autonumbered figure & capt
Good point about the medium. Thanks!