I'm using XeLaTeX along with the cjk package. I'm trying to recreate quotation marks like the inverted L symbols in the following image:
A first attempt. Here's a MWE after looking at the comments and suggestions from @JoelReyesNoche and @NieldeBeaudrap (thanks for all the help!):
\documentclass[UTF8,nofonts]{ctexart}
\setCJKmainfont{KaiTi}
\begin{document}
\title{文件}
\author{我}
\date{2015 年 4 月 25 日}
\maketitle
我说:「您好!」 他答道: 「您好!」
\end{document}
I would, ideally, like to shorten the vertical part of the quote and lengthen the horizontal part so it looks more like the one in the first image, but it is not clear how.
A second attempt. It does seem slightly better when I change the font from KaiTi
to AR PL UKai CN
:
Questions.
- Am I at the mercy of the font I'm using?
- Is there a way to get quotation marks closer to those in the original example above?
Best Answer
Here is a primitive attempt to achieve outcomes which may be close to what you need. This solution is perhaps suitable for those who wish to achieve square corner quotation marks such as yours, but prefer not to use a typesetting system specialised for Japanese such as pTeX [PDF documentation], or who cannot use a TeX engine specialised to use unicode input (for which the appropriate symbols are
U+300C
andU+300D
respectively).