Subscript and Superscript

Forum organization and occasional community-building.
Forum rules
Questions about Ren'Py should go in the Ren'Py Questions and Announcements forum.
Post Reply
Message
Author
nchan1995
Newbie
Posts: 1
Joined: Fri Jun 19, 2009 11:15 am
Contact:

Subscript and Superscript

#1 Post by nchan1995 »

you see I wish I could put in some Subscript and Superscript into the game, does anyone know how

JQuartz
Eileen-Class Veteran
Posts: 1265
Joined: Fri Aug 31, 2007 7:02 am
Projects: 0 completed game. Still haven't made any meaningfully completed games...
Contact:

Re: Subscript and Superscript

#2 Post by JQuartz »

I don't know any real way to do it but you can use {size} to fake subscript. Another way is to use a different font that is already subscripted and superscripted. This can be done either by {image} or {font} Eg:

Code: Select all

    "Okay, this is the normal text."
    "This is the one for subscript= x{size=-10}2{/size} y{image="image of subscripted 2.png"} and "
    "this is the one for superscript= x{font=superscripted font.ttf}2{/font}y{image="image of superscripted 2.png"}
I suspect somebody is stealing my internet identity so don't believe everything I tell you via messages. I don't post or send messages anymore so don't believe anything I tell you via messages or posts.

Post Reply

Who is online

Users browsing this forum: No registered users