Jump to content

Creating a rule to move a font off of the baseline


matta

Recommended Posts

Hi, you can move a character up with the superscript tag. You could make a JS rule called bullet like this:

return "<span><superscript><f name=wingdings>&#000;</span>"; // replace 000 with the character number you want

The span tag saves the current font and point size (and superscript) and /span restores them back. You can also control how much the superscript tag moves text up by accessing the global settings (from the paragraph options dialog from the variable text editor.)

image.png.fb423ab0d23f9b3bf7500d19d65c1970.png

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...