Tag Info

Hot answers tagged

12

The long tailed Q is not an independent glyph in Linux Libertine; it is actually bundled with the u in one single character. As a consequence, you have to create the glyph. I'm not an expert on Fontforge, but it is quite straightforward. Go to the font download page in sourceforge and get the source files; ...


11

I have used Metafont to create several calligraphic fonts (bookhands on CTAN) based on writing between Roman times and the 15th century. Later I used FontForge to convert some of them to type 1 fonts, as well as adding a few tweaks like accenting some letters. FontForge is free software with a graphical user interface rather than a textual one. I know it ...


11

We can define a command to switch to a fallback font using fontspec. Then we can use newunicodechar to map the missing Unicode characters to a command that switched to the fallback font for those characters. \documentclass{article} \usepackage{fontspec, newunicodechar} \setmainfont{PT Serif} \newfontfamily{\fallbackfont}{Linux Libertine ...


10

The quotation (and hence the question:-) seem to be mixing up different concepts. There is the difference between having fonts at a design size or simply magnifying them. (so the difference between cmr10 scaled to 12pt and cmr12, as shown in other answers). Note this is really a distinction about the computer modern fonts rather than about TeX or the ...


8

An example is worth a thousand words; I used Plain TeX for better showing what's going on, with the explicit sizes shown. \font\testhuge=cmr17 \font\testhugescaled=cmr17 at 10pt \font\testbig=cmr12 \font\testbigscaled=cmr12 at 10pt \font\testsmall=cmr7 \font\testsmallscaled=cmr7 at 10pt \font\testtiny=cmr5 \font\testtinyscaled=cmr5 at 10pt ...


6

Example of "correctly balanced thickness", using Computer Modern, and with a large zoom factor on the PDF before I made the screenshot: \documentclass{article} \begin{document} {\Huge ABCDEF} ABCDEF \end{document} Compare the height of the A to the width of its right serif. The larger size is roughly 281 pixels high, and the serif is roughly 85 pixels ...


6

Apart from text opacity, you can use node contents \newcommand*{\MyTikzPicture}[1] {% \begin{tikzpicture} \draw [draw=green, ultra thick] (1,0) -- (2,0); % Should only be visible in (2) \draw [ultra thick, Line Draw Style] (0,0) -- (3,0) node [pos=0.5, ultra thick, text=black, node contents={$A$}, Text Style] {} %%<-- here ...


5

This is ugly like hell and needs a lot of adjustment in order to work. Furthermore, it is likely to produce horrible results in long passages of text and to break down all of the wonderful typesetting features of LaTeX. However, I couldn't miss this chance to prove egreg wrong. :-D (Even if he obviously already knew this was possible and could do it much ...


4

The MinionPro font that comes with Adobe Reader does not have these symbols: In short, you can't use characters from a font that doesn't have those characters. This is therefore not a question about TeX, and you seem to acknowledge that in your question, asking if it "can really be true" that Adobe's MinionPro font doesn't have these symbols. I'm ...


4

This is a bug in tex4ht, \textregistered is defined like this in html4.4ht: \def\:tempc{\special{t4ht@+\string&{35}xAE{59}}x;} \HLet\textregistered\:tempc this may seem little bit cryptic, but \special{t4ht@+\string&{35}xAE{59}} outputs special instruction to replace letter x with html entity &#xAE;, this html entity is in later process ...


4

The .fd files hard-code a scaling factor for some reason. So the fonts are scaled to 1.04. You can work around this by using your own definition: \documentclass[a4paper]{article} \usepackage[LGR,T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[polutonikogreek,english]{babel} \usepackage{ebgaramond} \newcommand{\GR}[1]{% ...


3

You can't avoid the warning, because the Pygments lexer for Python chooses italics for triple quoted strings. If I don't load inconsolata, the output is The Inconsolata font has no italic/slanted shapes, so the warning is issued and the upright font is used. You should use a monospaced font that has italic shape, probably. You can avoid the warning ...


3

Unbalanced thickness may refer to the fact that a scaled font produces as a consequence thicker large characters and thinner small characters, always in comparison to the «normal» or intended size of the given font. If you have a family typeface with different optical sizes (as, for instance, Minion Pro), you can balance the character weight, so that ...


3

Here there are two preparations the user must make \preparecolorrefs{integer} where integer is greater or equal to the total number of references in the document \refcolor{cite-label}{color} to indicate the color for particular citations that aren't black. EDITED to make a self-compiling example (no external files required). \documentclass{article} ...


3

CJKutf8 package is a part of CJK bundle, it is designed for documents in UTF-8 encoding only, and it actually loads CJK package internally. The main aim of CJKutf8 package is, to use utf8 option in inputenc package together with CJK package. That is to say, CJKutf8 patches original CJK package to make it work well with inputenc. And it loads inputenc ...


3

Iff you want your font to be widely usable (i.e. to be used by other programs than TeX), it must be an OpenType font, as that is the standard font format in use today. The best tool used to create them by the TeX community is MetaType1; I strongly suggest to contact the Poles. And of course FontForge is an indispensable tool.


2

With XeTeX you do not need multiple size declarations, and I believe you should not with LuaTeX. In what follows, I'll refer to @Ludenticus' solution as (1), and mine, which follows, as (2): \documentclass[12pt,a5paper]{memoir} \setlrmarginsandblock{1cm}{*}{1} \usepackage{fontspec} \setmainfont{Minion Pro}[% SizeFeatures={% {Size={-8.4},Font=* ...


1

As mentioned by egreg, you will have to declare your math-alphabet \mathcal after the loading of mathdesign, as this package changes all the math-symbols for you. As you have seen, the package mathdesign seems to be declaring that same alphabet already. That is why you encounter a "Command \mathcal already defined." here. Before patching around in ...


1

You don't alway use the font installed with TeX Live. You can use any font you have if you use XeTeX or LuaTeX. It is preferred to use xeCJK package for Chinese and you don't need to worry about what fonts are installed with TeX distribution. For Chinese, there are only these fonts preinstalled in TeX Live (MacTeX): For pdfLaTeX (with CJK bundle), only ...



Only top voted, non community-wiki answers of a minimum length are eligible