diff options
author | Karl Berry <karl@freefriends.org> | 2018-01-14 22:55:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-01-14 22:55:55 +0000 |
commit | b76d736162f17bd262f927072447a03d44370081 (patch) | |
tree | 588f288fd9a734650b86aceadafd104746cb5514 /Master/texmf-dist/tex/latex | |
parent | 559938bc074bea314c467fd3dd730364d6c703b4 (diff) |
gfsdidot (14jan18)
git-svn-id: svn://tug.org/texlive/trunk@46310 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/gfsdidot/gfsdidot.sty | 255 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/gfsdidot/ot1udidot.fd | 27 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/gfsdidot/testDidot.sty | 168 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/gfsdidot/ts1udidot.fd | 44 |
4 files changed, 357 insertions, 137 deletions
diff --git a/Master/texmf-dist/tex/latex/gfsdidot/gfsdidot.sty b/Master/texmf-dist/tex/latex/gfsdidot/gfsdidot.sty index 3e127c681ad..c175f2ab8c5 100644 --- a/Master/texmf-dist/tex/latex/gfsdidot/gfsdidot.sty +++ b/Master/texmf-dist/tex/latex/gfsdidot/gfsdidot.sty @@ -22,64 +22,152 @@ %% University of the Aegean %% atsol@aegean.gr %% -%% \CharacterTable -%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z -%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z -%% Digits \0\1\2\3\4\5\6\7\8\9 -%% Exclamation \! Double quote \" Hash (number) \# -%% Dollar \$ Percent \% Ampersand \& -%% Acute accent \' Left paren \( Right paren \) -%% Asterisk \* Plus \+ Comma \, -%% Minus \- Point \. Solidus \/ -%% Colon \: Semicolon \; Less than \< -%% Equals \= Greater than \> Question mark \? -%% Commercial at \@ Left bracket \[ Backslash \\ -%% Right bracket \] Circumflex \^ Underscore \_ -%% Grave accent \` Left brace \{ Vertical bar \| -%% Right brace \} Tilde \~} \ProvidesFile{gfsdidot.sty} -[2001/12/15 v1.0 Package `gfsdidot.sty'] +[2018/01/02 v1.1 Package `gfsdidot.sty'] \NeedsTeXFormat{LaTeX2e} -\message{}\MessageBreak -\message{ **************************************************************** }\MessageBreak -\message{ * GFS-Didot style file by A. Tsolomitis and I. Vasilogiorgakis * }\MessageBreak -\message{ **************************************************************** }\MessageBreak -\message{}\MessageBreak -\RequirePackage{pxfonts} + +%The following command create a line with space characters +%surrounded by stars. It will be used in the following message +%to print nicely a blank line +\providecommand\msgGFSDidot@blankLine{% +*\space\space\space\space\space\space\space\space\space\space\space +\space\space\space\space\space\space\space\space\space\space\space +\space\space\space\space\space\space\space\space\space\space +\space\space\space\space\space\space\space\space\space\space +\space\space\space\space\space\space\space\space\space\space +\space\space\space\space\space\space\space\space\space\space*} +%This command will provide the indentation of the following +%message +\providecommand\msgGFSDidot@indent{% +\space\space} +\message{^^J% + \msgGFSDidot@indent****************************************************************^^J% + \msgGFSDidot@indent* GFS-Didot style file by A. Tsolomitis and I. Vasilogiorgakis *^^J% + \msgGFSDidot@indent\msgGFSDidot@blankLine ^^J% + \msgGFSDidot@indent* Mod. by A. Aubord for better work with OT1/T1/TS1 encodings. *^^J% + \msgGFSDidot@indent\msgGFSDidot@blankLine ^^J% + \msgGFSDidot@indent****************************************************************^^J% + ^^J% + } + +%This package is standard LaTeX2e to create tests and boolean variables +\RequirePackage{ifthen} +%This boolean is true when one does want to load +%automaticaly the package Text Companion which provide +%default glyphs for a lot of characters and give access to some +%uncommon symbols +\newboolean{GFSDidotTS1} +\setboolean{GFSDidotTS1}{true} +\DeclareOption{noGFSDidotTS1}{\setboolean{GFSDidotTS1}{false}} +\ProcessOptions + \renewcommand{\rmdefault}{udidot} -\newcommand{\uishape}{\fontfamily{udidot}\fontseries{m}\fontshape{ui}\selectfont} -\newcommand{\scslshape}{\fontfamily{udidot}\fontseries{m}\fontshape{sco}\selectfont} -\newcommand{\textui}[1]{{\fontfamily{udidot}\fontseries{m}\fontshape{ui}\selectfont +%Palatino package to use the missing characters +%in GFS Didot. +\RequirePackage{pxfonts} +% +%Provides some new defaults because some characters are better defined +%in T1 didot encoding than in OT1 encoding. Since this file +%is defining the commands for using the GFS Didot fonts, one +%can assume that the GFS Didot fonts in T1 encoding are available too. +% +\DeclareTextSymbolDefault{\guillemotleft}{T1} +\DeclareTextSymbolDefault{\guillemotright}{T1} +\DeclareTextSymbolDefault{\guilsinglleft}{T1} +\DeclareTextSymbolDefault{\guilsinglright}{T1} +\DeclareTextSymbolDefault{\textless}{T1} +\DeclareTextSymbolDefault{\textbar}{T1} +\DeclareTextSymbolDefault{\textgreater}{T1} +\DeclareTextSymbolDefault{\textbackslash}{T1} +\DeclareTextSymbolDefault{\textbraceleft}{T1} +\DeclareTextSymbolDefault{\textbraceright}{T1} +\DeclareTextSymbolDefault{\textsterling}{T1} +\DeclareTextSymbolDefault{\l}{T1} +\DeclareTextSymbolDefault{\L}{T1} +\UndeclareTextCommand{\guillemotleft}{OT1} +\UndeclareTextCommand{\guillemotright}{OT1} +\UndeclareTextCommand{\guilsinglleft}{OT1} +\UndeclareTextCommand{\guilsinglright}{OT1} +\UndeclareTextCommand{\textless}{OT1} +\UndeclareTextCommand{\textbar}{OT1} +\UndeclareTextCommand{\textgreater}{OT1} +\UndeclareTextCommand{\textbackslash}{OT1} +\UndeclareTextCommand{\textbraceleft}{OT1} +\UndeclareTextCommand{\textbraceright}{OT1} +\UndeclareTextCommand{\textsterling}{OT1} +\UndeclareTextCommand{\l}{OT1} +\UndeclareTextCommand{\L}{OT1} +%The ring accent seems to be buggy in OT1 encoding +%specially with Aring, the one in OT1 encoding is used instead +\DeclareTextAccentDefault{\r}{T1} +\UndeclareTextCommand{\r}{OT1} +%This accent does not exist in OT1 encoding +\DeclareTextAccentDefault{\k}{T1} +\UndeclareTextCommand{\k}{OT1} +%The circumflex and tilde accents are positioned to high in T1 encoding +%but they are correctly positioned in OT1 encoding. We use +%the OT1 encoding when these accents should be used +%without having a full precomposed glyph. +\DeclareTextAccentDefault{\^}{OT1} +\UndeclareTextCommand{\^}{T1} +\DeclareTextAccentDefault{\~}{OT1} +\UndeclareTextCommand{\~}{T1} +%The caron and the bar accents are missing in the T1 encoding, +%the character in OT1 encoding is used instead +\DeclareTextAccentDefault{\=}{OT1} +\UndeclareTextCommand{\=}{T1} +\DeclareTextAccentDefault{\b}{OT1} +\UndeclareTextCommand{\b}{T1} +%In T1 encodig the uppercase german esszet (long S) is +%missing. The one in OT1 is used instead. +\DeclareTextAccentDefault{\SS}{OT1} +\UndeclareTextCommand{\SS}{T1} +%as is dotless j +\DeclareTextSymbolDefault{\j}{OT1} +\UndeclareTextCommand{\j}{T1} + +%Load of the Text Companion package to provide defaults for some glyphs +%and access to uncommon symbols (monetary units, common fraction, +%musical note etc.) +\ifthenelse{\boolean{GFSDidotTS1}}{% + \RequirePackage[full]{textcomp} + %GFS Didot has the full TS1 encoding. + \DeclareEncodingSubset{TS1}{udidot}{0}% +}{} + +\providecommand{\uishape}{\fontfamily{udidot}\fontseries{m}\fontshape{ui}\selectfont} +\providecommand{\scslshape}{\fontfamily{udidot}\fontseries{m}\fontshape{sco}\selectfont} +\providecommand{\textui}[1]{{\fontfamily{udidot}\fontseries{m}\fontshape{ui}\selectfont #1}} -\newcommand{\textscsl}[1]{{\fontfamily{udidot}\fontseries{m}\fontshape{sco}\selectfont +\providecommand{\textscsl}[1]{{\fontfamily{udidot}\fontseries{m}\fontshape{sco}\selectfont #1}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand{\tabnums}[1]{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont #1}} +\providecommand{\tabnums}[1]{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont #1}} \renewcommand{\textbullet}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'42}} %\renewcommand{\star}{{\usefont{OML}{pxmi}{m}{it}\selectfont\char'77}} \let\myst@r=\star \renewcommand{\star}{\raise-.5ex\hbox{${}\myst@r{}$\kern-.1em}} -\newcommand{\textparagraphalt}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'265}} +\providecommand{\textparagraphalt}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'265}} \renewcommand{\textparagraph}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'266}} -\newcommand{\careof}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'13}} -\newcommand{\numero}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'5}} -\newcommand{\estimated}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'6}} +\providecommand{\careof}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'13}} +\providecommand{\numero}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'5}} +\providecommand{\estimated}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'6}} %\newcommand{\exclamdbl}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'7}} -\newcommand{\whitebullet}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'10}} -\newcommand{\textlozenge}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'4}} -\newcommand{\eurocurrency}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'12}} -\newcommand{\interrobang}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'15}} -\newcommand{\yencurrency}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'16}} +\providecommand{\whitebullet}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'10}} +\providecommand{\textlozenge}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'4}} +\providecommand{\eurocurrency}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'12}} +\providecommand{\interrobang}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'15}} +\providecommand{\yencurrency}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'16}} %\newcommand{\fracline}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'4}} -\newcommand{\textfrac}[2]{\hbox{{\usefont{U}{udidotnums}{m}{textnumnums}\selectfont #1/}% +\providecommand{\textfrac}[2]{\hbox{{\usefont{U}{udidotnums}{m}{textnumnums}\selectfont #1/}% {\usefont{U}{udidotnums}{m}{textdenomnums}\selectfont /#2}}} -\newcommand{\onehalf}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'100}} -\newcommand{\onethird}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'101}} -\newcommand{\twothirds}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'102}} +\providecommand{\onehalf}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'100}} +\providecommand{\onethird}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'101}} +\providecommand{\twothirds}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'102}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%% double lambda for Olga %%%%%%%%%%%%%%%%%%% -\newcommand{\lambdadbl}{{\usefont{LGR}{udidot}{m}{it}\selectfont\char"15}} +\providecommand{\lambdadbl}{{\usefont{LGR}{udidot}{m}{it}\selectfont\char"15}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\def\stigma{st} @@ -88,91 +176,8 @@ %\let\qoppa\relax %\let\sampi\relax %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\DeclareTextAccent{\`}{OT1}{30} -\DeclareTextAccent{\'}{OT1}{180} -\DeclareTextAccent{\^}{OT1}{25} -\DeclareTextAccent{\~}{OT1}{152} -%\DeclareTextAccent{\"}{OT1}{168} -%\def\"#1{\accent168#1} -\@ifpackagewith{fontenc}{T1}{}{\def\"#1{\accent168#1}} -\DeclareTextAccent{\H}{OT1}{5} -\DeclareTextAccent{\r}{OT1}{9} -\DeclareTextAccent{\t}{OT1}{10} -\DeclareTextAccent{\v}{OT1}{16} -\DeclareTextAccent{\u}{OT1}{11} -\DeclareTextAccent{\=}{OT1}{175} -\DeclareTextAccent{\.}{OT1}{1} -\DeclareTextCommand{\b}{OT1}[1] - {{\o@lign{\relax#1\crcr\hidewidth\sh@ft{29}% - \vbox to.2ex{\hbox{\char175}\vss}\hidewidth}}} %%% error -\DeclareTextCommand{\c}{OT1}[1] - {\leavevmode\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1% - \else{\ooalign{\hidewidth\char184\hidewidth - \crcr\unhbox\z@}}\fi} -\DeclareTextCommand{\d}{OT1}[1] - {{\o@lign{\relax#1\crcr\hidewidth\sh@ft{10}.\hidewidth}}} -\DeclareTextCommand{\t}{OT1}[1] - {\leavevmode\setbox\z@\hbox{#1}% - {\ooalign{\hidewidth\char10\hidewidth - \crcr\unhbox\z@}}} -\DeclareTextCommand{\k}{OT1}[1] - {\leavevmode\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1% - \else{\ooalign{\hidewidth\char8\hidewidth - \crcr\unhbox\z@}}\fi} -\DeclareTextSymbol{\textperthousand}{OT1}{137} -\DeclareTextSymbol{\textsterling}{OT1}{163} -\DeclareTextSymbol{\L}{OT1}{6} -\DeclareTextSymbol{\i}{OT1}{17} -\DeclareTextSymbol{\j}{OT1}{18} -\DeclareTextSymbol{\l}{OT1}{7} -\DeclareTextSymbol{\textexclamdown}{OT1}{161} -\DeclareTextSymbol{\textgreater}{OT1}{`\>} -\DeclareTextSymbol{\textless}{OT1}{`\<} -\DeclareTextSymbol{\textquestiondown}{OT1}{191} -\DeclareTextSymbol{\textasciicircum}{OT1}{94} -\DeclareTextComposite{\'}{OT1}{!}{161} -\DeclareTextComposite{\'}{OT1}{?}{191} -\DeclareTextComposite{\"}{OT1}{e}{235} -\DeclareTextComposite{\"}{OT1}{o}{246} -\DeclareTextSymbol{\trademark}{OT1}{153} -\DeclareTextSymbol{\textregistered}{OT1}{174} -\DeclareTextSymbol{\AA}{OT1}{197} -\DeclareTextSymbol{\aa}{OT1}{229} -\DeclareTextSymbol{\AE}{OT1}{198} -\DeclareTextSymbol{\ae}{OT1}{230} -\DeclareTextSymbol{\O}{OT1}{216} -\DeclareTextSymbol{\o}{OT1}{248} -\DeclareTextSymbol{\OE}{OT1}{140} -\DeclareTextSymbol{\oe}{OT1}{156} -\DeclareTextSymbol{\ss}{OT1}{223} -\DeclareTextSymbol{\textcopyright}{OT1}{169} -\DeclareTextSymbol{\textdagger}{OT1}{134} -\DeclareTextSymbol{\textdaggerdbl}{OT1}{135} -%\DeclareTextSymbol{\textparagraph}{OT1}{182} -\DeclareTextSymbol{\textsection}{OT1}{167} -\DeclareTextSymbolDefault{\textbackslash}{OT1} -\DeclareTextSymbol{\textbackslash}{OT1}{92} -\DeclareTextCommandDefault{\textvisiblespace}{% - \mbox{\kern.06em\vrule \@height.3ex}% - \vbox{\hrule \@width.3em}% - \hbox{\vrule \@height.3ex}} -\DeclareTextSymbolDefault{\textbraceleft}{OT1} -\DeclareTextSymbol{\textbraceleft}{OT1}{123} -\DeclareTextSymbolDefault{\textbraceright}{OT1} -\DeclareTextSymbol{\textbraceright}{OT1}{125} -\DeclareTextAccentDefault{\textcircled}{OT1} -\DeclareTextSymbolDefault{\textunderscore}{OT1} -\DeclareTextSymbol{\textunderscore}{OT1}{95} -\DeclareTextCommand{\textcircled}{OT1}[1]{{% - \ooalign{% - \hfil \raise .24ex\hbox {\upshape#1}\hfil \crcr - \char 136 % "0D - }% -}} - -%%%%%%%%%%% C-S %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \@ifpackagewith{inputenc}{iso-8859-7}{% - \DeclareInputText{242}{c} + \DeclareInputText{242}{c}% }{} \@ifpackagewith{babel}{greek}{% %%%% from grsymb package %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/tex/latex/gfsdidot/ot1udidot.fd b/Master/texmf-dist/tex/latex/gfsdidot/ot1udidot.fd index 50f710b075b..db2eeaf9073 100644 --- a/Master/texmf-dist/tex/latex/gfsdidot/ot1udidot.fd +++ b/Master/texmf-dist/tex/latex/gfsdidot/ot1udidot.fd @@ -4,23 +4,26 @@ %% (c) copyright Jan 2002 by %% Tsolomitis Antonis and Vasilogiorgakis Ioannis. %% Modified by A. Tsolomitis January 2006. +%% Modified by A. Aubord December 2017. %% %% %% THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY \DeclareFontFamily{OT1}{udidot}{} -\DeclareFontShape{OT1}{udidot}{m}{n}{<-> s * [1.04] didotrg8a}{} -\DeclareFontShape{OT1}{udidot}{m}{it}{<-> s * [1.04] didoti8a}{} -\DeclareFontShape{OT1}{udidot}{b}{n}{<-> s * [1.04] didotb8a}{} -\DeclareFontShape{OT1}{udidot}{b}{it}{<-> s * [1.04] didotbi8a}{} -\DeclareFontShape{OT1}{udidot}{m}{sl}{<-> s * [1.04] didoto8a}{} -\DeclareFontShape{OT1}{udidot}{b}{sl}{<-> s * [1.04] didotbo8a}{} -\DeclareFontShape{OT1}{udidot}{m}{sc}{<-> s * [1.04] didotsc8a}{} -\DeclareFontShape{OT1}{udidot}{m}{sco}{<-> s * [1.04] didotsco8a}{} -\DeclareFontShape{OT1}{udidot}{m}{ui}{<-> s * [1.04] didotui8a}{} -\DeclareFontShape{OT1}{udidot}{bx}{n}{<-> s * [1.04] didotb8a}{} -\DeclareFontShape{OT1}{udidot}{bx}{it}{<-> s * [1.04] didotbi8a}{} -\DeclareFontShape{OT1}{udidot}{bx}{sl}{<-> s * [1.04] didotbo8a}{} +\DeclareFontShape{OT1}{udidot}{m}{n}{<-> s * [1.04] didotrg7a}{} +\DeclareFontShape{OT1}{udidot}{m}{it}{<-> s * [1.04] didoti7a}{} +\DeclareFontShape{OT1}{udidot}{b}{n}{<-> s * [1.04] didotb7a}{} +\DeclareFontShape{OT1}{udidot}{b}{it}{<-> s * [1.04] didotbi7a}{} +\DeclareFontShape{OT1}{udidot}{m}{sl}{<-> s * [1.04] didoto7a}{} +\DeclareFontShape{OT1}{udidot}{b}{sl}{<-> s * [1.04] didotbo7a}{} +\DeclareFontShape{OT1}{udidot}{m}{sc}{<-> s * [1.04] didotsc7a}{} +\DeclareFontShape{OT1}{udidot}{b}{sc}{<-> s * [1.04] didotscb7a}{} +\DeclareFontShape{OT1}{udidot}{bx}{sc}{<-> s * [1.04] didotscb7a}{} +\DeclareFontShape{OT1}{udidot}{m}{sco}{<-> s * [1.04] didotsco7a}{} +\DeclareFontShape{OT1}{udidot}{m}{ui}{<-> s * [1.04] didotui7a}{} +\DeclareFontShape{OT1}{udidot}{bx}{n}{<-> s * [1.04] didotb7a}{} +\DeclareFontShape{OT1}{udidot}{bx}{it}{<-> s * [1.04] didotbi7a}{} +\DeclareFontShape{OT1}{udidot}{bx}{sl}{<-> s * [1.04] didotbo7a}{} \endinput %% diff --git a/Master/texmf-dist/tex/latex/gfsdidot/testDidot.sty b/Master/texmf-dist/tex/latex/gfsdidot/testDidot.sty new file mode 100644 index 00000000000..8ee756cadb1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/gfsdidot/testDidot.sty @@ -0,0 +1,168 @@ +%This file contains some macros used to test the fonts GFSDidot in the +%different encodings (mainly OT1, T1 and LGR). It is encoded in UTF-8. +\RequirePackage{longtable} + +%Command to remove ligature +\newcommand\noLig{\relax} + +%This command allow hyphenation without any marker +%of the hyphenation +\newcommand\BR{\discretionary{}{}{}} + +%New macro to type set a TeX command. +%This macro has 1 parameter +% 1) The name of command to typeset +\newcommand\cmd[1]{\textbackslash#1} + +%This command reuses the list of names defined in the +%the standard document (testfont.tex) for testing a font with plain TeX. +% +%All the characters usable with UTF8 option of inputenc package +%are directly used instead of TeX constructs. +\newcommand\names{% + Ångelå Beatrice Claire + Diana Érica Françoise Ginette Hélène Iris + Jackie Kāren Łau\.{r}a María N\H{a}tałĭe Øctave + Pauline Quêneau Roxanne Sabine Tã{\'\j}a Uršula + Vivian Wendy Xanthippe Yvønne Zäzilie\par} + +%This command reuses the standard text defined in in the +%the standard document (testfont.tex) for testing a font with plain TeX. +\newcommand\TexStdTestText{% +On November 14, 1885, Senator \& Mrs.~Leland Stanford called +together at their San Francisco mansion the 24~prominent men who had +been chosen as the first trustees of The Leland Stanford Junior University. +They handed to the board the Founding Grant of the University, which they +had executed three days before. This document---with various amendments, +legislative acts, and court decrees---remains as the University's charter. +In bold, sweeping language it stipulates that the objectives of the University +are ``to qualify students for personal success and direct usefulness in life; +and to promote the publick welfare by exercising an influence in behalf of +humanity and civilization, teaching the blessings of liberty regulated by +law, and inculcating love and reverence for the great principles of +government as derived from the inalienable rights of man to life, liberty, +and the pursuit of happiness.'' + +?`But aren't Kafka's Schlo{\ss} and {\AE}sop's {\OE}uvres +often na{\"\i}ve vis-\`a-vis the d{\ae}monic ph{\oe}nix's official r\^ole +in fluffy souffl\'es? +(!`THE DAZED BROWN FOX QUICKLY GAVE 12345--67890 JUMPS!). +} + +%Two macros to test the use of the greek language: the first is for +%ancient greek with the text taken from Perseus, while the second +%is a text taken fron the example given in the introducing text +%of the package "gfsdidot.sty" + \newcommand\oldgreekSample{% + {\fontencoding{T1}\selectfont{}Some ancient greek text (Euclid, book~VI, definition~3):}\\ + \textgreek{ἄκρον καὶ μέσον λόγον εὐθεῖα τετμῆσθαι λέγεται, ὅταν ᾖ ὡς ἡ ὅλη πρὸς τὸ μεῖζον + τμῆμα, οὕτως τὸ μεῖζον πρὸς τὸ ἔλαττον}% + \par + } + +%And a modern greek example (mainly for the tonic accent) + \newcommand\modernGreekSample{% + {\fontencoding{T1}\selectfont{}Some modern greek:}\\ + {\fontencoding{LGR}\selectfont + \textit{Υπόδειξη:} + Πρέπει να σκεφτούμε μια συνάρτηση της οποίας γνωρίζουμε ότι υπάρχει το ολοκλήρωμα. + Τότε παίρνουμε μια διαμέριση $P_n$ και δείχνουμε π.χ. ότι το + $U(f,P_n)$ είναι η ζητούμενη σειρά. + } + \par + } + +%This command describes the french (and german) diacritics and specific characters +%used in Switzerland (in Germany some other or different characters are used). + \newcommand\frenchCarSample{% + Diacritic characters used in french (and german) + in Switzerland: ö\BR{}ä\BR{}ü\BR{}é\BR{}è\BR{}ê\BR{}ë\BR{}à\BR + â\BR{}ù\BR{}û\BR{}î\BR{}ï\BR{}ô\BR{}œ\BR{}ç\BR{}«\BR{}» and the capitals + Ö\BR{}Ä\BR{}Ü\BR{}É\BR{}È\BR{}Ê\BR{}Ë\BR{}À\BR{}Â\BR{}Ù\BR{}Û\BR + Î\BR{}Ï\BR{}Ô\BR{}Œ\BR{}Ç + + Some of the accented capitals are very rarely used. The character ``«'' is the + opening quote and ``»'' is the closing quote. The character ``œ'' is used + in some words (sometime very common) for example in the designation ``tomates cœur de bœuf'' + (a variety of tomatoes).} + +%The following command exhibits the problem when typing directly some characters +%which are encoded in different slots in different encodings. + \newcommand\OTOneProblem{% + The following characters are problematic in \TeX{} since they depend on the encoding:\\[\medskipamount]% + \begin{tabular}{lll}% + \multicolumn{1}{c}{\textbf{Char wished}} & \multicolumn{1}{c}{\textbf{\TeX{} code}} &% + \multicolumn{1}{c}{\textbf{direct input}}\\\hline + \textless & \cmd{textless} & < \\ + \textdollar & \cmd{textdollar} or \cmd{\$} & \char 36 \\ + \pounds & \cmd{textsterling} or \cmd{pounds}& \char 36 \\ + \textbar & \cmd{textbar} & | \\ + \textgreater & \cmd{textgreater} & > \\ + \textbackslash& \cmd{textbackslash} or \cmd{\textbackslash}& \char 92 \\ + \textbraceleft & \cmd{textbraceleft} or \cmd{\{}& \char 123 \\ + \textbraceright & \cmd{textbraceright} or \cmd{\}} & \char 125 \\ + \end{tabular}% + } + +%The following command tests the standard ligatures of OT1 encoding. + \newcommand\testLig{% + The table of ligatures is:\\[\medskipamount]% + \begin{tabular}{lll}% + \multicolumn{1}{c}{\textbf{Char wished}} & \multicolumn{1}{c}{\textbf{\TeX{} code}} &% + \multicolumn{1}{c}{\textbf{direct input}}\\\hline + !` & \cmd{textexclamdown} or !\noLig{}` & \char 60 \\ + ?` & \cmd{textquestiondown} or ?\noLig{}` & \char 62 \\ + ff & f\noLig{}f & \char 11 \\ + fi & f\noLig{}i & \char 12 \\ + fl & f\noLig{}l & \char 13 \\ + ffi & f\noLig{}f\noLig{}i & \char 14 \\ + ffl & f\noLig{}f\noLig{}l & \char 15 \\ + -- & \cmd{textendash} or -\noLig{}-& \char 123 \\ + --- & \cmd{textemdash} or -\noLig{}-\noLig{}-& \char 124 \\ + `` & \cmd{textquotedblleft} or `\noLig{}`& \char 92 \\ + '' & \cmd{textquotedblright} or '\noLig{}'& \char 34 \\ + \end{tabular}% + } + +%This command test the position of the different accents and the use of few +%special characters +\newcommand\testAccents{% + Finally, the last interesting property is the position of the different accents\footnote{% + The first lines of the table use hopefully non existant accented characters. This will force the use + of an accent plus a character and avoid the use of the precomposed glyph in the encodings owning + it.} and the few special letters:\\[\medskipamount]% + \begin{longtable}{llll}% + \multicolumn{1}{l}{\textbf{Char wished}} & \multicolumn{1}{l}{\textbf{\TeX{} code}} &% + \multicolumn{1}{l}{\textbf{Char wished}} & \multicolumn{1}{l}{\textbf{\TeX{} code}}\\\hline + \endfirsthead + \multicolumn{1}{l}{\textbf{Char wished}} & \multicolumn{1}{l}{\textbf{\TeX{} code}} &% + \multicolumn{1}{l}{\textbf{Char wished}} & \multicolumn{1}{l}{\textbf{\TeX{} code}}\\\hline + \endhead + \endfoot + \endlastfoot + \rule{0pt}{3ex}%To force some space after \hline + \`q & \cmd{`}q&\`Q &\cmd{`}Q \\ + \'q & \cmd{'}q&\'Q &\cmd{'}Q \\ + \^q & \cmd{\textasciicircum}q&\^Q &\cmd{\textasciicircum}Q \\ + \~q & \cmd{\textasciitilde}q&\~Q &\cmd{\textasciitilde}Q \\ + \"q & \cmd{"}q&\"Q &\cmd{"}Q \\ + \H{q} & \cmd{H\textbraceleft q\textbraceright}&\H{Q} &\cmd{H\textbraceleft Q\textbraceright} \\ + \r{q} & \cmd{r\textbraceleft q\textbraceright}&\r{Q} &\cmd{r\textbraceleft Q\textbraceright} \\ + \v{q} & \cmd{v\textbraceleft q\textbraceright}&\v{Q} &\cmd{v\textbraceleft Q\textbraceright} \\ + \u{q} & \cmd{u\textbraceleft q\textbraceright}&\u{Q} &\cmd{u\textbraceleft Q\textbraceright} \\ + \={q} & \cmd{=\textbraceleft q\textbraceright}&\={Q} &\cmd{=\textbraceleft Q\textbraceright} \\ + \.{q} & \cmd{.\textbraceleft q\textbraceright}&\.{Q} &\cmd{.\textbraceleft Q\textbraceright} \\ + \c{z} & \cmd{c\textbraceleft z\textbraceright}&\c{Z} &\cmd{c\textbraceleft Z\textbraceright} \\ + \b{z} & \cmd{b\textbraceleft z\textbraceright}&\b{Z} &\cmd{b\textbraceleft Z\textbraceright} \\ + \k{z} & \cmd{k\textbraceleft z\textbraceright}&\k{Z} &\cmd{k\textbraceleft Z\textbraceright} \\ + \ae & \cmd{ae}&\AE &\cmd{AE} \\ + \oe & \cmd{oe}&\OE &\cmd{OE} \\ + \l & \cmd{l}&\L &\cmd{L} \\ + \ss & \cmd{ss}&\SS &\cmd{SS}\\ + \o & \cmd{o}&\O &\cmd{O}\\ + \guilsinglleft & \cmd{guilsinglleft}&\guilsinglright &\cmd{guilsinglright}\\ + \texteuro & \cmd{texteuro} or \cmd{textgreek\textbraceleft\cmd{euro}\textbraceright}\footnote{This command is valid only + with the \emph{gfsdidot} package, while the other is valid only with + the \emph{textcomp} package.} & \copyright & \cmd{copyright} \\ + \end{longtable}% +} diff --git a/Master/texmf-dist/tex/latex/gfsdidot/ts1udidot.fd b/Master/texmf-dist/tex/latex/gfsdidot/ts1udidot.fd new file mode 100644 index 00000000000..78bc939b61e --- /dev/null +++ b/Master/texmf-dist/tex/latex/gfsdidot/ts1udidot.fd @@ -0,0 +1,44 @@ +%% +%% Created by A. Aubord December 2017. +%% +%% +%% THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY + +\DeclareFontFamily{TS1}{udidot}{} +\DeclareFontShape{TS1}{udidot}{m}{n}{<-> s * [1.04] ts1-gfsdidotr}{} +\DeclareFontShape{TS1}{udidot}{m}{it}{<-> s * [1.04] ts1-gfsdidotri}{} +\DeclareFontShape{TS1}{udidot}{b}{n}{<-> s * [1.04] ts1-gfsdidotb}{} +\DeclareFontShape{TS1}{udidot}{b}{it}{<-> s * [1.04] ts1-gfsdidotbi}{} +\DeclareFontShape{TS1}{udidot}{m}{ui}{<-> s * [1.04] ts1-gfsdidotui}{} +\DeclareFontShape{TS1}{udidot}{bx}{n}{<-> s * [1.04] ts1-gfsdidotb}{} +\DeclareFontShape{TS1}{udidot}{bx}{it}{<-> s * [1.04] ts1-gfsdidotbi}{} +\DeclareFontShape{TS1}{udidot}{m}{sl}{<-> s * [1.04] ts1-gfsdidoto}{} +\DeclareFontShape{TS1}{udidot}{b}{sl}{<-> s * [1.04] ts1-gfsdidotbo}{} +\DeclareFontShape{TS1}{udidot}{bx}{sl}{<-> s * [1.04] ts1-gfsdidotbo}{} + +\endinput +%% +%% End of file 'ot1udidot.fd'. + + + + + + + + + + + + + + + + + + + + + + + |