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 am a linguist and want to display trees. I tried the the following code.

\documentclass{article}

\usepackage{xepersian}

\usepackage{qtree}

\begin{document}
\begin{latin}
gshjgsdjgsad

\begin{figure}

\Tree
[.case nom gen dat acc ]

\end{figure}

\end{latin}

\end{document}

I called it with xelatex. This works without the xepersian package loaded but fails with the package loaded. With the package loaded, I just get the lines, but the words (case nom gen dat acc) are missing.

I would be glad if you had any suggestions for me.

share|improve this question
    
Make a bug report in github.com/vafa/xepersian/issues but I do not promise updating xepersian package unless there is some donations to the project. –  Vafa Nov 4 '12 at 11:29
add comment

1 Answer

switch to LM or another font:

\documentclass{article}
\usepackage{qtree}
\usepackage{xepersian}
\newfontface\LM{Latin Modern Roman}
\begin{document}
\begin{latin}
gshjgsdjgsad

\begin{figure}
\LM\Tree[.case nom gen dat acc ]
\end{figure}
\end{latin}

\end{document}
share|improve this answer
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.