Typesetting Thai With LaTeX

Size: px
Start display at page:

Download "Typesetting Thai With LaTeX"

Transcription

1 Typesetting Thai With LaTeX Hin-Tak Leung January 9, 2012 There are three ways of using TX (or more honestly, L A TX 2ε) to typeset Thai. They are X TX (or X L A TX), ThaiL A TX, and cjk/l A TX s Thai support. For most installations, they all use 1 fonts from the ThaiL A TX project so the end results are similar. They differ mainly in two areas: how they do word-breakings and line-wrappings, and what their preferred input encodings are. LuaTX is also unicode-capable and therefore can supposedly handle Thai; however, I have no experience with it and therefore will not mention it further. In a nutshell, X TX defaults to take UTF8 inputs while ThaiL A TX defaults to TIS620 2 but both supports the other alternative via optional directives; cjk/l A TX s Thai support is mainly TIS X TX breaks words/lines somewhat crudely on its own, while ThaiL A TX and cjk/l A TX uses external utilities (swath and emacs) to implement optimal line wrappings. Out of the box, TeXLive 2011 s X TX Thai functionality is okay; cjk/l A TX s Thai support is okay for TIS620 encoding; ThaiL A TX is not included. So I ll also describe ex-txmf-tree installation of ThaiL A TX below. 1 Thai with XeTeX Thai-style word-breakings and line-wrappings are selected via \XeTeXlinebreaklocale. Thus a typical document would include: \usepackage{fontspec} \setmainfont{norasi} \XeTeXlinebreaklocale th_th % To enable non-standard font selections % A font with Thai glyphs % Thai-style word-breakings and line-wrappings X TX defaults to assume UTF-8 inputs, but TIS620-encoded inputs can be selected via: \XeTeXinputencoding TIS620 X TX can use any platform fonts. TeXLive 2011 provides Norasi (also the default font used by cjk/l A TX s Thai support, and ThaiL A TX), but any platform fonts accessible by the fontconfig system would work. To get a list 4 : 1 X TX can use any platform fonts, while the other two are limited to what fonts TX knows about. More below. 2 TIS620 encoding is alternatively known as ISO , and LTH. ISO is the same as TIS (Thai Industrial Standard) , commonly known as TIS-620, except for the character in position a0: ISO defines this as non-breaking space, while TIS 620 leaves it undefined. 3 The first public draft of this document came into existence in the first week of December Its release for review caused a few improvements in ThaiLaTeX; I also fixed CJK s problem with emacs 23+ mentioned in the following section in Mid-December, and had the change officially incorporated; then I contributed CJK Thai support for UTF-8 inputs just before the end of year 2011, so the restriction to TIS 620 is no longer true as of end of I made Thai-style numbering and sectioning work also that feature never worked for the last 11 years. 4 Some of it are lies: fonts claim to support a language but do not have the corresponding glyphs. 1

2 fc-match -a :th X TX s word-breakings and line-wrappings uses ICU s line breaking algorithm for Thai and is less optimal than either of the other two. There is an encoding bug from the interaction of non-utf8 encodings with multiple available formats (Type 1 plus TrueType) of the same font plus style (bold face) declarations. The author has been notified (Dec 2011). Meanwhile, if one has multiple formats of the same fonts (e.g. on Fedora 16), this can be worked around by explicitly loading the Type 1 version of the bold font: \setmainfont[boldfont="[/usr/share/fonts/texlive-thailatex/norasi_b.pfb]"]{norasi} Also xdvipdfmx (X TX s dvi backend) silently drops included pdf s higher than its own. This affects cairo-based graphics and requires -output-driver="xdvipdfmx -V 5" as X L A TX s option to work. It (fontspec, possibly) also can get stuck when invalid font names are specified. 2 Thai with CJK A typical Thai document (in TIS620 encoding) with cjk/l A TX includes: \usepackage[thaicjk]{babel} Word breaks and font switching between Thai and non-thai are provided by a emacs lisp script cjk-enc.el 5 (which in turns loads thai-word.el 6 ). Thus a typical run includes running emacs to generate an intermediate input *.cjk from *.tex: run emacs creates thisfile.cjk emacs -batch -l thai-word -l cjk-enc -f batch-cjk-write-file thisfile.tex pdflatex thisfile.cjk or latex thisfile.cjk dvips thisfile.dvi Fedora s TeXLive 2011 does not bundle the emacs lisp scripts (others might do). In any case, without emacs, one can achieve font-switching alone (with bad word breaks) by: \addto\extrasthaicjk{\fontencoding{c90}\selectfont} \begin{otherlanguage}{thaicjk} % Only needed if other languages are also used...thai text... \end{otherlanguage} % cjk/l A TX itself also support UTF-8 encoded inputs via: 5 A problem of cjk-enc.el not working with emacs 23+ ( 8108), due to unicode-related changes from emacs 22 to 23, was fixed by me during the writing (Dec 2011) of this document. Be sure to get the latest cjk-enc.el. 6 A version of thai-word.el is built into emacs 22 and 23 at least, and may be even earlier. 2

