Articles of xetex

How do I include eps files using XeLaTeX?

According to everything I can find on Google, eps files in xelatex should work out-of-the-box. But that’s not what I’m seeing (using TeX Live 2010 on Arch Linux). Consider the following simple input: \documentclass{article} \usepackage{graphicx} \begin{document} Some text. \includegraphics{flower.eps} Some more text. \end{document} I put this into a .tex file and place it in the […]

Named destinations by hyperref broken for XeTeX 3.14159265-2.6-0.99992 (TeX Live 2015/dev/Debian)

We have this testcase which works fine with pdflatex \documentclass[en]{article} \usepackage[ pdfauthor={Silly testcase maker}, pdftitle=, pdfsubject=, ]{hyperref} \newcommand{\pdfLabel}[1]{\hyperdef{marker}{#1}{}} \begin{document} Hello folks \newpage haha this is funny \newpage lets do another page \newpage now we have a working testcase for real huh \newpage but rly this is the label \pdfLabel{hahalulz} that was the label \newpage but […]

Lowering an accented character

In the given MWE, the new sd command produces ^ carets higher than the hat carets. Is there a way to adjusted the newcommand at the bottom of the preamble to lower these carets to match? (Alegreya can be downloaded for free from FontSquirrel.) It might seem silly, but I’m really going after the look […]

On Ubuntu 10.10 with texlive-full installed, xelatex is rotating my figures 90 degrees counterclockwise

I am using the latest ubuntu with the texlive-full package. When I do a simple \includegraphics like this: \begin{figure}[h] \centering \rotatebox{-90}{\includegraphics[width=8cm]{problem1}} \label{fig:prob1} \end{figure} if I don’t include the \rotatebox command, my figures are rotated 90 deg. counterclockwise. Additionally, I get this warning: ** WARNING ** << /Rotate 90 >> found. (Not supported yet) when rendering […]

Problem showing English characters with xepersian

I’m using TeXstudio in order to write a report and I use XeLaTeX compiler. However the following code : \documentclass[10pt,a4paper]{report} \usepackage{xepersian} \usepackage[left=1.00cm, right=1.00cm, top=2.00cm, bottom=2.00cm]{geometry} \title{فارسی – English } \begin{document} \maketitle \end{document} fails to print the English characters and the output only contains Farsi strings. What am I doing wrong?

Using Cambria Math in XeLaTeX

Take a look at the following images, XeLaTeX typeset formula: Word generated formula: Note specifically the difference of the \hat implementations at g_i and g_i^2 in XeLaTeX. In Word the two implementations are the same. Also note that the hats in XeLaTeX are both larger than Word’s. A minimum working example is the following: \documentclass{book} […]

Why are there no spaces in Hangul-Words (XeLaTeX – xeCJK)

This is my minimal working example: \documentclass{article} \usepackage{xeCJK} \setCJKmainfont{Batang} \begin{document} 나는 남자를 이다 \end{document} As you see, there are spaces between the Korean words. I compiled with XeLaTeX => PDF with XeTeX Version 3.1415926-2.5-0.9999.3 (MiKTeX 2.9) in TeXnicCenter. However there are no spaces in the outputfile. Help would be greatly appreciated.

How does XeLaTeX and LuaLaTeX extend the dvi format?

The structure of the DVI file format is documented by Donald Knuth in TEX: the Program, Addison-Wesley, 1986. Although PDF is the primary output format, LuaTeX can also output DVI files. Are these DVI files different from what is found in the original specification? XeTeX can output XDV files, which are an extension of the […]

File format preference with graphicx

I’m using Mathematicato produce some of my graphics (when i’m not able to just TikZ them easily). All these images are availabvle as .eps and .pnghaving the same file name – let’s use img.eps / img.png in the following. I would like to set a preference for graphicx to use only one type, i.e. using […]

Wrong color with hsb color series in xelatex

I tried to use hsb color series provided by xcolor package in the following code: \documentclass{standalone} \usepackage[table]{xcolor} \begin{document} % example one \definecolorseries{test}{hsb}{step}{blue}[hsb]{.041667,0,0}% 1/24 \resetcolorseries[12]{test}% \rowcolors[\hline]{1}{test!!+}{test!!+} \begin{tabular}{c} \number\rownum\\ \number\rownum\\ \number\rownum\\ \number\rownum\\ \number\rownum\\ \number\rownum\\ \number\rownum\\ \number\rownum\\ \number\rownum\\ \number\rownum\\ \number\rownum\\ \number\rownum\\ \number\rownum\\ \number\rownum\\ \number\rownum\\ \number\rownum\\ \end{tabular} % example two \definecolorseries{test}{hsb}{step}{blue}[hsb]{.0416667,0,0}% 1/24 \resetcolorseries[12]{test}% \rowcolors[\hline]{1}{test!!+}{test!!+} \begin{tabular}{c} \number\rownum\\ \number\rownum\\ \number\rownum\\ \number\rownum\\ […]