Auto 1 for Latex
Total Page:16
File Type:pdf, Size:1020Kb
Auto Õ support for LATEX Nico Schlömer vþ.ó – óþÕþ/þ¢/ÕÕ Contents Õ Overview Õ ó Interference with other fonts ó ì Options ó ¦ Figure selection ì ¢ «« classication ì ä Version history ì A Font samples ¦ B Implementation ä B.Õ emainstylele.......................................... ä B.ó e font denition les . Õ Overview e Auto1 package provides support for the Auto Õ™ font family by Underware [ó]. You can use this font in a LATEX document by adding the command \usepackage{Auto1} to the preamble. is will change both the sans-serif text font and the sans-serif math font to Auto Õ™. If you prefer another math font, use the option onlytext as explained in Section ì. You can set LATEX to use the standard sans-serif font (\sfdefault, being Auto Õ™ aer loading Auto1) as standard font throughout the whole document by \renewcommand\familydefault{\sfdefault} Samples of the Auto Õ™ can be found in appendix A. Õ Encoding and kerning Note that, as usual with ±Õ encoded fonts, kerning (and ligatures) with accented characters are treated poorly, if at all. Note dierence in kerning between ±Õ-encoded: To TaTe, íÕ-encoded: To TaTé. It is therefore advised to always use the Auto1 package in either íÕ or ±Õ encoding. is is the default conguration. Also note that certain common symbols such as \texteuro (€) and \textyen (¥) are only available in íÕ encoding. ó Interference with other fonts In its light variant (see options below), the package redenes LATEX default weights for regular and bold text \mddefault, \bfdefault to l, b, which diers from the default m, bx. When Auto Õ™ is used in conjuction with other fonts, their weights will hence also be adjusted. If the other font does not include a b weight, for example, LATEX may fall back to a non-bold alternative. In the regular variant of Auto Õ™, the default weights are employed. ì Options e default settings are marked with an asterisk*. Font selection e following options specify which version of the font you prefer to use. regular* use regular face light use light face e package also provides a way to only change the text fonts or only the math fonts. onlytext only change the text fonts onlymath only change the math fonts Figure selection Auto Õ™ oers two dierent gure versions. A detailed description is given in Section ¦. e default version can be selected by the following options: textosf use text gures in text mode mathosf use text gures in math mode osf* use text gures in text and math mode textlf use lining gures in text mode mathlf use lining gures in math mode lf use lining gures in text and math mode ó Font scaling e font can be up- and downscaled by any factor. is can be used to make Auto Õ™ more friendly when used in company with other type faces, e.g., to adapt the the x-height. scaled=1.0* scale the font by a factor Õ.þ (any positive real number permitted) To preserve the characteristics of the font, it is recommended to downscale by no less than a factor of þ.É¢, and upscale by no more than a factor of Õ.þ¢. ¦ Figure selection Auto Õ™ oers two dierent gure versions. One can choose between text gures (lowercase gures) and lining gures (uppercase gures); both variants ship only in their proportional variants, tabular variants are not provided. text gures lining gures proportional 0123456789 €$¥ 0123456789 €$¥ e \figureversion command of the fontaxes package (part of the MinionPro package) can be used to switch between dierent gure versions. Possible parameters are: text, osf text gures lining, lf lining gures ¢ «« classication Parenthesised combinations are provided via substitutions. encoding family series shape ±Õ, ±Õ, íÕ Auto1-LF, m, eb (bx), l, b n, it (sl), sc, si Auto1-OsF ä Version history Version þ.ó: Added íÕ encoding, scaling Version þ.Õ: Initial release ì A Font samples See table Õ for samples of all weights and variants of Auto Õ™. Regular weight with black highlight Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, con- sectetuer id, vulputate a, magna. Donec vehicula augue eu neque. Pellentesque habitant morbi tris- tique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat. Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur auctor semper nulla. Donec varius orci eget risus. Duis nibh mi, congue eu, accum- san eleifend, sagittis quis, diam. Duis eget orci sit amet orci dignissim rutrum. Light weight with bold highlight Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adip- iscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat. Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Ae- nean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur auctor semper nulla. Donec varius orci eget risus. Duis nibh mi, congue eu, accum- san eleifend, sagittis quis, diam. Duis eget orci sit amet orci dignissim rutrum. ¦ weight shape sample light upright The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ italic The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ small caps The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ italic small caps The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ regular upright The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ italic The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ small caps The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ italic small caps The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ bold upright The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ italic The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ small caps The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ italic small caps The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ black upright The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ italic The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ small caps The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ italic small caps The quick brown fox jumps over the lazy dog. 0123456789 ff fl fi To AV é à ä ö ü ï æ € $ ¥ - – — ¿? % & @ Table Õ: Samples of all the available weights. Note that all regular and italic versions are available with old-style gures as well. ¢ B Implementation B.Õ e main style le Õ `stylee ó ì \RequirePackage[T1,LY1]{fontenc} ¦ Options If possible, pull in the xkeyval package for handling of the scaling argument. Using \DeclareOptionX instead of \DeclareOption makes it possible to pass values to options. ¢ \IfFileExists{xkeyval.sty}{ ä \newcommand*{\AutoOne@scale}{1} ß \RequirePackage{xkeyval} \DeclareOptionX{scaled}{\renewcommand*{\AutoOne@scale}{##1}} É }{ Õþ \let\DeclareOptionX\DeclareOption ÕÕ \let\ExecuteOptionsX\ExecuteOptions Õó \let\ProcessOptionsX\ProcessOptions Õì } Õ¦ Õ¢ \newif\if@AutoOne@Text@ Õä \newif\if@AutoOne@Math@ Õß \@AutoOne@Text@true Õ \@AutoOne@Math@true ÕÉ \DeclareOptionX{onlytext}{\@AutoOne@Text@true\@AutoOne@Math@false} óþ \DeclareOptionX{onlymath}{\@AutoOne@Text@false\@AutoOne@Math@true} óÕ Figure style Dene options for lining gures (lf) and old-style gures (osf), and oer more ne- grained control over gure styles in text vs. math mode. óó \DeclareOptionX{textlf}{\def\AutoOne@Text@Fig{-LF}} óì \DeclareOptionX{mathlf}{\def\AutoOne@Math@Fig{-LF}} ó¦ \DeclareOptionX{lf}{\ExecuteOptionsX{textlf,mathlf}} Options for old-style gures: ó¢ \DeclareOptionX{textosf}{\def\AutoOne@Text@Fig{-OsF}} óä \DeclareOptionX{mathosf}{\def\AutoOne@Math@Fig{-OsF}} óß \DeclareOptionX{osf}{\ExecuteOptionsX{textosf,mathosf}} Use old-style gures (osf) by default. ó \ExecuteOptionsX{osf} óÉ Dene variables for text and math family. ìþ \newcommand\AutoOne@Text@Family{Auto1\AutoOne@Text@Fig} ìÕ \newcommand\AutoOne@Math@Family{Auto1\AutoOne@Math@Fig} ìó ä Weight options Declare options. Regular weights go with ‘black’ (eb) as bold variant (see [Õ]); eb is however ssubed to bx to enhance compatibility with other fonts; bx is the default bold font, so redening the \bfdefault family will do nothing unexpected here.