3 \usepackage{cjkutf8} \begin{cjk}{utf8}{bsmi}...utf8 text... \end{cjk} Unfortunately TeXLive 2011 does not ship any suitable font definitions for UTF8-encoded Thai text. 7 (UTF8-encoded Chinese is supported in TexLive 2011 by the Arphic fonts, and UTF8-encoded Japanese by the Wadalab fonts, Korean by UHC fonts. None of them have Thai glyphs). 8 3 Thai with ThaiLaTeX ThaiL A TX documents default to contain TIS620-encoded texts, and typically include these lines 9 : \usepackage[thai]{babel} \usepackage{fonts-tlwg} % Alternative: \usepackage{fonts-arundina} UTF8-encoded texts can be indicated by the additional: \usepackage[utf8x]{inputenc} Word breaks are achieved by an additional external C++-based command-line utility swath. Thus a typical run includes: swath -d swathdic.tri -u UTF-8 -f latex < thisfile.tex > thisfile_new.tex pdflatex thisfile_new.tex or latex thisfile_new.tex dvips thisfile_new.dvi Without swath, ThaiL A TX still works to some extent, with non-ideal word/line breaks. TexLive 2011 ships enough of ThaiL A TX fonts to allow cjk/l A TX to work, but not ThaiL A TX itself. So I shall describe an out-of-tree installation below. 3.1 Installing ThaiLaTeX outside TeXLive s TXMF Building swath is non-trivial (even on Linux or other GNU-base systems) with additional dependencies of libdatrie. The latter is available from ftp://linux.thai.net/pub/thailinux/ software/libthai/. unpack the two sources in parallel: cd libdatrie-0.2.5/ --disable-shared, so swath does not need it afterwards 7 I added the UTF8-encoded Thai capability to cjk-enc.el before end of 2011 so it does work, although the change has not been accepted and officially incorporated yet. 8 This paragraph is strictly true only as of early December 2011: before the end of 2011, I contributed CJK s adaption for coping with UTF8-encoded Thai text. See also footnote in the first page. 9 See also the next footnote regarding fonts-tlwg.sty vs thswitch.sty. 3

