Tag Info

Hot answers tagged

6

Use this renewcommand sequence to set the datearmenian variable: \documentclass{article} \usepackage{polyglossia} \setmainlanguage{armenian} \newfontfamily{\armenianfont}{DejaVu Sans} \usepackage{datetime} \renewcommand\datearmenian{\def\today{\number\day~% \ifcase \month \or Հունվար \or Փետրվար \or Մարտ \or Ապրիլ \or Մայիս \or Հունիս \or ...


6

Some years ago, the package xltxtra was recommended for usage with XeLaTeX, but it isn't any more. To the contrary, it is not recommended to load xltxtra, unless you really need its extra functions (you usually don't). The \setromanfont command has been deprecated some years ago, favoring the clearer command \setmainfont. The Mapping=tex-text option has ...


4

I just ran into the same issue with the Noto Sans Traditional Chinese font (except with plain xetex) and google brought me here. The next thing I tried was luatex (with luaotfload) which works fine. So this appears to be a bug in xetex. EDIT: Per Khaled's suggestion above, this is an issue with CID keyed fonts. I have no idea what they are, but installing ...


4

On Windows 8, Malgun Gothic supports combining Hangul Jamo ("Old Hangul" hereinafter). On Mac which you seem to be using, however, there's no font bundled that supports Old Hangul. Noto Sans or Source Han Sans, actually exactly same fonts with different names, cannot be used on XeTeX for the time being, as discussed in the thread linked at Khaled's comment ...


2

Currently the XCharter package has no support for the OpenType version that is however available in TeX Live. The workaround is simple: use \setmainfont directly. \documentclass{scrartcl} \usepackage[brazil]{babel} \usepackage{fontspec} \setmainfont{XCharter}[Numbers=OldStyle] \usepackage{FiraSans} \usepackage{inconsolata} \usepackage{graphicx} ...


2

This works with xelatexor lualatex: \documentclass{scrartcl} \usepackage{fontspec} \usepackage{FiraSans} \usepackage{inconsolata} \setmainfont{XCharter-Roman} \usepackage{graphicx} \usepackage[brazil]{babel} \usepackage{lipsum} \begin{document} \title{Um título qualquer} \author{Fulano de Tal} \date{} \maketitle \section{Seção de teste} \lipsum[1-2] ...


2

The text on the left hand side is not displaced but written with white color. The reason is a color stack problem resulting from vsplitting. pdflatex and xelatex seem to have a different color implementation. I changed the placing of text colors for tcolorbox with the recent version 3.12 (2014/07/29). This version was tested with MiKTeX. The following test ...


1

with mdframed we can put a breakable box without causing shift of text in the left column \usepackage{lipsum} \usepackage{mdframed} \usepackage{paracol} \usepackage{xcolor} \begin{document} \begin{paracol}{2} \begin{rightcolumn} \lipsum[1-2] \begin{mdframed}[backgroundcolor=red!10] \lipsum[1] \end{mdframed} \end{rightcolumn} \begin{leftcolumn} \lipsum ...


1

Since it is not a Chinese document, I think xeCJK should be your first choice to support typesetting Chinese characters. Say, \usepackage{xeCJK} \setCJKmainfont{some Chinese font you use} % ... However, there is no babel/polyglossia equivalent for Chinese. Roughly speaking, I think it is better to define a set of macros yourself. It won't be difficult ...


1

This is a bug in the TeX--XeT bidirectional extension (from e-TeX) used in current version of XeTeX, which reverses the order of nodes in right-to-left mode so that the order of the coloured text is reversed. Next version of XeTeX reverted back to the original TeX-XeT extension from (Knuth and Pierre MacKay) which does not “physically” reverse the nodes, ...



Only top voted, non community-wiki answers of a minimum length are eligible