# Tag Info

0

I think that pst-vectorian really needs a shout-out here. It's got some stunning ornaments. The DRM font also has some interesting ornamental possibilities. (Disclaimer: I'm the author of DRM, and my opinion of it is correspondingly biased.) Both have demonstrative documentation.

1

As noted by @egreg, the parentheses in the math font for charter used by mathdesign appear to be the issue. Interestingly, the utopia font option in mathdesign behaves similarly. \documentclass[10pt]{article} \usepackage[utopia]{mathdesign} \usepackage[T1]{fontenc} \begin{document} The mass as a function of time ($M(t)$). \end{document} yields: I ...

2

The “Logo” fonts distribution underwent a restructuring between TeX Live 2013 and 2014 and the same happened to MiKTeX. The Metafont sources that are listed in CTAN under <CTAN>/fonts/mflogo/mf were almost all copies of those in <CTAN>/sys­tems/knuth/dist/lib/ and are now packaged in TeX Live as knuth-lib. Unfortunately, one of the font sources ...

0

It requires a bit / lot of manual adjusting, but I am using this one since, well, forever: \def\RGtti{R\kern-0.3em\raise-0.6ex\hbox{G}\kern-0.1em\hbox{tti}} ...and I have a fully-linked version too (more manual adjusting)... \def\RGttiC{\hbox{\strut R\kern-0.3em\raise-0.6ex\hbox{G}\kern-0.15em% \hbox{t\kern-0.08em t\kern-0.05em i}% ...

4

It's not the answer about the ant font, but how to load the external image with \pdfximage, query its dimensions with \pdfrefximage and use it finally with \pdflastximage, all in a box, then unbox it (see pdftex manual for this) \setbox0=\hbox{\pdfximage{beeduck.jpg}\pdfrefximage\pdflastximage} \unhbox0 \bye

2

The font selected when \textsu is called has only the digits as superscripts and no other character. Here's my proposal: \documentclass{article} \usepackage[sups]{XCharter} \newcommand{\commasup}{% \textsuperscript{\kern-0.11111em \raisebox{-\height}{,}}% } \begin{document} Some text\footnote{First}\commasup\footnote{Second} \end{document} Using ...

0

Seems I nailed it, after finding this about typesetting in algorithm2e and this about the default math mode font. \newcommand{\myargfont}{\itshape\fontfamily{lmr}\selectfont} \SetDataSty{myargfont} I'm not completely sure about the font (as the link talks about Latin Modern Math and not Latin Modern Roman, as I'm using here), so if some one wants to ...

0

With the new version of Alegreya, in which the definition of \scshape has been changed to be more properly handled, tracking will work out of the box without the need for \DeclareMicrotypeSet as in Ulrike's answer. \documentclass{article} \usepackage[tracking = true, letterspace = 100]{microtype} \usepackage{Alegreya} % <- tracking now works with small ...

1

With the new fix to IM Fell English (see egreg's answer), it's longer necessary to use \DeclareMicrotypeSet, and tracking is automatically applied to \scshape: \documentclass{article} \usepackage[tracking = true, letterspace = 250]{microtype} \usepackage{imfellEnglish} \renewcommand*{\bfseries}{\scshape} \begin{document} \section{The first section} ...

1

If you want to make only one word in small caps, then use Here is a section {\normalfont\textsc{Ctl}} or Here is a section {\normalfont\scshape Ctl} If you want to make this bold too, you have to use a font that offers this. For example libertine font can be used (\usepackage{libertine}). With this just \textsc{Ctl} should be enough.

9

Given that the original design is not connected, something has to give. I have used the LModern Bold 12pt font to create the LaTeX logo, imported it into Adobe Illustrator, outlined it, and fudged "L" and "A" such that all letters are connected. I don't know how to share the PDF but send me an email at lindig@gmail.com and I'm happy to send you the PDF ...

1

Download the bbding10.pfb file and save it in your home tree as ~/texmf/fonts/type1/niceframe/bbding10.pfb (it's ~/Library/texmf/... with MacTeX); create the necessary folders. Then add to your document the line \pdfmapline{+bbding10 bbding <bbding10.pfb} Compile. Full example: \pdfmapline{+bbding10 bbding <bbding10.pfb} ...

0

This seems a problem due to having two distinct TeX Live distributions (which was confirmed in the comments). You seem to have both a MacTeX provided TeX Live, which is the one used by TeXShop by default (the binaries are in /usr/local/texlive/2015/bin/x86_64-darwin, with a symbolic link at /Library/TeX/texbin, which is added to the PATH environment ...

4

For xelatex: \documentclass{article} \usepackage{listings} \usepackage{fontspec} \setmonofont{Consolas} \lstset{ basicstyle=\ttfamily, } \begin{document} \begin{lstlisting} 10 1 0.3 2 20 2 0.9 5 30 3 3 8 40 4 6 9 50 5 8 10 \end{lstlisting} \end{document} Or \newfontfamily{\ttconsolas}{Consolas} \lstset{ ...

6

It is only since in April 2015 that xdvipdfmx can embed OpenType Collection fonts into PDF correctly. https://www.tug.org/pipermail/tex-live/2015-April/036628.html However, this improvement has not been applied to LuaTeX, even in the latest TeX Live 2015. Now Apple's new OS X 10.11 El Capitan has been released, and Japanese fonts (such as Hiragino) are ...

5

The reason for your problems - "all letters [becoming] small" - is because \normalfont is a declaration that changes the font from that point onward. Typical usage would be {\normalfont ...} instead of \normalfont{...}. Either way, you're better of changing the shape manually: \documentclass[journal]{IEEEtran} \begin{document} \tableofcontents ...

5

I'm pretty sure it is Kepler (aka kpfonts). For some more verification compare the following output to the first image in your question. \documentclass{article} \linespread{1.5} \usepackage{kpfonts} \usepackage{mathtools} \begin{document} \noindent The lack of Weyl classical invariance may be compensated by one-loop contributions arising from couplings to ...

5

The imfellEnglish package is making a fundamental error: in order to use a different set of fonts for small caps it redefines \scshape as a family changing command; the problem should instead be solved at the .fd file level. \documentclass{article} \usepackage[tracking = true, letterspace = 250]{microtype} \usepackage{letltxmacro} % save the meaning of ...

1

Use the correct family name: \documentclass{article} \usepackage[tracking = true, letterspace = 250]{microtype} \usepackage{imfellEnglish} \DeclareMicrotypeSet*[tracking]{imfellenglishsc}{font = */IMFELLEnglishSC-TLF/*/*/*} \begin{document} \textsc{Hello world!} \end{document} The family name can be deduced from the directory structure of the ...

0

If you simply want an easy method to get a version of Palatino with text figures and real small caps with pdfTeX, you can use \usepackage[osf,sc]{mathpazo} (as in the tufte-latex and classicthesis classes), but this is technically URW Palladio rather than TeX Gyre Pagella.

4

Many TrueType and OpenType fonts have been packaged, chiefly to bring those using latex and pdflatex some of the variety enjoyed by those using xelatex and lualatex. Many, if not all, of the packages can be used with xelatex and lualatex as well as latex and pdflatex, and that’s convenient for anyone who hasn’t yet decided on an engine or who plans to share ...

1

@Thérèse thanks for your tips indeed! I waited a bit too see whether more people would chime in, but since no other input has been made, I'll just report how I managed to resolve the issue. First, replacing xelatex with luatex does indeed work. The downside of that, however, is that luatex takes quite some while longer for a run than does xelatex, so I ...

1

I know it's an old topic. Since I could not find anything, I started a small python script that do what I wanted to do. For those who would like to take part, or just have a look, it's here: https://github.com/arodier/manuscript

2

Here is a glossaries approach (which might come into real usefullness if there are more than just GAP and MAGMA) \documentclass{article} \usepackage[nomain,acronym]{glossaries} \newacronym{gap}{GAP}{Groups, Algorithms and Programming} \newacronym{magma}{MAGMA}{Acronym still to be defined} \makeglossaries \glsunsetall \begin{document} \gls{magma} and ...

3

For example using small caps, with xspace in addition: \newcommand*{\MAGMA}{\textsc{magma}\xspace}

4

The mandatory argument to \hyperref is actually managed by the auxiliary macro \label@@hyperref and it would be wrong to redefine \hyperref, because this disrupts all the setup the command must do for neutralizing special characters in link references. \documentclass{article} \usepackage{amsfonts} \usepackage{etoolbox} \usepackage{hyperref} % last one ...

2

Set the corresponding \hyperref entry with the font declaration \upshape: \documentclass{article} \usepackage{hyperref,amsfonts} \newtheorem{theorem}{Theorem} \begin{document} \begin{theorem}\label{def:bounded_sequence} Some bounded sequence theorem. \end{theorem} \begin{theorem} Each \hyperref[def:bounded_sequence]{\upshape bounded sequence} in ...

3

Glad you found answer for first part. But instead of passing font=\scriptsize to the options of axis do it for tikzpicture. Also instead of using scale=1.6, use width=\linewidth (or any width) in the options of axis. Now to change the label for 1 you may define xtick={1,10,100,1000}, xticklabels={,$10^1$,$10^2$,$10^3$}, so that the first entry 10^0 is ...

6

\operatorname is used for typesetting names of functions like sine, cosine and logarithm. In your macro it is exactly the part that does wrong, so remove it: \newcommand{\wAssign}[3]{% {#3}[{#1} \mapsto \mathcal{A}\llbracket {#2} \rrbracket {#3}]% } I recommend not using \ensuremath and, in case, typing $\wAssign{A}{B}{C}$ that's clearer, in my ...

5

Do not worry about these things. 99.9 % of people who ask for "Times New Roman 12pt" don't know what they mean by "Times New Roman", and they definitely don't know the first thing about point sizes. What they mean is that they want something that looks like what they get in their MS Word documents with Times New Roman 12pt. Just use this and you're good to ...

2

The font ipaexm.ttf, which is in TeX Live, has all glyphs for your example. Try platex hoge dvipdfmx -f otf-ipaex.map hoge If you have Hiragino fonts, try dvipdfmx -f otf-hiragino.map hoge or dvipdfmx -f otf-hiragino-pron.map hoge If you want to use dvips + Ghostscript, try to add the following 6 lines to hoge.ps: --- hoge.ps.orig Thu Oct 01 ...

3

Old post, but still ... Junicode contains a ccmp lookup that decomposes i to dotlessi when it is followed by a combining diacritical mark (or preceded or followed by a combining double diacritic). This is because the font contains a large number of combining diacritics for which there are no precomposed forms. It looks to me as if LuaTeX is mistakenly ...

4


0

If you can afford to use a different class, then the Koma-Script ones will give you a lot more flexibility in terms of size: \documentclass[fontsize=11.5pt]{scrartcl} This has the added advantage that it applies to all fonts in the document (tt, etc), without requiring individual scaling.

0

Summarising the discussion Adding \usepackage{palatino} to the main file before \begin{document} will effect this. Material in file.tex include via \input file.tex in standard set-ups behaves exactly as if were entered in the main file.

2

Download the ttf version from http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ and save the files in a directory where your system will find the fonts. Then define a typeface \newfontfamily\Bera{Bitstream Vera Sans Mono}[Scale=0.85] As an alternative use the file name. Then you can use listings with \lstset{basicstyle=\Bera\small,...} ...

0

This is based on the OP's comment that solved the problem. Under pdflatex, xelatex or lualatex you can select the font explicitly at any point using \fontencoding{T1}\fontfamily{fvm}\selectfont Note the specific declaration of the font encoding, which is needed if you have not set this globally in the document. For listings, you can then set ...

3

To create a single family with several shapes/weights, you need to run autoinst once on all the relevant fonts, rather than running it on each font separately. If the fonts are <example-regular>.otf, <example-italic>.otf, <example-bold>.otf and <example-bold-italic>.otf, for instance, run autoinst <example-regular>.otf ...

1

What you got is the LaTeX source for the example, but the files catalogue.tex and fonttable.tex are not included in the normal TeX distributions. All you need for having your document use Baskervaldx are the lines \usepackage[lf]{Baskervaldx} % lining figures \usepackage[bigdelims,vvarbb]{newtxmath} % math italic letters from Nimbus Roman ...

2

You can use \DeclareFontShape to do this, and this is what you should also be doing for the text changing. However, it is a big task you need to treat each font loaded in each variant. See files such as amsfonts.sty, source2e.pdf and files such as omlcmr.fd referenced therein to see relevant information. Below is the sample of using your command and on ...

5

How about trying some free font newtxtext and newtxmath: \documentclass[12pt,a4paper]{article} \usepackage{newtxtext,newtxmath} \begin{document} $g_{m,n} = \Gamma_m h_{m,n} d_{m,n}^{-\alpha_m},$ $R_{m,n} = b_{m,n} \log_2(1+\mathit{SNR}_{m,n}), \forall m,n$ $R_n = \sum_{m=1}^M R_{m,n} \log_2 \left( 1+\frac{p_{m,n}g_{m,n}}{b_{m,n}N_0}\right),\forall n$ ...

7

Is this what you are after? \documentclass[12pt,a4paper]{article} \renewcommand{\rmdefault}{ptm} \usepackage[lite]{mtpro2} \begin{document} $g_{m,n} = \Gamma_m h_{m,n} d_{m,n}^{-\alpha_m},$ $R_{m,n} = b_{m,n} \log_2(1+\mathit{SNR}_{m,n}), \forall m,n$ $R_n = \sum_{m=1}^M R_{m,n} \log_2 \left( 1+\frac{p_{m,n}g_{m,n}}{b_{m,n}N_0}\right),\forall n$ ...

-1

In case you are on Fedora: sudo dnf install texlive-collection-fontsrecommended.noarch

1

This is an answer to Making asterisk look like a Kleene star which was closed as a duplicate before I could submit an answer. The problem is that the MnSymbol package not only replaces macros like \ast, it also clobbers the corresponding \mathchar. You can, however, get \ast from the mathabx package. \documentclass{article} \usepackage{amsmath}% needed ...

1

Here are two options using garamondx, which is free but not included in texlive out-of-the-box, although I think it might be available in MikTeX. It has to be downloaded separately if you're running texlive, which the getnonfreefonts program will do for you. I'm also running inconsolata as monospace font and cabin as sans serif, but they are not showcased ...

6

Create a new directory and a file: #!/bin/bash find kpsewhich -expand-var='$TEXMFMAIN'/fonts/tfm -name '*.tfm' -print | \ sed 's@.*/@@; s@\.tfm$@@' | \ xargs sh -c 'for i in "$@"; do (echo$i; echo \\\sample\\\bye) | \ pdftex testfont; mv testfont.pdf $i.pdf; echo$i.pdf; done' sh make it executable and run it. It creates a lot of pdf files for every ...

6

May be like this: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lipsum} \newenvironment{myoldstyle}{% \bgroup \par \fontfamily{jkpkvos}\selectfont\small } {% \par\egroup } \begin{document} \lipsum[1] \begin{myoldstyle} \lipsum[2] \end{myoldstyle} \lipsum[3] \end{document} Or as a quote: ...

1

On the page you link to it says "Hershey Old English Font is not part of TEX Live." and ctan only provides the raw metafont-source. That means that you are trying to use a font, that is simply not installed on your system. You could install it manually (start reading here for example), but as long as don't really need this specific font, it is definitely ...

1

You can download a METAFONT version of the Hershey font from CTAN here: http://www.ctan.org/pkg/hershey This should call more common mechanisms of font generation thanhbf2gf that seems to be wrongly configured on your system. ADDENDUM: In case that automatic font generation fails, you can always generate the font by hand, calling mf hge from the shell.

1

Florian's observation is correct. Changing this: \setsansfont{Noto Sans} to this: \setsansfont{Liberation Sans} % or some other sf font with Hebrew glyphs Solves the issue.

Top 50 recent answers are included