# Tag Info

1

You just need to run it without the -a option which tries to automatically install the font as well as generating the needed files. This works fine with Ubuntu-R.ttf. otftotfm will not need mktexupd to generate the files since that script is designed to update the file database ls-R. So it should work fine. You will just need to place the files yourself ...

1

I'm not sure this will help much. I will delete it if not. Most of it is copied and pasted from MinionPro.sty. It is necessary to adapt the code from MinionPro.sty, especially to get the integrals working while bringing other symbols over from kpfonts. To do this, I've declared a new symbol font, intsymbols, and defined the integrals in terms of that font. ...

1

I did use the lcdf type tools a few years ago – mainly otfinfo and cfftot1 with a MiKTeX system, downloading the w32tex version and putting it anywhere in my hard disk. It was to be able to use the MinionPro package, but these applications are independent of any TeX system. In your case, otftotfm of course is linked to TeX, and mktexupd is a script that ...

4

Assuming you have the Tahoma.ttf file installed in a place your system can find it (on my mac it's in /Macintosh HD/Library/Fonts), then using it is as simple as \documentclass{article} \usepackage{fontspec} \setmainfont{Tahoma} \begin{document} Hello, world! \end{document} You have to take care to compile this with XeLaTeX (xelatex) or LuaLaTeX ...

12

There also is the Steven B. Se­gletes's censor package (documentation). You can use \censor{blurg} to censor short pieces of text. Long paragraphs can be blaced out with \blackout{bjjbva\par Tree}. Censoring can be turned off via \StopCensoring. \documentclass{article} \usepackage{censor} \begin{document} When shall we \censor{three meet again}, in ...

4

Depending on whether you want to mark only short strings of text you could do something like this: \documentclass{article} \usepackage{calc} \newif\ifmarksecrets % declare new switch \marksecretstrue %comment or use \marksecretsfalse to display normal text \newcommand{\secret}[1]{ \ifmarksecrets % Show black rule \rule{\widthof{#1}}{\heightof{#1}} ...

8

This is just for demonstration purposes. That is, it is not intended to actually look like something you might use but rather to indicate how to achieve some effects which you might find useful in creating something which you would like to use. I thought I would play around with shadowtext and use the excuse to install the emerald fonts. The 'scary' text is ...

2

I would try something like this: \documentclass[a4paper,oneside,12pt]{report} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% PACKAGES & SETTINGS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage[english]{babel} % formatting rules for the English language \usepackage[T1]{fontenc} % proper formatting for ...

5

Your document produces $grep "=$" eq11.log ....\T1/LinuxLibertineT-TLF/m/n/10 = ....\U/ntxmia/m/it/10 = ....\T1/LinuxLibertineT-TLF/m/n/10 = ....\U/ntxmia/m/it/10 = that is tow = in one font and two in another, so there is no particular reason why the glyphs should be alike at all. In general you should always use $=$ to get the math equals, just as ...

19

This solution, using nested stack insets, still has vertical height/depth to the overlay. The relative placement of the insets is controlled by the length parameters (2nd and 4th arguments of \stackinset are (x,y) offsets). \documentclass{article} \usepackage{stackengine} \usepackage{xcolor} \begin{document} \def\MyText{not scary} ...

0

I found a useful fix at the link below, after many hours of searching: https://github.com/jgm/pandoc/issues/889 Basically change \setmonofont[]{$monofont$} to \setmonofont[Mapping=tex-ansi]{$monofont$}

0

You can also take a look at this font survey for (La)TeX: http://mirror.ctan.org/info/Free_Math_Font_Survey/survey.html There you will find a lot of math (and text) fonts. Maybe some of them will suit your needs.

1

To get a typewriter font for the letters, digits, and a few symbols in math mode, you can use mathastext as advised in Mico's answer, with some additional set-up: \documentclass{article} \usepackage{mathastext} \MTfamily{\ttdefault}\Mathastext % this tells mathastext to use typewriter \begin{document} Hello, Pythagoras. $a^2 + b^2 = c^2$. Goodbye, ...

0

A solution using fontspec (so it has to be compiled with XeLaTeX or LuaLaTeX) and etoolbox again. It is the easy to change the characteristics of the font used for the caption (a different color, for instance, or some letterspacing or old style proportional numbers, while the numbers in the table itself, they can be lining monospaced numbers). The caption ...

1

I was formulating a response to your similar question about concmath when you deleted it, so I will also post that response here: CMBRIGHT While not recommended for general use (I'm sure the font police will issue citations after I post), one can (for an odd letter here or there) fake a bold font with a kerned overstrike. Here, I do a .2pt horizontal ...

4

An automatic solution for all tables. Here you need not change font inside all tables by yourself every time. \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage[margin=1in]{geometry} \usepackage{chngcntr} \counterwithin{table}{section} \usepackage{tabularx} \usepackage[T1]{fontenc}% T1 is a much better choice of encoding than ...

1

Since you are using LaTeX or pdfLaTeX (and not LuaLaTeX or XeLaTeX), this is a little more involved. I take it you want something like this: Standard (pdf)LaTeX Solution This is the solution I used to produce the output in the image above. Comments in the code explain how to adjust various aspects of this to suit: ...

3

The problem is that siunitx assumes that for packages providing a 'light' font, the command \lseries will be defined in the same way as for \mdseries. Here, that is not the case. A suitable patch for text mode printing is \documentclass{minimal} \usepackage[default]{opensans} \usepackage{siunitx} \usepackage{xpatch} \ExplSyntaxOn ...

5

The good news is that there are lots and lots of opentype font families that provide a full Cyrillic alphabet and are easy to use with XeLaTeX (and LuaLaTeX). The bad news is that you may have to spend some time choosing which font family best suits your needs. MacOS X provides quite a few such font families; it's also fairly easy to download and activate ...

1

If you wish to have a character added to character code standards, contact the Unicode Consortium. Adding MATHEMATICAL SANS-SERIF CAPITAL THETA might be realistic, especially if you cite ISO 80000-1, but it would take time and effort. And it’s not really needed in order to get the symbol in your documents, in TeX or otherwise. You can simply use the normal ...

0

As @LaRiFaRi explains, you should use capital sans-serif letters as symbols of dimensions. A simple way is to use the \sf command, e.g. $\sf{M}\sf{L}\sf{T}^{-2$ This approach also works for theta, the symbol of the dimension of temperature: \sf{\Theta}.

4

Not a lot goes wrong if you use text fonts for alphabetic symbols. This is just using the default latin modern setup which only seems to have theta (U+0398) not the theta symbol (U+03F4) in sans, other font sets may have both) \documentclass{article} \usepackage{fontspec} \usepackage{mathtools} \usepackage{unicode-math} \begin{document} aaa [Θ] [ϴ] ...

1

You may want to consult Dr. David J. Griffiths's web page at http://academic.reed.edu/physics/faculty/griffiths.html. At the bottom of the page he provides a link "To create script-r in TeX:" http://academic.reed.edu/physics/faculty/griffiths/script_r.zip

1

OK, here is an example of libertine CV. Change sans to rmfamily if you want. \documentclass[11pt,a4paper]{moderncv} \usepackage{libertine} %% or newtxtext for times \moderncvstyle{classic} \moderncvcolor{blue} \usepackage[scale=0.75]{geometry} \name{John}{Doe} \title{Title} \address{street and number}{postcode city}{country} ...

8

You have to use a font that has the glyph, for instance STIX. For just a few characters, the simplest way is to use newunicodechar: \documentclass{scrartcl} \usepackage{fontspec,newunicodechar} \setmainfont{Times New Roman} \newfontfamily\stix[Ligatures=TeX]{STIX} \newunicodechar{𝕸}{{\stix𝕸}} \begin{document} 𝕸 which is U+1D578 MATHEMATICAL BOLD ...

2

I wouldn't count it as a miktex bug if two packages uses the same file name and imho the package maintainer should sort this out and not the tex distribuations. When such name clashes in the same branch of a texmf tree exists the search result is not predictable -- it can e.g. depend on the installation order, date or whatever. So you have imho the ...

4

In revision 4975 of TeX Live (2007-09-18) we find the annotation omit ubbold.fd from jknapltx, clash with Ubbold.fd + sauter bbold disfunctional? (Zdenek Wagner, 9 Aug 2007 16:20:21 +0200) So my suggestion is to remove the file ubbold.fd from your system and file a bug report to MiKTeX's maintainer.

4

You should use combining characters, instead. Unfortunately, Latin Modern does not fully implement them; for instance, there's no combining cedilla, so with the code below you'd get only characters with cedilla which exist in the font. Before: \c{e} \{e} \'{e} \v{e} \u{e} \={e} \^{e} \.{e} \H{e} \~{e} \"{e} ...

1

By copying the definitions at page 356 of the TeXbook but changing the character codes, this fixes it: Before: \c{e} \{e} \'{e} \v{e} \u{e} \={e} \^{e} \.{e} \H{e} \~{e} \"{e} \font\tenrm="[lmroman10-regular.otf]:mapping=tex-text" \tenrm \def\#1{{\accent768 #1}} \def\'#1{{\accent180 #1}} \def\v#1{{\accent711 #1}} \def\u#1{{\accent728 #1}} ...

2

The KOMA-script manual describes the whole interface in the toc-subsection. Well, what about writing something like \addtokomafont{sectionentry}{\bfseries}? And forget about the rest...

0

This is not meant as a solution or a real answer, it is posted to show the difference (So no need of voting for it ;-)) \documentclass{scrbook} % Other stuff \begin{document} \tableofcontents \chapter{Einleitung} % Text to come... \chapter{Begriffe} \section{Definitionen von Einkommen} % Now with *bold* toc - entry!!! % \section[\textbf{Definitionen ...

2

\documentclass[12pt,twocolumn,headings=normal]{article} \usepackage{fullpage} \usepackage{amsmath} %\DeclareMathSizes{12}{1}{1}{1} \begin{document} this is the problem equation.. If $n \geq 2$ then \begin{multline*} P^{bb}_{g}(n,p)=*P^{bb}_{g}(n-1,p)+{}\\ (1-p)^2+p*(1-p) *P^{bb}_{g}(n-2,p) \end{multline*} Otherwise $P^{bb}_{g}(n,p)=0$ i have many like ...

3

One possible solution. Code \documentclass[12pt,twocolumn,headings=normal]{article} \usepackage{fullpage} \usepackage{amsmath} %\DeclareMathSizes{12}{1}{1}{1} \begin{document} \begin{equation*} P^{bb}_{g}(n,p)=\begin{cases} 0, & \text{if $n=0~\&~1$}.\\ p*P^{bb}_{g}(n-1,p) +(1-p)^2 &\\ {}+p*(1-p) *P^{bb}_{g}(n-2,p) , & \text{if $n \geq ... 5 I suppose that you are looking for \bfdefault, \itdefault and stuff:$ for x in bf it sl md up rm sf tt; do texdef -t latex \${x}default; done; \bfdefault: \long macro:->bx \itdefault: \long macro:->it \sldefault: \long macro:->sl \mddefault: \long macro:->m \updefault: \long macro:->n \rmdefault: \long macro:->cmr \sfdefault: \long ...

1

Can easily be extended to what you need \documentclass{article} \usepackage[T1]{fontenc} \makeatletter \def\getFSh#1/#2/#3/#4\@nil{#4} \def\getFSe#1/#2/#3/#4\@nil{#3} \begin{document} \itshape \curr@fontshape --> \expandafter\getFSh\curr@fontshape\@nil \slshape \curr@fontshape --> \expandafter\getFSh\curr@fontshape\@nil \bfseries \curr@fontshape ...

1

Solved installing the texlive-fonts-recommended package with the following command: sudo apt-get install texlive-fonts-recommended

5

The code in my answer to TeX accents do not seem to work with fontspec and xe/lua/latex gives the idea, but for the dot above some additional code is needed. \documentclass[a4paper,12pt]{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX} \setmainfont{Minion Pro} % a font without Latin Ext. Additional \usepackage{newunicodechar} ...

1

Rather than pepper your text with explicit calls to \textbf and \textsf, you might find it easier to define a new command to mark your keywords. For example \newcommand{\key}[1]{{\bfseries\sffamily #1}} then you can mark your key words like this: here is a new \key{term} to remember. This way, if you later regret your choice of font, you only have to ...

7

On the other hand, if you have Lato.ttf or Lato.otf installed and want to use them, here is a way. Use xelatex or lualatex for compiling the following code. \documentclass{article} \usepackage{fontspec} \setmainfont[Ligatures=TeX]{Lato Light} \usepackage{blindtext} \begin{document} \Blinddocument \end{document} If you don't have Lato installed, ...

5

As you say you're compiling with pdflatex, I assume you're using the lato package, so you can just set the default weight \mddefault to light: \documentclass{article} \usepackage[default]{lato} \usepackage{lipsum}% for dummy text \renewcommand{\mddefault}{l}% switch default weight to light \begin{document} \section{Title} \lipsum \end{document}

0

I just realized that a \_ is needed to produce _ inside \texttt{}. The problem is solved with \texttt{WorkFunction\_()}. Note the \ before _.

5

The Zeph fonts are based on 'Porson' Greek according to the information provided by Harvard University Press. But the Zeph* fonts themselves seem to be custom commissions for HUP for use in Loeb books. So I doubt you will find anything to give you identical results. If others have found the fonts attractive, you might find something inspired by them but I ...

1

If you're not stuck with times, any font package that has a french math option (whatever be its exact name in the package) will do it. To my knowledge, fourier, kpfonts, mathdesign and MinionPro will do it. Perhaps also MyriadProfrom the FontPro package

2

You could try the following: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{txfonts} \usepackage[upright]{txgreeks} \usepackage{mathastext} \begin{document} This is text mode and now a math display: $\alpha^n+\beta^m = \gamma^q$ \end{document} $\Gamma\cdot x+\Omega\cdot y=\Psi\cdot z$

2

On this site, you can read it was inspired by PorsonGreek. And the Greek Font Society created GFSPorson, available for use with LaTeX and XeLaTeX (exists in type 1 and open type formats) on CTAN. It's included with 7 other greek fonts in TeXLive as well as MiKTeX.

4

You have two choices: either use \underline or the accents package and its \underaccent feature; I'll show both. \documentclass[a4paper]{article} \usepackage{amsmath} \usepackage{accents} \newcommand{\ubar}[1]{\underaccent{\bar}{#1}} \begin{document} \begin{align*} l_i &= \bar{x}_i-\underline{x}_i \\ \hat{x}_i &= 0.5 (\bar{x}_i+\underline{x}_i) ...

7

The difference is that \underbar switches to text mode when it boxes its contents. The definition in the kernel is \def\underbar#1{\underline{\sbox\tw@{#1}\dp\tw@\z@\box\tw@}} On the other side, \bar is a math accent: \DeclareMathAccent{\bar}{\mathalpha}{operators}{"16} You can define a variation of the kernel's \underbar that boxes the contents in ...

1

With OTF's, one way is to define them with \Umathcharnumdef\Alpha="0391 \Umathcharnumdef\Beta="0392 % ... \Umathcharnumdef\Omega="03A9

2

If you want that the Greek letters respect the current family you have to completely redefine the math fonts, probably using Latin Modern Math. A better way to define them as “fixed” symbols is as follows: \font\tenrm="[lmroman10-regular.otf]:mapping=tex-text" \textfont0=\tenrm \font\greekcapstenrm=cmr10 \font\greekcapssevenrm=cmr7 ...

1

It hs been established that the practice of using italics has a long history, but no one has said why this is the case. I have always assumed that it is to make it clear when you are talking about variables, so that "the value of a is always positive" would not trip you up (it looks like a word is missing; the value of a what is positive). When it is "the ...

Top 50 recent answers are included