Skip to main content
Known Participant
January 19, 2017
Answered

Super-/subscript in one line

  • January 19, 2017
  • 3 replies
  • 1848 views

Hi,

I would like to make a two lined line, in one line.

It is made of one superscript and one subscript word, but how do I align the two words?

    This topic has been closed for replies.
    Correct answer vinny38

    Hi

    I can imagine situations (i.e. data merge) where keeping text in a single paragraph is needed.

    Chad's suggestion would definitely do the trick.

    In addition, you could implement GREP styles to your para style, what would give you great control.

    This is an example based on the assumption that you want to deal with "xxxxxx by xxxx" pattern:

    3 replies

    vinny38
    vinny38Correct answer
    Legend
    January 19, 2017

    Hi

    I can imagine situations (i.e. data merge) where keeping text in a single paragraph is needed.

    Chad's suggestion would definitely do the trick.

    In addition, you could implement GREP styles to your para style, what would give you great control.

    This is an example based on the assumption that you want to deal with "xxxxxx by xxxx" pattern:

    Sandee Cohen
    Legend
    January 19, 2017

    Vinny

    Your example is quite elegant, but does that mean you would have to format each paragraph separately for each name? That feels like too much work for a data merge.

    vinny38
    Legend
    January 19, 2017

    Hi Sandee

    No need to format each paragraph... I used the very same one

    Edit: I guess you got confused because I call my char style "Ted"... I should have call it "who?" ^^

    hammer0909
    Community Expert
    Community Expert
    January 19, 2017

    Bob's right, it's probably easiest to do this with multiple text frames however if you are dead set on doing it with one line of text, here's how:

    1. Set the text in one single line
    2. Put your cursor in front of the B in By and kern the text in the negative direction until the Y overlaps the D in Produced.
    3. Now highlight the word "BY" and apply a baseline shift so that it appears under the word Produced
    4. Highlight the word TED and increase the point size and apply a baseline shift to get the size and alignment to be correct

    It's wonky but it gives you what you're looking for. I did an example on my end and have attached a screen shot below.

    ILWTAuthor
    Known Participant
    January 31, 2017

    Hi Bob/Chad. Normally I use multiply text frames, but thanks for helping me out here

    BobLevine
    Community Expert
    Community Expert
    January 19, 2017

    For something like that, quite frankly, I'd just use multiple text frames. While certainly an old school approach, it's probably a lot easier than trying to do it in one.

    Another idea would be to use a table and merge the cells for the larger text.