Tag Info

New answers tagged

3

It looks like you are using a distribution which either does not properly activate installed map files. First, your invocation of updmap is wrong. You cannot call updmap with the full path of a map file, please see the man page of updmap --help for correct syntax. The normal solution would be to call updmap-sys --enable Map sansmathaccent.map which ...


1

The warning says that the font T1/aett/bx/n (font ae monospaced bold) was unavailable (it doesn't exist) and that instead LaTeX used font T1/aett/m/n (font ae monospaced). The ae fonts are based on the default Computer Modern fonts, where the monospaced version has no bold; these fonts are loaded by default by the sig-alternate class. Basically, you can't ...


3

I also spent a lot of time on the issue and found nothing satisfactory. So I made up my own blackboard bold mu and alpha: \documentclass{minimal} \usepackage{amssymb} \newcommand{\Balpha}{\mbox{$\hspace{0.12em}\shortmid\hspace{-0.62em}\alpha$}} \usepackage{xcolor} \usepackage{graphicx} ...


7

For this specific problem, you can define your command as \newcommand{\Lm}{\ensuremath{\mathcal{L}}}


3

Here's an attempt; lowercase and uppercase Greek letters are upright, as uppercase Latin letters in math. Everywhere the Libertine font is used, which might give poor results in some cases, as its sidebearings are not really good for math. \documentclass{article} \usepackage[libertine]{newtxmath} \usepackage{libertine} ...


2

\documentclass[a4paper]{scrartcl} \usepackage{blindtext} \usepackage{unicode-math} \usepackage{libertine} \setmathfont[range={\mathrm,\mathit,\mathup}]{Linux Libertine O} \setmathfont[range=\mathsf]{Linux Biolinum O} \begin{document} \blindtext \begin{equation} a^2 + b^2 = c^2 \qquad 1234567890 \end{equation} \end{document}


0

You can use fontspec with the [no-math] option. In this case XeLaTeX and LuaLaTeX will fall back on using legacy math fonts, so you can load newtxmath with the [libertine] option \documentclass[a4paper]{scrartcl} \usepackage{blindtext} \usepackage[no-math]{fontspec} \setmainfont[ Ligatures=Historic, % ligatures for st, ct ...


2

This is not the answer how to install the la-font, but maybe it is easier to install another handwriting font: http://www.ctan.org/pkg/schulschriften - it is part of TeXLive. You can get a la-variant with \usefont{T1}{wela}{m}{n} A MWE (including some other handwriting fonts): \documentclass[english]{scrartcl} \usepackage{babel} \usepackage{blindtext} ...


3

with XeLaTeX use: \documentclass[article,a4paper,oneside]{memoir} \usepackage{fontspec} \usepackage[T1]{fontenc} \usepackage{kpfonts} \begin{document} \section{section} \section{other section} \subsection{my subsection} bla bla bla. \textbf{bold} $v_t : \mathbb{R}^3 \rightarrow \mathbb{R}^3 $ \fontspec{Garamond Premier Pro} foo bar öäöä ...


9

Unfortunately you are doing many things wrong all at the same time. First of all, with XeTeX should should never load the inputenc package; XeTeX deals with UTF-8 encoded files automatically. See Frequently loaded packages: Differences between pdfLaTeX and XeLaTeX Furthermore, if the reason for switching to XeTeX is properties of your .bib file, then you ...


0

Without having amsmath loaded, the following code manages to draw an fbox around the equation numbers if they have been referenced. However, this does not work together with amsmath and should be altered to make use of mathtools, which could be used more easily, but at the moment I have no idea how to switch the style back after printing out the eq. number. ...


4

I installed them by running tlmgr install cowfont --repository http://tlcontrib.metatex.org/2012 ...which gave me: tlmgr: package repository http://tlcontrib.metatex.org/2012 [1/1, ??:??/??:??] install: cowfont [656k] tlmgr: package log updated at d:/programs/texlive/texmf-var/web2c/tlmgr.log running mktexlsr ... done running mktexlsr. running updmap-sys ...


7

Using pdfTeX (i.e., use latex or pdflatex to compile) and a transliteration for 'ancient' Greek: \documentclass[12pt]{article} \parindent0pt \useackage[T1]{fontenc}% \usepackage[utf8]{inputenc}% \usepackage[polutonikogreek,latin,english]{babel} % switch to language environments \newcommand{\latin}[1]{% \foreignlanguage{latin}{#1}} ...


3

(This is a more-or-less complete re-write of an answer given earlier, after I discovered the varg option of the newtxmath and newpxmath packages.) You mention that you would like to typeset your document using Times Roman text and math fonts. The newtxmath and newtxtext packages -- much evolved and improved versions of the old txfonts package -- recognize ...


7

Remarks I reproduced Heiko's answer using ntheorem. There is a tricky thing about it: You can't wrap the \lettrine into the [] of the \item as one would normally do for theorems. I get the error ! Argument of \@lettrine has an extra }. if I do this. I don't know why, maybe somebody knows (Please comment). Implementation \documentclass{article} ...


4

As @egreg said, it is quite easy to turn a Type 1 font into a TrueType or OpenType font with Fontforge. Depending on your operating system, Fontforge will be more or less integrated, but I have successfully used it on OS X and Linux Mint or Ubuntu (on Windows, I believe you will need to install Cygwin first). Once you have Fontforge, you can use its export ...


21

Partial answer that addresses: Dropped captital/number is solved by package lettrine. It also provides the small caps for Bezeichnungen:. Color of the number (gray). Alignment of the equation system (using environment alignat* of package amsmath. Just for fun I have added additional alignments for | and \in. Letter spacing of the small caps text via ...


3

Partial solution: the font is loaded with the package mathpazo.


7

You can set the main font first to set the x-height; then you can reset it. \documentclass{article} \usepackage{fontspec} \setmainfont{Lucida Bright OT} \setmainfont[Ligatures=TeX, ItalicFeatures={Scale=MatchLowercase}, ItalicFont={EB Garamond 12 Italic}, ]{Lucida Bright OT} \begin{document} Abc\emph{def} %% We check what the normal choice would be ...


6

It is very important to note that the formulas in the question are like that because: There’s one little problem here, though: The web isn’t nearly as precise as these equations. You see, web designers are constrained to using integer values for things like font size, line height, and line width (this will be the case until sub-pixel rendering ...


15

(I made the mistake of reading the article ...) I've never read any Official Source on typography. Obviously, as a TeX practitioner (and one-time amateur calligrapher) I'm interested in typography but my knowledge is zero and therefore my typographic wisdom is based entirely on "I know what I like when I see it". I am, however, a professional ...


6

It is basically a bug. When querying math dimensions, we check if the current font is an OpenType math font or not and either use OpenType math dimensions from the current font or traditional math dimentions from \fam1, \fam2 or \fam3. At the time the first fraction is typeset the current font is \nullfont and since that is not an OpenType math font we end ...


5

From the following discussion I would say that this is an more or less undocumented feature of XeTeX. There seems to be two \fontdimen systems: The legacy \fontdimen according to Appendix G of "The TeXbook". The \fontdimen of the math table of the OpenType fonts. The \fontdimens are listed in Appendices B and C of the documentation for package ...


0

I moved my build process onto a fresh install of Ubuntu and still had the same problem. In the end I installed the "texlive-full" package, and that sorted it out.


3

There is nothing wrong with the font, you can find this out by writing the same thing into another program. It is a issue with ICU engine with XeTeX. One way to fix it is to issue a zero kern after the apostrophe: l'\kern0pt inno Another option would be to use \XeTeXinterchartoks to insert that kern automatically. See this answer on how to do it. ...


11

For very strange reasons, the slot "6B in the font sy-iwona is empty. The \lVert and \rVert commands point to that slot, so you can't see any symbol because it's not there to begin with. The definition of \lVert and \rVert given by amsmath are \DeclareMathDelimiter{\lVert} {\mathopen}{symbols}{"6B}{largesymbols}{"0D} \DeclareMathDelimiter{\rVert} ...


3

EDIT for left/right. While David Carlisle points out that my solution does not work for vertically scaled \left \right syntax, the \stretchleftright{}{}{} syntax of the scalerel package takes care of it. \documentclass{standalone} \usepackage[math]{iwona} \usepackage{mathtools} \usepackage{scalerel} \DeclarePairedDelimiter\norm{\lVert}{\rVert} ...


0

If you use LuaLatex you can simply include each font you have installed on your computer. \documentclass{article} \usepackage{fontspec} \newfontfamily\arabicfontA [Script=Arabic, % to get correct arabic shaping Scale=1.2] % make the arabic font bigger, a matter of taste {KacstOffice} % whatever Arabic font you like ...


2

Doing locate /t2a | grep 'texlive/2012/texmf-dist/tex/latex/.*\.fd$' outputs, on my updated TeX Live /usr/local/texlive/2012/texmf-dist/tex/latex/antt/t2aantt.fd /usr/local/texlive/2012/texmf-dist/tex/latex/antt/t2aanttc.fd /usr/local/texlive/2012/texmf-dist/tex/latex/antt/t2aanttl.fd /usr/local/texlive/2012/texmf-dist/tex/latex/antt/t2aanttlc.fd ...


1

Cyrillic fonts for legacy LaTeX engines come with TeXLive and MiKTeX in LH (Metafont) and cm-super (PostScript) bundles. MiKTeX installs LH fonts automatically on-demand, but you need to install cm-super manually. Once installed, cm-super fonts are loaded automatically when you produce either PS of PDF document, you don't need to call any package. Most ...


0

Thanks @Tobias Schula. I just used the wrong Font path for the Adobefonts. After I repeat the the installation with the right path /opt/Adobe/Reader9/Resource/Font/ everything worked fine for me again.


1

As noted by @cgnieder the default appearance of numbers for the main text should be set to proportional and osf (old style figures). The chemistry equations should get proportional lining figures. Finally, tables should contain tabular figures (equal width), but personally I think old style figures are fine in a table. In the following code I define three ...


4

How can I put this information to LuaLaTeX, LaTeX etc.? I'm afraid the answer is: you can't, or maybe you can't unless someone comes up with something really trippy. If I understand correctly (feel free to tell us more), what you have in mind is, essentially, the method employed by Johannes Gutenberg. His founts, like yours, had several versions of the ...


0

If the only difference in your (unspecified) font is the width of glyphs, LaTeX microtype package might be your first choice. Alas, the documentation is over 200 pages long.


0

I show your original, followed by two alternatives. The first scales the summation to 20% of the original size. The second scales the 3 to 500% of the original size. The \scaleobj command is part of the scalerel package. It is similar to the \scalebox command of the graphicx package, except that it defaults to math mode, and takes the current math style ...


1

You could use parentheses to make more clear what you would like to show: 3^{\left (\displaystyle \sum_{n=0}^{\infty}\frac{(-1)^n}{2^n} \right)} Or standard in-line style: 3^{\left (\sum_{n=0}^{\infty}\frac{(-1)^n}{2^n}\right )} or even 3^{\sum_{n=0}^{\infty}\frac{(-1)^n}{2^n}} This looks much more natural than having a huge 3 and a tiny ...


5

Easiest method: \begingroup \ttfamily \begin{longtable}... ... \end{longtable} \endgroup


3

The libertine package per default has the options lining and tabular activated. In normal text you usually want proportional and oldstyle, though. \usepackage[oldstyle,proportional]{libertine} You don't want to set them as package options, though, but only after newtxmath has been loaded to get lining figures in math. This could be done by defining ...


1

Use \usepackage{libertine}, and immediately after \begin{document}, use \libertineOsF. Immediately after \begin{table}[..], use \libertineLF.


0

for those who dont like to be limited by standards: \titleformat{\chapter}{\fontsize{19pt}{0em}\selectfont\bf}{\thechapter.}{1em}{}


1

I like Courier (note: not Courier New!) for mono, Marion for roman, and Cambria Math for math. They are a bit different weight, but scaling to x-height helps. Unfortunately, it should be mentioned, Marion lacks smallcaps. \documentclass[11pt]{article} \usepackage[fleqn]{amsmath} \usepackage{fancyvrb} \usepackage{fontspec} \usepackage{unicode-math} ...


2

You don't need to install everything by hand. Create a local repository. You need the two miktex-zz...-files and the miktex packages you want to install. Put everything in some folder and then use this folder. For details see e.g. MiKTeX: [...] does not seem to be a local package repository. Ignore the message about a .cfg file. maketfm is looking for it as ...


5

Palatino, Bera, and AMS Euler I have really been enjoying AMS Euler as a math font lately. If you need completely free fonts, then I think that Palatino + Euler + Bera Serif/Sans/Mono for code, etc. is a pretty workable combination. (This is essentially the default combination used by the ClassicThesis package.) Both Palatino and Euler were designed by ...


2

Include this in the preamble: \usepackage{unicode-math} \setmathfont{Cambria Math} \setmainfont{Times New Roman} Then compile your document with xelatex instead of pdflatex, otherwise it won't work. AFAIK you can't use Cambria Math unless you switch to xelatex. On a personal note, I strongly recommend against using Times New Roman or Arial in a ...


3

That template assumes you have obtained a license for Linotype's Neue Helvetica (€45 to €1500) and properly installed the font. If you haven't, try {Arial}, {TeX Gyre Heros}, or whatever you like, instead. Locate friggeri-cv.cls and modify the following lines (l. 53--58): \newfontfamily\bodyfont[]{Helvetica Neue} \newfontfamily\thinfont[]{Helvetica Neue ...


0

Here are some capitols that might be related. Not fonts included. I can't find the rest :C ℜ ℰ ℱ ℐ ℋ ℒ ℭ ℬ ℳ


8

The Charis SIL enables the ffi ligature for latin scripts. Either activate this feature locally \setupbodyfont[charissil] {\feature[+][latn]Charis SIL: Difficult} or globally \definefontfeature [default] [default] [script=latn]


1

If I didn't misunderstand it, what you need is the “Conjoining Jamo Behavior” described in the Unicode document, or especially the “Hangul Syllable Composition”. One possible way to do this, is to create a TECkit map file and use it. You may need to write a script program to produce a .map like this (tex-text.map): ; TECkit mapping for TeX input ...


1

The following works, but is a poor hack. The reason is that what we "really" want to do is get TeX to use the Culmus fonts whenever possible (or maybe always), rather than the older Hebrew fonts. It is based on the pertinent instructions in the babel package documentation, which @MarioSE's answer refers to, and is adapted to TeXLive 2012 (it had last been ...


2

As shown in Command for special text with reserved LaTeX symbols, \documentclass{article} \usepackage{verbatim} \renewcommand\encodingdefault{T1} \newenvironment{venv}{\verbatim\venvinner}{\endverbatim} \makeatletter \newcommand\venvinner[1][]{{\nfss@catcodes\scantokens{\gdef\tmp{#1}}}\tmp} \makeatother \begin{document} \begin{venv}[\sffamily] This should ...



Top 50 recent answers are included