Re: Unicode Cuneiform font

Ulrike Fischer <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Am Fri, 1 Aug 2014 10:15:34 +0200 schrieb A. Erhardt:

> Hello,
>  
> can anybody please give me some help on how to include cuneiform signs into my XeLaTeX document?
> (ideally with a minimum example).
> Here is the list of signs (actually, the pdf file under "Weblinks" at the bottom) I would like to use:
> http://de.wikipedia.org/wiki/Unicodeblock_Keilschrift
>  
> and here is my sample file
> 
>  
> \documentclass[11pt]{article}
> \usepackage{fontspec}
> \newfontscript{Sumero-Akkadian Cuneiform}{xsux} %???
> \begin{document}
> \section{Unicode support}
>  \subsection{Cuneifom}
> .... %??? (how do I insert the signs?) 
> \end{document}
> with lots of things tried between the  \subsection{Cuneifom} and the \end{document} statement,
> without success. 
>  
> Maybe I also would have to modify my fontspec file.
> I see a file fontspec-xetex.sty
> in my MikTex/tex/latex/fontspec/
> folder, but I am not sure where (or if one is allowed) to change it.
>  
> I am running MiKTex 2.9 on my Windows XP PC.

You need a font with the glyphs. I used Akkadian
(http://users.teilar.gr/~g1951d/)


\documentclass[11pt]{article}
\usepackage{fontspec}
\newfontface\cuneiformfont{Akkadian}

\begin{document}
\section{Unicode support}
\subsection{Cuneifom}

{\cuneiformfont % a new command to switch to the font
\symbol{"12000}
\symbol{"12001}
\symbol{"12002}}

{\fontspec{Akkadian}%or directly with fontspec
 \symbol{"12003}\symbol{"12004}\symbol{"12005}}


\end{document}

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.