View Single Post
Old 12-20-2014, 01:14 PM   #1
verydeepwater
Member
verydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 86
Karma: 12586
Join Date: Nov 2012
Device: Ipad and Kindle Fire
How to Format a Chinese eBook with pinyin

I have a Word document in Chinese with the pinyin characters above each character. (These are the phonetic rendering of the Chinese to help recognition of the characters - as used by Chinese Children learning to read.) The pinyin need to sit directly above the correct character.

By converting the file in Calibre, you can get close to the desired result by using a suitable font, and positioning the pinyin correctly above the characters by using a span tag for each Chinese character and another span tag for each pinyin. The characters are positioned by setting the span tag to vertical align:bottom, and a left margin of -0.7em and the span for the pin yin set to vertical-align:top and a positive left-margin.

This method uses a huge number of span tags, and I wonder if this is the correct method or if anyone knows a better way.
verydeepwater is offline   Reply With Quote