How to create a raised cap that will resize with the text?

11 views
Skip to first unread message

Terescia Easterly

unread,
Feb 20, 2025, 2:07:24 AM2/20/25
to anthemion-jutoh
Are there directions somewhere on how to create a raised capital at the start of a chapter in a similar fashion to a drop cap? 

(I'm not a fan of drop caps so I don't use them, but I do like a raised capital.) 

Any help is appreciated!

Julian Smart

unread,
Feb 20, 2025, 6:03:48 AM2/20/25
to anthemi...@googlegroups.com
Hi Terescia,

Interesting question. Here are some steps, for ebook formats (not ODT):

1. In the Styles panel, select Character Styles at the bottom, right-click and create a new character style called e.g. "Raised Caps". Choose e.g. Bold and 15pt just to highlight the letter in Jutoh (not in the final book).

2. Apply this character style to a first letter.

3. Go back and edit the "Raised Caps" style and in Custom CSS, check the "Use custom CSS" box and edit the text so it looks like this:

.C_Raised_Caps {
font-size: 2em;
margin-right: -0.1em
}

The right margin is to squeeze following text up against the raised letter - e.g. for a T, but not an M, so you may need an extra character style to apply where it's not appropriate, omitting margin-right (or making it a much smaller negative value).

Note that further edits in Jutoh to style properties won't make it to the Custom CSS so you may need to go back and add CSS if e.g. a different (embedded) font. You can do this by making a copy of the custom CSS text, clearing the "Use custom CSS" checkbox, closing and reopening the style editor, and integrating the custom CSS with what Jutoh generated.

I hope this helps a bit.

Regards,

Julian

--
You received this message because you are subscribed to the Google Groups "anthemion-jutoh" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anthemion-jut...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/anthemion-jutoh/64c0fe4c-cdf2-41d4-a0fd-1da878fffa02n%40googlegroups.com.


Reply all
Reply to author
Forward
0 new messages