Tag Info

New answers tagged

2

Well, the problem was my IDE (TeXnicCenter) along with my OS (Windows 8). TeXNicCenter was saving the files with an encoding different from utf8. What I did and worked is, delete the "subfiles" create them again with TexMaker, save them and then it compiled without problems. So now, my question is reduced to this one: How to change the text encoding of a ...


8

[the following applies to both XeLaTeX and LuaLaTeX] In addition to what Urike said -- another, maybe more practical way of finding a specific glyph is using a tool like Windows's Character Map (or whatever the equivalent is in your operation system). If I wanted Minion's bold crescent moon, I'd look for it in the ›private use area‹ first, for that's quite ...


2

I solved it by creating a new macro that "draws" the dash I want. \usepackage{calc} \newcommand{\chinesedash}{\rule[.7ex]{\widthof{二字}}{0.5pt}}


6

This depends on the font, If I use SimSun (as I had used it in a previous answer) I see no gap if I use the input you show (2 em dashes) I do see a gap if I use the classic TeX input ------ Unicode 6.1 introduces U+2E3A (TWO-EM DASH) but that might be a bit new to be in commonly distributed fonts, I get no visible character in that slot). Sorry about the ...


3

For Chinese, you can read this first: How does one type Chinese in LaTeX? The CJK symbol 塞(U+F96C) you want to typeset is “CJK COMPATIBILITY IDEOGRAPH”. It is rarely used for Chinese or Japanese documents, but for Korean. So most Chinese fonts (including gbsn installed on TeX distributions) do not have this symbol. I don't know what you want actually. If ...


1

If you just want to create Chinese pdf, perhaps you can try the package xeCJK. I suggest the following article for you: http://leavedcorn.pixnet.net/blog/post/24773932-%E6%96%B0%E6%89%8B%E5%AE%89%E8%A3%9Dlatex%E6%87%B6%E4%BA%BA%E6%95%99%E5%AD%B8(step-by-step)


1

Not a real answer, just an attempt to narrow down the problem. I can't reproduce the symptoms with the following Python code (version 2.7.2 on MacOS X): utfcheck.py: #!/usr/bin/python problemString = u'educator'+unichr(39)+u's and '+unichr(0xc3) documentTemplate=r"""\documentclass{article} \usepackage[utf8]{inputenc} \begin{document} %s \end{document} ...


3

You need to use an TeX engine (XeTeX or LuaTeX) that handles Unicode input correctly and a font that contains the characters. You also need to make sure that your file is saved as UTF-8. See the following questions for help on these issues: How to insert three Chinese characters? How does one type Chinese in LaTeX? Using XeLaTeX instead of pdfLaTeX ...


6

You can set the \catcode of the Right-to-Left Mark to 9, which will make it ignored. The code for this is \catcode"200F=9


1

There is currently no support for Tibetan in Polyglossia. However you can use the TIBETAN MARK INTERSYLLABIC TSHEG as a hyphen mark (not soft, I'm afraid). \documentclass[a4paper]{article} \usepackage{geometry} \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX} \usepackage{polyglossia} \setmainlanguage{english} ...


2

Your issue isn't related to verbments. It's a font issue related to German umlauts. XeLaTeX uses utf-8 as default but the predefined font doesn't support this. A look in the log file shows for the following example: \documentclass{article} %\usepackage{fontspec} \begin{document} Test äöü Test \end{document} related part of the log-file: Missing ...


1

Here is a tikz method: \documentclass{article} \usepackage{tikz} \usepackage{xspace} \tikzstyle{zwj}=[inner sep=0pt,outer sep=0pt,anchor=base] \tikzstyle{zwjdot}=[circle,draw,fill,inner sep=0pt,outer sep=0pt,minimum width=1pt] \newcommand{\zwj}[1]{% \tikz[baseline]{ \node[zwj] (text) {#1}; \useasboundingbox (text.base west) rectangle ...


8

The following is my first thought, but I feel fairly certain that a better way exists: \documentclass{article} \begin{document} <<makegreek>>= greek <- c("$\\alpha$", "$\\beta$", "$\\gamma$") greek @ <<r grecoroman>>= gr <- data.frame(roman=letters[1:3], greek=greek) gr @ <<gr-table, results='asis'>>= ...


14

There are two separate tasks here: making your keyboard produce the various Unicode symbols, and making those symbols meaningful to LaTeX. 1. Producing Unicode symbols from your keyboard If you're on a Mac, make a .keylayout file, put it in the ~/Library/Keyboard Layouts directory, then log out and back in again. Your new keyboard layout should now appear ...



Top 50 recent answers are included