Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I saw, that in plain.tex file, the delimiters are defines two characters at once. However for Plain XeTeX \XeTeXdelimiter macro description in the documentation only states one character. However I understand, that \delimiter is defining these character for a big and small alternative. Is it possible to define the same with \XeTeXdelimiter?

The reason that I ask this, is that when I write \left|f(x)\right| for instance, then the U+FFFD character appears, instead of something like a big vertical line or bar, when I use Cambria Math. How to define what character to display for \left|?

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

You need to assign the delimiter code for the vertical bar using \XeTeXdelcode. Away from my machine at present so I can't give an example, sorry.

share|improve this answer
    
You're right! When I wrote my definitions, I simply skipped the delcode definitions. (The < > | and \ delcodes does not match the actual code in the character table.) –  Adam L. S. Sep 25 '10 at 17:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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