[OS X TeX] carriage return character

Jonathan Kew jonathan at jfkew.plus.com
Wed Sep 9 19:48:36 CEST 2009


On 9 Sep 2009, at 18:29, Peter Dyballa wrote:

> Am 09.09.2009 um 16:31 schrieb <ewan.Delanoy at math.unicaen.fr> <ewan.Delanoy at math.unicaen.fr 
> >:
>
>> "You must be using
>> an old version of ucs. Please replace \usepackage[utf8]{inputenc}  
>> with
>> \usepackage[utf8x]{inputenc} in your preamble".
>
>
> XeLaTeX works with a LaTeX document like this:
>
> \documentclass[12pt]{report}
> \usepackage{fontspec}%, xunicode, xltxtra}
> \setromanfont{Unicode Symbols}
> \setromanfont{FreeSerif}
> \setromanfont{DejaVu Sans}
> \begin{document}
>
> U+21B5 or ↵ is DOWNWARDS ARROW WITH CORNER LEFTWARDS, LEFTWARDS  
> ARROW
> WITH HOOK at U+21A9 is ↩, and the RETURN SYMBOL key of a keyboard is
> U+23CE or ⏎?
>
> \end{document}
>
> It is UTF-8 encoded "by nature," an input or a font encoding usually  
> don't need to be given because the fonts used are usually Unicode  
> encoded. The fonts mentioned have these three characters.

As do some fonts that ship with OS X, such as Apple Symbols and Lucida  
Grande (the latter doesn't have U+23CE). So it's not necessary to  
install any extra fonts in order to print them.

JK




More information about the macostex-archives mailing list