TransWikia.com

Why are pipe characters horizontal when using bxcjkjatype?

TeX - LaTeX Asked by polm23 on January 29, 2021

I have written a paper in English that includes Japanese text. I originally wrote it using xecjk but am converting it to use PDFLatex and bxcjkjatype for Arxiv. Following the instructions here mostly worked, but for some reason pipe characters in a table have turned into horizontal lines. The first line, second column here should be 見|た, but the pipe is rotated and at an odd height.

enter image description here

I could understand the character being rotated if I was using vertical typesetting, but I’m not doing that at any point in the document.

Is there a way I can make the pipes vertical again?

One Answer

You have not shown any code but I assume you have the equivalent of

documentclass{article}

begin{document}


a | b

end{document}

enter image description here

The original 7-bit (OT1) encoding used for TeX fonts does not have a | character except in math mode and tt for verbatim.

Use the 8bit T1 encoding for latin script sections:

enter image description here

documentclass{article}
usepackage[T1]{fontenc}
begin{document}


a | b

end{document}

Answered by David Carlisle on January 29, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP