• No results found

1The package The package

N/A
N/A
Protected

Academic year: 2021

Share "1The package The package"

Copied!
3
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

The

uninormalize

package

Michal Hoftich

Arthur Reutenauer

Version 0.1

28/12/2020

1 The

uninormalize

package

The purpose of this package is to provide Unicode normalization for LuaLaTeX. It is based on Arthur Reutenauer’s code for GSOC 20081, which was adapted a little bit to

work with currentLuaotfload. For more information, see this question on TeX.sx2.

1.1 What does that mean?

Citing Wikipedia3:

Unicode equivalence is the specification by the Unicode character encoding standard that some sequences of code points represent essen-tially the same character. This feature was introduced in the standard to allow compatibility with preexisting standard character sets, which often included similar or identical characters.

Unicode provides two such notions, canonical equivalence and com-patibility. Code point sequences that are defined as canonically equivalent are assumed to have the same appearance and meaning when printed or displayed. For example, the code pointU+006E(the Latin lowercase ”n”) followed byU+0303(the combining tilde) is defined by Unicode to be canonically equivalent to the single code pointU+00F1(the lowercase letter ”ñ” of the Spanish alphabet).

(2)

\usepackage[czech]{babel} \setmainfont{Linux Libertine O} \usepackage{uninormalize} \begin{document} Some tests: \begin{itemize}

\item combined letter ᾳ %GREEK SMALL LETTER ALPHA (U+03B1) % + COMBINING GREEK YPOGEGRAMMENI % (U+0345)

\item normal letter ᾳ % GREEK SMALL LETTER ALPHA WITH %YPOGEGRAMMENI (U+1FB3)

\end{itemize}

Some more combined and normal letters: óóōōöö

Linux Libertine does support some combined chars: \parbox{4em}{příliš} Using the \verb|^^^^| syntax: ^^^^0061^^^^0301 ^^^^0041^^^^0301 \end{document}

1.3 Package options

This package has three options:

• buffer – normalize processed document at the moment when it’s source file is read, before processing by TEX starts. This is the default option, it seems to work better than the next one.

• nodes – normalize LuaTeX nodes. Normalization happens after the full pro-cessiny by TEX.

• debug – print debug messages to the terminal output

Both buffer and nodes options are enabled by default, you can disable any of them by using:

\usepackage[nodes=false,buffer=false]{uninormalize}

1.4 Example results

• combined letter ᾳ • normal letter ᾳ

Some more combined and normal letters: óóōōöö

Linux Libertine does support some combined chars: příliš Using the^^^^syntax: á Á

(3)

1.5 License

Copyright: 2020 Michal Hoftich

This work may be distributed and/or modified under the conditions of the LATEX

Project Public License, either version 1.3 of this license or (at your option) any later ver-sion. The latest version of this license is inhttp://www.latex-project.org/lppl.txt and version 1.3 or later is part of all distributions of LATEX version 2005/12/01 or later.

This work has the LPPL maintenance status maintained. The Current Maintainer of this work is Michal Hoftich.

Referenties

GERELATEERDE DOCUMENTEN

The italic numbers denote the pages where the corresponding entry is described, numbers underlined point to the definition, all others indicate the places where it is used.

\commonl@ypage This routine sets the layout page parameters common to both the standard and memoir classes, to those specified for the document, specifically as on the current

(default: false) fancyvrb provides an option firstnumber that allows the starting line number of an environment to be specified.. For convenience, there is an option

either duplex printing or printing two pages on one side of a sheet of paper with blank back side).. (These are the

Invoking the forget package option causes \qrcode to calculate every QR code anew, even if a QR code for that htext to be encoded i, level, and version was read from the .aux file

\TABcell{}{} – presents the cell content in the prevailing mode (text or math) and style set by stackengine and tabstackengine \TABcellBox{}{} – presents the cell content, in

This document uses the file unicode-math-table.tex to print every symbol defined by the unicode- math package.. Use this document to find the command name or the Unicode glyph slot

The target is to provide easy access to fonts with a matching Mathematics font available in TeX distri- butions plus a few commercial if available.. The package will include more