4 ./configure --enable-static --disable-shared make cd../swath-0.4.1/ swath build needs one of the datrie-tools export PATH= pwd /../libdatrie-0.2.5/tools/:$path The /.libs/ below is a libtool quirk: DATRI_LIBS="-L pwd /../libdatrie-0.2.5/datrie/.libs/ -ldatrie" \ PKG_CONFIG_PATH= pwd /../libdatrie-0.2.5/ \ DATRI_CFLAGS=-I pwd /../libdatrie-0.2.5/./configure make ThaiL A TX support for L A TX 2ε consists of a babel extension and some font-agnostic and some per-font support files. To build the per-font support files, extract thailatex (version at the time of writing 10 ) and copy the two thailatex/fonts/*.enc files to both the top level of thaifonts-scalable (0.4.17) and thaifonts-arundina (0.1.3) as well as a few of their inner directories: cp thailatex/fonts/*.enc thaifonts-scalable/ cp thailatex/fonts/*.enc thaifonts-scalable/nectec/ cp thailatex/fonts/*.enc thaifonts-scalable/tlwg/ cp thailatex/fonts/*.enc thaifonts-scalable/nf/ cp thailatex/fonts/*.enc thaifonts-arundina/ cp thailatex/fonts/*.enc thaifonts-arundina/arundina/ The copying to top-level is to allow --enable-latex to work, thaifonts-scalable./configure --enable-pfb --enable-otf --enable-testfont \ --enable-xfontsdir --enable-latex thaifonts-arundina./configure --enable-pfb --enable-latex Running make after./configure uses the inner copies. Afterwards, many new files are generated. One should also run./configure; make in thailatex. That s for the relatively trivial task of building one needed file new, thai.ldf. Set up a set of directories, and set your environment variables as below: NV variables File types Move from TFMFONTS *.tfm thaifonts-*/*/*.tfm NCFONTS *.enc thailatex/fonts/*.enc TXPSHADRS *.enc thailatex/fonts/*.enc TXFONTMAPS *.map thaifonts-*/*/*.map AFMFONTS *.afm VFFONTS *.vf thaifonts-*/*/*.vf TXINPUTS *.fd, *.sty, *.def, *.ldf thaifonts-*/*/*.{fd,sty} TXINPUTS (cont) *.fd, *.sty, *.def, *.ldf thailatex/babel/*.{def,sty,ldf} T1FONTS *.pfb 10 It is a bit higher than 0.4.6, and one of the post changes is renaming thswitch.sty to fonts-tlwg.sty, which is important to this discussion. 4

5 TexLive 2011 already ships the *.afm files and the *.pfb files, so those two entries are listed above only for completeness. Both dvips and pdflatex needs the *.enc files, but access them through different variables, hence both NCFONTS and TXPSHADRS above. At this point, run updmap as follows: updmap --enable Map=arundina.map updmap --enable Map=nectec.map updmap --enable Map=nf.map updmap --enable Map=tlwg.map This creates or updates ${HOM}/.texlive2011/texmf-config/web2c/updmap.cfg as well as ${HOM}/.texlive2011/texmf-var/fonts/map/*/updmap/*, and one should be able to run thailatex s or thaifonts-* s examples, without modifying the system s TeXLive 2011 installation. System-wide installation can be achieved by copying the files to location of similar files under TeXLive s TXMF, run texhash to update the file location database, and updmap-sys. That doesn t work well with system-wide upgrades and is messy though. 3.2 Installing ThaiLaTeX on Windows or MikTeX Apparently TexLive 2011 also runs on windows. Presumably one can simply copy all the files mentioned above (obtained from a ready-made source) into the relevant directories. MikTeX also seems to have a updmap utility which works in a similar role. More information needed here. 5

Experiences with micro-typographic extensions of pdftex in practice

Experiences with micro-typographic extensions of pdftex in practice Proceedings EuroT E X2005 Pont-à-Mousson, France TUT07 Experiences with micro-typographic extensions of pdftex in practice Hàn Thê Thành University of Education, Ho Chi Minh City, Vietnam Februar 21, 2005

More information

Thai Printing Support in FOSS

Thai Printing Support in FOSS Thai Printing Support in FOSS Theppitak Karoonboonyanan 23 January 2006 1 Requirements Summary 1.1 Rendering As summarized in [1] and [2], rendering or typesetting Thai texts involves the following issues:

More information

Font Forum. TUGboat, Volume 21 (2000), No Thai fonts Werner Lemberg

Font Forum. TUGboat, Volume 21 (2000), No Thai fonts Werner Lemberg TUGboat, Volume 21 (2000), No. 2 113 Font Forum Thai fonts Werner Lemberg Abstract This article describes how the Thai script works and how to implement the necessary ligatures for TEX using afm2tfm. 1

More information

Unslanted Italic Computer Modern Fonts Based on Eric Gill s Ideas

Unslanted Italic Computer Modern Fonts Based on Eric Gill s Ideas Unslanted Italic Computer Modern Fonts Based on Eric Gill s Ideas Boris Veytsman 2010/07/28, v1.1 Abstract This is a demonstration of the use of virtual fonts for unusual effects. We employ virtual fonts

More information

Can R Speak Your Language?

Can R Speak Your Language? Languages Can R Speak Your Language? Brian D. Ripley Professor of Applied Statistics University of Oxford ripley@stats.ox.ac.uk http://www.stats.ox.ac.uk/ ripley The lingua franca of computing is (American)

More information

Bookmarks for PDF Output(Outline-Group)

Bookmarks for PDF Output(Outline-Group) Bookmarks for PDF Output(Outline-Group) The axf:outline-group groups bookmark items of PDF, and outputs them collectively. Value: Initial: empty string Applies to: block-level formatting objects

More information

preliminary draft, June 15, :57 preliminary draft, June 15, :57

preliminary draft, June 15, :57 preliminary draft, June 15, :57 TUGboat, Volume 0 (9999), No. 0 preliminary draft, June 15, 2018 17:57? 1 FreeType MF Module: A module for using METAFONT directly inside the FreeType rasterizer Jaeyoung Choi, Ammar Ul Hassan and Geunho

More information

Tex with Unicode Characters

Tex with Unicode Characters Tex with Unicode Characters 7/10/18 Presented by: Yuefei Xiang Agenda ASCII Code Unicode Unicode in Tex Old Style Encoding -Inputenc, -ucs Morden Encoding -XeTeX -LuaTeX Unicode bi-direction in Tex -Emacs-AucTeX

More information

uptex Unicode version of ptex with CJK extensions

uptex Unicode version of ptex with CJK extensions uptex Unicode version of ptex with CJK extensions Takuji Tanaka uptex project Oct 26, 2013 Takuji Tanaka (uptex project) uptex Unicode version of ptex with CJK extensions Oct 26, 2013 1 / 42 Outline /

More information

188 TUGboat, Volume 38 (2017), No. 2

188 TUGboat, Volume 38 (2017), No. 2 188 TUGboat, Volume 38 (2017), No. 2 updmap and fmtutil past and future changes (or: cleaning up the mess) Abstract This article serves first as an introduction to two of the central utility programs in

More information

136 TUGboat, Volume 39 (2018), No. 2

136 TUGboat, Volume 39 (2018), No. 2 136 TUGboat, Volume 39 (2018), No. 2 FreeType MF Module: A module for using METAFONT directly inside the FreeType rasterizer Jaeyoung Choi, Ammar Ul Hassan, Geunho Jeong Abstract METAFONT is a font description

More information

Using Sweave and patchdvi with Japanese text

Using Sweave and patchdvi with Japanese text Using Sweave and patchdvi with Japanese text Duncan Murdoch 27 6 8 The patchdvi package works with Sweave [? ] and document previewers to facilitate editing: it modifies the links that LATEX puts into

More information

Introduction to typesetting with L A TEX

Introduction to typesetting with L A TEX Introduction to typesetting with L A TEX Tips and Tools for Writing a Bachelor/Master Thesis Hein Meling hein.meling@uis.no November 4th 2015 Hein Meling (Univ. of Stavanger) LATEX introduction Nov. 2015

More information

Org mode (La)TEX macros for HTML and L A TEX export

Org mode (La)TEX macros for HTML and L A TEX export Org mode (La)TEX macros for HTML and L A TEX export Brian C. Wells September 15, 2016 Contents 1 Preliminary Macros 2 1.1 when-fmt............................. 2 1.2 preamble..............................

More information

Designing & Developing Pan-CJK Fonts for Today

Designing & Developing Pan-CJK Fonts for Today Designing & Developing Pan-CJK Fonts for Today Ken Lunde Adobe Systems Incorporated 2009 Adobe Systems Incorporated. All rights reserved. 1 What Is A Pan-CJK Font? A Pan-CJK font includes glyphs suitable

More information

MFCONFIG. - METAFONT plug-in module for Freetype rasterizer Jaeyoung Choi

MFCONFIG. - METAFONT plug-in module for Freetype rasterizer Jaeyoung Choi MFCONFIG - METAFONT plug-in module for Freetype rasterizer 2016. 07. 26. Jaeyoung Choi School of Computer Science & Engineering Soongsil University, Seoul, Korea - Contents - 01 MOTIVATION 02 DESIGN GOALS

More information

NAME afm2pl convert AFM font metrics to TeX pl font metrics

NAME afm2pl convert AFM font metrics to TeX pl font metrics NAME afm2pl convert AFM font metrics to TeX pl font metrics SYNOPSIS afm2pl [ p encoding_file] [ o] [ e extension_factor] [ s slant_factor] [ f font_dimensions] [ k] [ m letter_spacing] [ l ligkern_spec]

More information

Software Manual for Windows Z/EVES Version 2.3

Software Manual for Windows Z/EVES Version 2.3 Software Manual for Windows Z/EVES Version 2.3 TR-97-5505-04h Irwin Meisels Release date: June 2004 ORA Canada P.O. Box 46005, 2339 Ogilvie Rd. Ottawa, Ontario K1J 9M7 CANADA c ORA Canada (1996,1997,1999,

More information

Installing LATEX, Emacs, etc. on your Unix or Win32

Installing LATEX, Emacs, etc. on your Unix or Win32 Installing LATEX, Emacs, etc. on your Unix or Win32 Bart Childs February 25, 2004 This is written with the theme You should use emacs because: 1. It is free software (even better than public domain). 2.

More information

MiKTeX. Depending on the speed of your computer and the MikTex install you select, installation may take anywhere from 30 minutes to over an hour.

MiKTeX. Depending on the speed of your computer and the MikTex install you select, installation may take anywhere from 30 minutes to over an hour. Contents 1 Current Version 2 Introduction 3 Software MiKTeX 4 Installation Current Version Last Update: August 29, 2011 Introduction 4.1 Phase One: Downloading the necessary components 4.2 Phase Two: Installing

More information

Package epsdice a scalable dice font

Package epsdice a scalable dice font Package epsdice a scalable dice font 2007/02/15 Version 2.1 Thomas Heim (thomas.heim@unibas.ch) 1 Introduction Dice fonts are already available in metafont format. (I should know, I wrote one myself: dice3d.mf.)

More information

Thailand FOSS Localization Report

Thailand FOSS Localization Report Thailand FOSS Localization Report Theppitak Karoonboonyanan Localization Workshop, Phenom Penh, Cambodia 25 October 2005 Reporter s Backgrounds First of all, the reporter would like to declare his backgrounds,

More information

Experiences typesetting OpenType math

Experiences typesetting OpenType math Experiences typesetting OpenType math with LuaLaTEX and XeLaTEX Dr. Ulrik Vieth Stuttgart, Germany 4th International ConTEXt Meeting, Brejlow, 2010 Overview of this talk Review of OpenType math support

More information

Progress of fontspec and unicode-math

Progress of fontspec and unicode-math 1/52 Progress of fontspec and unicode-math Will Robertson July 22, 2018 Setting the scene 2/52 2/52 Setting the scene 3/52 How long has it been?? [XeTeX] Package for font loading Will Robertson will at

More information

The UCB Thesis Class

The UCB Thesis Class The UCB Thesis Class Paul Vojta Mathematics Department vojta@math.berkeley.edu Version 3.5 June 1, 2015 Abstract This is a class file for theses and dissertations at the University of California, Berkeley.

More information

LaTeX and fonts. TrueType is built into most Windows/MacOS systems. PostScript Type 1 fonts are well-established and supported directly by

LaTeX and fonts. TrueType is built into most Windows/MacOS systems. PostScript Type 1 fonts are well-established and supported directly by Page 1 of 6 LaTeX and fonts Font formats How LaTeX uses fonts Using Postscript fonts in LaTeX LaTeX font attributes Associated LaTeX filetypes Associated LaTeX utilities LaTeX font names Things that can

More information

Lab1: Communicating science

Lab1: Communicating science Lab1: Communicating science We would all like to be good citizens of the scientific community. An important part of being a good citizen is being able to communicate results, papers, and ideas. Since many

More information

Remarks on common mistakes

Remarks on common mistakes Remarks on common mistakes Martin Helsø 14th January 2019 This document presents the proper treatment of mistakes that are common among L A TEX novices. It should be noted that the last tips from Section

More information

How To Install Latex Windows Xp From Usb Pen Drive Step By Step

How To Install Latex Windows Xp From Usb Pen Drive Step By Step How To Install Latex Windows Xp From Usb Pen Drive Step By Step I want to format my hard disk via pen drive instead of XP bootable Cd. In short I want to make my pen drive as bootable XP disc. So give

More information

University of Hagen - FTP Site Statistics. Top 20 Directories Sorted by Disk Space

University of Hagen - FTP Site Statistics. Top 20 Directories Sorted by Disk Space Property Value FTP Server ftp.fernuni-hagen.de Description University of Hagen Country Germany Scan Date 25/Feb/2015 Total Dirs 15,751 Total Files 253,958 Total Data 153.37 GB Top 20 Directories Sorted

More information

Getting ready for L A TEX. Alexis Dimitriadis. Version: March 28, 2013

Getting ready for L A TEX. Alexis Dimitriadis. Version: March 28, 2013 Getting ready for L A TEX Alexis Dimitriadis Version: March 28, 2013 LaTeX is a great system, but it takes some work to learn. Unfortunately, it also takes some work to set up the necessary software. This

More information

Picsel epage. Word file format support

Picsel epage. Word file format support Picsel epage Word file format support Picsel Word File Format Support Page 2 Copyright Copyright Picsel 2002 Neither the whole nor any part of the information contained in, or the product described in,

More information

UTF and Turkish. İstinye University. Representing Text

UTF and Turkish. İstinye University. Representing Text Representing Text Representation of text predates the use of computers for text Text representation was needed for communication equipment One particular commonly used communication equipment was teleprinter

More information

Compressed Images in PostScript and PDF with L A TEX HOWTO

Compressed Images in PostScript and PDF with L A TEX HOWTO Compressed Images in PostScript and PDF with L A TEX HOWTO Daniel Käps last revised: 2002-11-24 Abstract It is a common problem that PostScript files (as generated by TEX/L A TEX users) become really large

More information

Very Short Introduction to LaTeX

Very Short Introduction to LaTeX Very Short Introduction to LaTeX Johann Mitlöhner 2015 1 Motivation The computer scientist Donald Knuth developed the program TeX [1] in the late 70s to facilitate typesetting texts containing mathematical

More information

TUGboat, Volume 37 (2016), No

TUGboat, Volume 37 (2016), No TUGboat, Volume 37 (2016), No. 2 163 MFCONFIG: A METAFONT plug-in module for the Freetype rasterizer Jaeyoung Choi, Sungmin Kim, Hojin Lee and Geunho Jeong Abstract One of METAFONT s advantages is its

More information

sbthesis Documentation

sbthesis Documentation sbthesis Documentation K.E. Schubert Associate Professor August 26, 2009 1 Introduction I started this back in 2005, to simplify my student s work in preparing thesis. L A TEX does a much nicer job than

More information

The hypbmsec package

The hypbmsec package The hypbmsec package Heiko Oberdiek 2016/05/16 v2.5 Abstract This package expands the syntax of the sectioning commands. If the argument of the sectioning commands isn

More information

ONIX for Books Product Information Message. Application Note: Embedding HTML markup in ONIX 3.0 data elements

ONIX for Books Product Information Message. Application Note: Embedding HTML markup in ONIX 3.0 data elements ONIX for Books Product Information Message Application Note: Embedding HTML markup in ONIX 3.0 data elements In ONIX whether version 2.1 or 3.0 there are many common issues that arise when data providers

More information

Installing L A TEX in your user space. Christoph Fischer

Installing L A TEX in your user space. Christoph Fischer Installing L A TEX in your user space Christoph Fischer June 30, 2010 Contents 1 Before you start 3 1.1 What this is all about........................ 3 1.2 What you ll need...........................

More information

Fly me to the moon: (La)TeX testing (and more) using Lua

Fly me to the moon: (La)TeX testing (and more) using Lua Fly me to the moon: (La)TeX testing (and more) using Lua Joseph Wright L A TEX Project Testing L A TEX Requirements Test both programming and typesetting Standard TeX system (no special binaries) Ability

More information

Latex Manually Set Font Size For Tables

Latex Manually Set Font Size For Tables Latex Manually Set Font Size For Tables I would like to set my table to font 10pt. Here is my coding /begin(table)(h) /resizebox(/textwidth)(!)(% /begin(tabular)(/l/l/l/l/l/) /hline & A & B & C & D //

More information

Conversion of TEX fonts into Type 1 format

Conversion of TEX fonts into Type 1 format Conversion of TEX fonts into Type 1 format Szabó Péter September 2001 presented at EuroTEX 2001 Page 1 of 12 The problem: Acrobat Reader renders most fonts slowly and unreadably ugly on

More information

DANTE So, it was just five characters for which the META- FONT source had to be made suitable to be processed. TUGboat, Volume 28 (2007), No.

DANTE So, it was just five characters for which the META- FONT source had to be made suitable to be processed. TUGboat, Volume 28 (2007), No. TUGboat, Volume 28 (2007), No. 2 181 Creation of a PostScript Type 1 logo font with MetaType 1 Klaus Höppner Abstract MetaType 1 is a tool created by Bogusław Jackowski, Janusz Nowacki, and Piotr Strzelczyk

More information

2011 Martin v. Löwis. Data-centric XML. Character Sets

2011 Martin v. Löwis. Data-centric XML. Character Sets Data-centric XML Character Sets Character Sets: Rationale Computer stores data in sequences of bytes each byte represents a value in range 0..255 Text data are intended to denote characters, not numbers

More information

The begingreek package

The begingreek package The begingreek package Claudio Beccari claudio dot beccari at gmail dot com Version v.1.5 of 2015/02/16 Contents 1 Introduction 1 2 Usage 2 3 Incomplete fonts and different encoding 3 4 Default font control

More information

Arabic document composition with T E X

Arabic document composition with T E X Arabic document composition with T E X Azzeddine LAZREK University Cadi Ayyad, Faculty of Sciences Department of Computer Science Marrakesh - Morocco lazrek@ucam.ac.ma http://www.ucam.ac.ma/fssm/rydarab

More information

Keyman, LANGIDs & Codepages

Keyman, LANGIDs & Codepages Keyman, LANGIDs & Codepages Interactions you may not expect Peter Constable SIL Non-Roman Script Initiative Copyright 2001 Peter Constable & SIL International In certain situations, Keyman 5 may appear

More information

2007 Martin v. Löwis. Data-centric XML. Character Sets

2007 Martin v. Löwis. Data-centric XML. Character Sets Data-centric XML Character Sets Character Sets: Rationale Computer stores data in sequences of bytes each byte represents a value in range 0..255 Text data are intended to denote characters, not numbers

More information

News new macros and bugfixes for the basic package pstricks. Herbert Voß. December 27, 2018

News new macros and bugfixes for the basic package pstricks. Herbert Voß. December 27, 2018 News - 2018 new macros and bugfixes for the basic package pstricks Herbert Voß December 27, 2018 1 2 Contents Contents I. pstricks package 3 1. pstricks.sty pstricks-pdf.sty 3 2. pstricks-tex.tex 3 3.

More information

mfirstuc.sty v2.06: uppercasing first letter

mfirstuc.sty v2.06: uppercasing first letter mfirstuc.sty v2.06: uppercasing first letter Nicola L.C. Talbot Dickimaw Books http://www.dickimaw-books.com/ 2017-11-14 1 Contents 1 Introduction 3 2 Capitalising the First Letter of a Word 5 3 Capitalise

More information

Latex Tutorial. CIS400 Senior Design 9/5/2013

Latex Tutorial. CIS400 Senior Design 9/5/2013 1 Latex Tutorial CIS400 Senior Design 9/5/2013 2 Outline Introducing TeX/LaTeX Benefits and potential difficulties Installation and use on Unix/Mac/Windows Compiling PDF documents from LaTeX Basic document

More information

The Adobe-CNS1-6 Character Collection

The Adobe-CNS1-6 Character Collection Adobe Enterprise & Developer Support Adobe Technical Note # bc The Adobe-CNS- Character Collection Introduction The purpose of this document is to define and describe the Adobe-CNS- character collection,

More information

i2man(1)

i2man(1) i2man(1) 2010-11-07 1.1 1 Introduction 3 1.1 NAME....................................... 3 1.2 SYNOPSIS.................................... 3 1.3 DESCRIPTION................................. 3 1.4 OPTIONS.....................................

More information

1 Installation (briefly)

1 Installation (briefly) Jumpstart Linux Bo Waggoner Updated: 2014-09-15 Abstract A basic, rapid tutorial on Linux and its command line for the absolute beginner. Prerequisites: a computer on which to install, a DVD and/or USB

More information

AFP Support for TrueType/Open Type Fonts and Unicode

AFP Support for TrueType/Open Type Fonts and Unicode AFP Support for TrueType/Open Type Fonts and Unicode Reinhard Hohensee Distinguished Engineer October 24, 2003 Ricoh Topics What is Unicode? What are TrueType and OpenType fonts? Why have we extended the

More information

The basics of LaTeX. Cédric Buron. April 25, 2016

The basics of LaTeX. Cédric Buron. April 25, 2016 The basics of LaTeX Cédric Buron April 25, 2016 Hello fellows! Today, I introduce a very important language in my PhD, L A TEX(what a logo!). In this article, I m going to introduce very quickly the purpose,

More information

Tutorial to QuotationFinder_0.6

Tutorial to QuotationFinder_0.6 Tutorial to QuotationFinder_0.6 What is QuotationFinder, and for which purposes can it be used? QuotationFinder is a tool for the automatic comparison of fully digitized texts. It can detect quotations,

More information

preliminary draft, March 26, :20 preliminary draft, March 26, :20

preliminary draft, March 26, :20 preliminary draft, March 26, :20 TUGboat, Volume 0 (9999), No. 0 preliminary draft, March 26, 2018 14:20? 1 A rollback concept for packages and classes Frank Mittelbach Abstract In 2015 a rollback concept for the L A TEX kernel was introduced.

More information

ConT E Xt up--to--date 1999/7

ConT E Xt up--to--date 1999/7 ConT E Xt up--to--date 1999/7 Chinese Pragma ADE Ridderstraat 27 8061GH Hasselt NL Introduction 1 Enabling Chinese 1 Chinese setup 2 Labels and texts 3 Numbering 4 Fonts 5 Introduction In this up--to--date

More information

ATypI Hongkong Development of a Pan-CJK Font

ATypI Hongkong Development of a Pan-CJK Font ATypI Hongkong 2012 Development of a Pan-CJK Font What is a Pan-CJK Font? Pan (greek: ) means "all" or "involving all members" of a group Pan-CJK means a Unicode based font which supports different countries

More information

Language Information in Structured Documents: A Model for Mark-up and Rendering

Language Information in Structured Documents: A Model for Mark-up and Rendering Language Information in Structured Documents: A Model for Mark-up and Rendering Frank Mittelbach and Chris Rowley L A TEX3 project Frank.Mittelbach@eds.com, C.A.Rowley@open.ac.uk Abstract In this paper

More information

Groundtruth Image Generation from Electronic Text (Demonstration)

Groundtruth Image Generation from Electronic Text (Demonstration) Groundtruth Image Generation from Electronic Text (Demonstration) David Doermann and Gang Zi Laboratory for Language and Media Processing, University of Maryland, College Park MD 21043, USA {doermann,

More information

L A TEX for psychological researchers

L A TEX for psychological researchers Kahoot! L A TEX for psychological researchers Lecture 1: Introducton Sacha Epskamp University of Amsterdam Department of Psychological Methods 27-01-2015 Contact Details Workshop website: http://sachaepskamp.com/latex-workshop

More information

TeXnicCenter v1 Beta Frank Van Puyvlde ICT for Research K.U.Leuven

TeXnicCenter v1 Beta Frank Van Puyvlde ICT for Research K.U.Leuven TeXnicCenter v1 Beta 7.01 Frank Van Puyvlde ICT for Research K.U.Leuven March 2008 Contents 1 TeXnicCenter Installation 2 1.1 Installing TeXnicCenter........................... 2 1.2 TeXnicCenter and a

More information

Procedures for font comparison

Procedures for font comparison Karel Píška Institute of Physics of the ASCR, v. v. i. CZ-182 21 Prague, Czech Republic piska (at) fzu dot cz Abstract This contribution presents several programs: Linux standalone scripts for comparison

More information

mylatexformat Use mylatexformat to make a format based on the preamble of any LaTeX file 2011/02/12 version 3.4

mylatexformat Use mylatexformat to make a format based on the preamble of any LaTeX file 2011/02/12 version 3.4 mylatexformat Use mylatexformat to make a format based on the preamble of any LaTeX file FC 2011/02/12 version 3.4 Abstract mylatexformat can be used to make a format from the preamble of any L A TEX file.

More information

The preview Package for L A TEX Version 11.91

The preview Package for L A TEX Version 11.91 The preview Package for L A TEX Version 11.91 David Kastrup 2017/04/24 1 Introduction The main purpose of this package is the extraction of certain environments (most notably displayed formulas) from L

More information

WinShell 2.0. Ingo H. de Boer January 31, www:

WinShell 2.0. Ingo H. de Boer January 31, www: WinShell 2.0 Ingo H. de Boer January 31, 2000 email: idb@winshell.de, www: http://www.winshell.de Copyright c 1998-2000 Ingo H. de Boer. Permission to use, copy and distribute this software and its documentation

More information

The newunicodechar package

The newunicodechar package The newunicodechar package nrico Gregorio nrico dot Gregorio at univr dot it April 8, 2018 1 Introduction When using Unicode input with L A TX it s not so uncommon to get an incomprehensible error message

More information

PLATYPUS FUNCTIONAL REQUIREMENTS V. 2.02

PLATYPUS FUNCTIONAL REQUIREMENTS V. 2.02 PLATYPUS FUNCTIONAL REQUIREMENTS V. 2.02 TABLE OF CONTENTS Introduction... 2 Input Requirements... 2 Input file... 2 Input File Processing... 2 Commands... 3 Categories of Commands... 4 Formatting Commands...

More information

Rendering in Dzongkha

Rendering in Dzongkha Rendering in Dzongkha Pema Geyleg Department of Information Technology pema.geyleg@gmail.com Abstract The basic layout engine for Dzongkha script was created with the help of Mr. Karunakar. Here the layout

More information

How Users can Install L A TEX packages without Help from System Administrators

How Users can Install L A TEX packages without Help from System Administrators How Users can Install L A TEX packages without Help from System Administrators Paul E. Johnson Kenna Whitley http://crmda.ku.edu Guide No: 32 The Center for Research

More information

An Introduction to. Andrew G. West, Jian Chang CIS400 Senior Design Tutorial September 15, 2009

An Introduction to. Andrew G. West, Jian Chang CIS400 Senior Design Tutorial September 15, 2009 An Introduction to Andrew G. West, Jian Chang CIS400 Senior Design Tutorial September 15, 2009 Today's Outline Introducing TeX/LaTeX Benefits and potential difficulties Installation and use on Unix/Mac/Windows

More information

Absolute L A TEX Beginner

Absolute L A TEX Beginner Latest version of this document at http://liantze.googlepages.com/latextypesetting#beginner Absolute L A TEX Beginner Lim Lian Tze liantze@gmail.com Abstract Most people use the ubiquitous Word TM for

More information

Creating Your Paper or Thesis With LYX

Creating Your Paper or Thesis With LYX Creating Your Paper or Thesis With LYX Warren Toomey, School of IT, Bond University Word processors do to words what food processors do to food. This seminar looks at a tool called L Y X which allows you

More information

How To Install Latex Mac Os X Lion On Pc Step By Step

How To Install Latex Mac Os X Lion On Pc Step By Step How To Install Latex Mac Os X Lion On Pc Step By Step This distribution requires Mac OS 10.5 Leopard or higher and runs on Intel or PowerPC processors: To download, click If you do not have root access,

More information

What s new since TEX?

What s new since TEX? Based on Frank Mittelbach Guidelines for Future TEX Extensions Revisited TUGboat 34:1, 2013 Raphael Finkel CS Department, UK November 20, 2013 All versions of TEX Raphael Finkel (CS Department, UK) What

More information

Building Source Han Sans & Noto Sans CJK

Building Source Han Sans & Noto Sans CJK Building Source Han Sans & Noto Sans CJK Dr. Ken Lunde CJKV Type Development Adobe Systems Incorporated In The Beginning 2 In The Beginning 3 In The Beginning! There were no glyphs 4 In The Beginning!

More information

6.1 Font Types. Font Types

6.1 Font Types. Font Types 6 Font This chapter explains basic features of GP-Pro EX's "Font" and basic ways of placing text with each font. Please start by reading "6.1 Font Types" (page 6-2) and then turn to the corresponding page.

More information

Estonian language support for babel

Estonian language support for babel Estonian language support for babel Enn Saar, Jaan Vajakas 2015/08/05, v1.1a The file estonian.dtx defines the language definition macro s for the Estonian language. This file was written as part of the

More information

(Yet Another) Introduction to L A TEX 2ε (V3)

(Yet Another) Introduction to L A TEX 2ε (V3) (Yet Another) Introduction to L A TEX 2ε (V3) Matteo Carrara August 30th, 2013 (Yet Another) Introduction to LATEX2ε (V3) 1 / 29 What is L A TEX 2ε? Typesetting system that is very suitable for producing

More information

Linear Logic symbols for Computer Modern

Linear Logic symbols for Computer Modern Linear Logic symbols for Computer Modern Emmanuel Beffara April 20, 2010 1 Documentation 1.1 Installation The installation consists in copying the.mf files from the mf subdirectory somewhere in Metafont

More information

qstest, a L A TEX package for unit tests

qstest, a L A TEX package for unit tests qstest, a L A TEX package for unit tests David Kastrup David dot Kastrup (at) QuinScape dot de Abstract The qstest package was created because of the need to verify in a large L A TEX project that no regressions

More information

Representing Characters and Text

Representing Characters and Text Representing Characters and Text cs4: Computer Science Bootcamp Çetin Kaya Koç cetinkoc@ucsb.edu Çetin Kaya Koç http://koclab.org Winter 2018 1 / 28 Representing Text Representation of text predates the

More information

The event began with the following post by Melissa in the pdftex mailing list:

The event began with the following post by Melissa in the pdftex mailing list: Looking over the Debugger s Shoulders When a computer bug has several causes and is hard to reproduce, I find it interesting to look over the shoulders of the debuggers and watch them at work. This is

More information

uniseg-python Documentation

uniseg-python Documentation uniseg-python Documentation Release 0.7.1 Masaaki Shibata Apr 15, 2017 Contents 1 Modules 1 1.1 uniseg.codepoint Unicode code point............................. 1 1.2 uniseg.graphemecluster Grapheme cluster.........................

More information

Representing Characters, Strings and Text

Representing Characters, Strings and Text Çetin Kaya Koç http://koclab.cs.ucsb.edu/teaching/cs192 koc@cs.ucsb.edu Çetin Kaya Koç http://koclab.cs.ucsb.edu Fall 2016 1 / 19 Representing and Processing Text Representation of text predates the use

More information

CS350 : Operating Systems. General Assignment Information

CS350 : Operating Systems. General Assignment Information CS350 : Operating Systems General Assignment Information 1 Introduction Assignments in CS350 are based on OS/161 (os161) running on System/161 (sys161). System/161 is a workstation simulation, and OS/161

More information

The Honours Dissertation Class for L A TEX2e. Cara MacNish

The Honours Dissertation Class for L A TEX2e. Cara MacNish The Honours Dissertation Class for L A TEX2e Cara MacNish This report is submitted as partial fulfilment of the requirements for the Honours Programme of the School of Computer Science and Software Engineering,

More information

A fithesis3 user guide

A fithesis3 user guide Masaryk University Faculty of Social Studies A fithesis3 user guide for the Faculty of Social Studies Bachelor s Thesis Vít Novotný Brno, Spring 2018 Abstract Fithesis3 is a LATEX document class, which

More information

Oracle Application Express: Administration 1-2

Oracle Application Express: Administration 1-2 Oracle Application Express: Administration 1-2 The suggested course agenda is displayed in the slide. Each lesson, except the Course Overview, will be followed by practice time. Oracle Application Express:

More information

An Introduction to L A T E X

An Introduction to L A T E X An Introduction to L A T E X 1 Outline 1 Introduction 2 How to Get L A T E X 3 Text Mode 4 Math Modes 5 Document Structure 6 Extra Stuff Introduction 3 4 Introduction Today is November 11, 2009 Introduction

More information

Functions and text files

Functions and text files Functions and text files Francesco Vespignani DiSCoF Università degli Studi di Trento. francesco.vespignani@gmail.com December 3, 2009 Today Functions and Scripts Latex Strings Text Files Practice Function

More information

NAME pkfix helper preprocess dvips produced PostScript documents before passing them to pkfix

NAME pkfix helper preprocess dvips produced PostScript documents before passing them to pkfix NAME pkfix helper preprocess dvips produced PostScript documents before passing them to pkfix SYNOPSIS pkfix-helper [ help] [ verbose] [ force=name=fontspec] [ ps=filename.ps] [ tex=filename.tex] [ cache=filename]

More information

Localizing GTK+ Theppitak Karoonboonyanan January 2004

Localizing GTK+ Theppitak Karoonboonyanan January 2004 Localizing GTK+ Theppitak Karoonboonyanan thep@linux.thai.net January 2004 Abstract This paper summarizes information gathered by the author during contributing to Pango and GTK+ projects and developing

More information

Mid-resolution InfRAreD Astronomical Spectrograph

Mid-resolution InfRAreD Astronomical Spectrograph Mirada (transl., Spanish feminine noun): A look or gaze, especially one of particular meaning or interest. Mid-resolution InfRAreD Astronomical Spectrograph Workflows for the Final Design Report S. N.

More information

Installing the TX/PX fonts for SWP5/pdfTeX

Installing the TX/PX fonts for SWP5/pdfTeX Installing the TX/PX fonts for SWP5/pdfTeX Philip A. Viton October 21, 2004 1 Introduction This note explains how you can use Type1 fonts in an SWP5+ document but only when producing pdf. I do this by

More information

INSTALLING AND USING L A TEX

INSTALLING AND USING L A TEX INSTALLING AND USING L A TEX DAVID MEREDITH Contents 1. Installing and Running L A TEX with Microsoft Windows 2 1.1. Installing the compiler MikTeX 2 1.2. Installing the editor TeXtudio 2 1.3. Running

More information

SAPGUI for Windows - I18N User s Guide

SAPGUI for Windows - I18N User s Guide Page 1 of 30 SAPGUI for Windows - I18N User s Guide Introduction This guide is intended for the users of SAPGUI who logon to Unicode systems and those who logon to non-unicode systems whose code-page is

More information