In my document (due to combind both Chinese and English), all (, ), [, ], etc., are all too low. Is it posibble to raise all (, ), [, ], or any characters user defines to desire height? (for ex. If I want to raise all 'z' for 3pt?)

Thank you so much!

  • Should the amount to raise a character depend on its size? If so, it would be best to express the desired dimension in ex. – Christian Lindig Mar 20 '11 at 6:57
  • yes. For convenience, I just use pt instead of ex. But if I could do this (raise a specific char for n pt), then I can raise it in any measures as I wish. ps. In some way, I prefer to use pt than em/ex. In topography's book's discussing, most typesetting problem cannot be solved by scaling/proportional calculating. Before reading such books, I use em/ex, etc. But after reading some, I use pt now even though it is more complicated than by using em/ex. Thank you for your reply so much. Maybe using ex is a good idea in this kind of situation. :-) – Kuang-Li Huang Mar 20 '11 at 7:45
  • If you use XeTeX, have a look at this question: tex.stackexchange.com/questions/10248/… . You can use similar trick to get parens raised. It would be a little difficult to let it work with xeCJK. I'm sorry I've no much time for this. See also bbs.ctex.org/… – Leo Liu Mar 20 '11 at 8:21

As a suggestion, you can define a command to output the parens/brackets in your own format. This is inspired by csquotes package.

A demostration:

\setmainfont{Latin Modern Roman}
\Large [漢字] \enbracket{漢字}

enter image description here

| improve this answer | |
  • yes, this is what I use now. But is it possible that doing this without setting any specific command? Sometimes, I can't tell whether the symbols are too high or too low (it depends on what font I use). Or, is it possible to alter the char's height by editing the font itself, or any metofont's command? Thank you – Kuang-Li Huang Mar 20 '11 at 16:42
  • You can, certaily, edit the font yourself with fontforge etc., if it is allowed. However, it is not easy and not portable. I made a comment on using \XeTeXinterchartoks to solve this kind of questions, but it's not easy either. (And I've no time to write a complete example.) – Leo Liu Mar 21 '11 at 4:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.