TeX Gyre フォントコレクション

| | コメント(0) | トラックバック(0)

TeX Gyre フォントコレクションをインストールした.

TeX Gyre プロジェクトは 2006 にはじまったばかりで,フォントも開発途上にある.TeX Gyre フォントは URW フォントをベースとしている.Adventor (URW Gothic L), Bonum (URW Bookman L), Heros (Nimbus Sans L), Pagella (URW Palladio L), Schola (URW Century Schoolbook L), Termes (Nimbus Roman No9 L) の 6 書体 (括弧内はベースとなった URW ファミリー) が提供されている.キリル文字についても T2A, T2B, T2C エンコーディングが揃っており,PSCyr には存在しない字母を含む多書体が楽しめる.

組込みは,CTAN: fonts/tex-gyre.zip をダウンロードしてきて,TeX ツリーに展開し,マップを登録するだけである.

お試しのサンプル・ドキュメント原稿及び出力イメージを以下に示しておく.PDF はこちら

% -*- coding: utf-8; -*-
% tgtest.tex TeX-Gyre test
\documentclass[12pt,a4paper]{article}
\usepackage[dvipdfm]{graphicx,color}
\usepackage{tgtermes}% in case rmdefault: qtm
\usepackage[utf8x]{inputenc}
\usepackage[T2A,T1]{fontenc}
\usepackage{textcomp}
\usepackage[russian]{babel}
\pagestyle{empty}
\begin{document}
\def\rutext{% sample text
  \begin{center}%
  АБВГДЕЁЖЗИЙКЛМНОПРСТ%
  УФХЦЧШЩЪЫЬЭЮЯ\par%
  абвгдеёжзийклмнопрст%
  уфхцчшщъыьэюя\par%
  0123456789 %
  %oldstyle numeric 
  \textzerooldstyle%  0
  \textoneoldstyle%   1
  \texttwooldstyle%   2 
  \textthreeoldstyle% 3
  \textfouroldstyle%  4
  \textfiveoldstyle%  5
  \textsixoldstyle%   6
  \textsevenoldstyle% 7
  \texteightoldstyle% 8
  \textnineoldstyle%  9
  \vspace{10pt}%
  \end{center}%
}%
\long\def\fontsel#1#2{% font selection
  \fontfamily{#1}\selectfont%
  \bgroup\color{red}#2 (#1 family)\egroup\par%
}%
 
\fbox{%
\begin{minipage}[t]{0.9\textwidth}%
\parindent=10pt%
\vspace{10pt}%
 
\fontsel{qtm}{Gyre Termes}%
\rutext%
 
\fontsel{qbk}{Gyre Bonum}%
\rutext%
 
\fontsel{qcs}{Gyre Schola}%
\rutext%
 
\fontsel{qag}{Gyre Adventor}%
\rutext%
 
\fontsel{qhv}{Gyre Heros}%
\rutext%
 
\fontsel{qpl}{Gyre Pagella}%
\rutext%
 
\end{minipage}%
}%
\end{document}
tgtest.jpg

トラックバック(0)

このブログ記事を参照しているブログ一覧: TeX Gyre フォントコレクション

このブログ記事に対するトラックバックURL: http://nox-insomniae.ddo.jp/cgi-bin/mt-tb.cgi/261

Comments


画像の中に見える文字を入力してください。

Profile

ISAO。システムエンジニア。昭和 30 年代を懐かしむオヤジ。ロシアに興味があります。
[more], [About our site]

Notice

この文書はフィクションであり,実在する個人,団体等とは一切関係ありません。

文書の記述内容は無保証です。不適切な表現があればコメントにてご指摘ください。

管理者が公序良俗に反すると判断したコメント,トラックバックは,断りなく削除される場合があります。

Links

About this entry

Written by isao at 2007年8月11日 21:36.

Previous: イリフ=ペトロフの『十二の椅子』

Next: 鰻を食う

Recent Entries in Main Index.
All Entries in Archive Index.

Web Pages

Powered by Movable Type 4.1