Tag Info

New answers tagged

2

I believe you don't want to load wrisym, but rather just to define new math versions: \DeclareMathVersion{mono} \DeclareMathVersion{monobold} \SetSymbolFont{letters}{mono}{OML}{wttum}{m}{n} \SetSymbolFont{operators}{mono}{OT1}{wttr}{m}{n} \SetSymbolFont{symbols}{mono}{OMS}{wtty}{m}{n} \SetSymbolFont{largesymbols}{mono}{OMX}{wttv}{m}{n} ...


1

The problem is that footmisc includes \reset@font in its redefinition of \@footnotetext which is equivalent to \normalfont. It then issues a \footnotesize so you end up with footnote-sized text in whatever the default font family is. If that is serif, you get serif. If it were sans, you would get sans. This is generally what you want: it is not at all usual ...


3

\documentclass[a4paper,12pt]{scrreprt} \usepackage[greek, UKenglish]{babel} \usepackage{siunitx} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} %\usepackage{gentium} \usepackage{XCharter} \usepackage[libertine,bigdelims,vvarbb]{newtxmath} \usepackage[cal=boondoxo]{mathalfa} \sisetup{detect-all} % Uses current font for units ({siunitx}) ...


1

The \figureversion macro of fontaxes doesn't seem to understand the setup of newtxtext. This hand made version seems to work. \documentclass{article} \usepackage[osf]{newtxtext} \makeatletter \newcommand{\figvers}[1]{\csname newtxtext@figure@#1\endcsname} \newcommand\newtxtext@figure@osf{% \renewcommand{\rmdefault}{ntxrj}% ...


1

Although the answer of Werner totally and correctly adresses the question of how to technically solve the problem, there is a big drawback: the use of units and brackets wished by the questioner is simply wrong. Please note that [X] reads as the unit of X. So something like this would be correct: $[I] = \mathrm{A}$ or better $[I] = \si{\ampere}$. Read: "The ...


4

You're using the definition of \unit incorrectly. \newcommand{\unit}[1]{..} specifies that \unit will take a single mandatory argument. If you don't provide an explicit brace (in the form of \unit{..}), then the first token will be taken as the argument: \unit[{dB}_{SPL}] So in the above, [ is taken as the argument and therefore the above is replaced ...


0

Turn off (uncheck) "Use LCD font smoothing when available" under 'System Preferences > General'. This worked for me.


1

Well, I found a workaround, but it is still unclear why it works. hvmaths.sty does not define a \mathrm of a mathsf alphabet, so I need to define it. \documentclass[varwidth]{standalone} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage{hvmaths} \DeclareMathAlphabet{\mathrm}{OT1}{hvr}{m}{n} ...


2

You can specify features just for Italic using fontspecs ItalicFeatures key: \setmainfont{...}[Ligatures=TeX, ItalicFeatures={...}, %^^^^ ItalicFont={....}, ]


0

Your font name database is likely broken. Do initexmf --mkmaps initexmf --update-fndb


1

You could also disarm \textit locally by saying: \documentclass[10pt,conference]{IEEEtran} \makeatletter \renewcommand{\abstractname}{\large ABSTRACT\\} \let\oldabstract\abstract \renewcommand\abstract{\begingroup \let\textit\@firstofone \oldabstract \endgroup}% \makeatother \usepackage{lipsum} \title{Example} \author{John Doe} \begin{document} ...


1

You can locally modify the original definition. An original line commented. \documentclass[10pt, conference]{IEEEtran} \renewcommand{\abstractname}{\large ABSTRACT\\} \title{Example} \author{} \begin{document} \makeatletter \ifCLASSOPTIONconference% compsoc conference %\def\abstract{\normalfont\@IEEEtweakunitybaselinestretch{1.15}\bfseries ...


3

If I am right, this is the question "What should I do?". Here http://www.gust.org.pl/projects/e-foundry is the information about the team working on Latin Modern. Every suggestion will help them to improve the fonts.


6

Metapost also lets you do this, using the glyph operator. This was produced by the glyph visualization program from section 9 of the MP manual, changed to show an Ω from "cmr10", and shown below. The names of the fonts are those defined in the relevant map file (usually pdftex.map) and the names of the glyphs are the usual PostScript names (see ...


1

The mathastext package may do what you're looking for. The package's user guide states that mathastext's basic aim is to have the same font for text and mathematics. \documentclass{article} \usepackage{mathastext} \begin{document} $x=\gamma*4$ \end{document}


3

On a MacOSX system, you should nowadays use either XeLaTeX or LuaLaTeX to access system fonts. In the case of Gill Sans, the system name is "Gill Sans MT", so that's what's used in the following example. If you want to use this font for the entire document, replace the instruction \setsansfont with \setmainfont. %% Compile with either XeLaTeX or ...


5

The problem has not yet been solved with version 0.7f of unicode-math, so this answer is just an attempt to see what's happening; an ugly workaround is proposed. This is what I get when adding \showlists to the definition of \big with \usepackage{etoolbox} \makeatletter \patchcmd{\big}{\n@space}{\n@space\showlists}{}{} \makeatother from $\big($. ...


2

\documentclass{article} \usepackage[T1]{fontenc} \usepackage{mathpazo} \usepackage{blindtext} \renewcommand\familydefault{\sfdefault} \begin{document} Palatino: \blindtext \newpage \begingroup \fontfamily{phv}\selectfont Helvetica (Arial): \blindtext \endgroup \newpage Palatino: \blindtext \end{document} The second page is in Helvetica, called Arial by ...


1

Package csquotes does a great job handling all sorts of quotes and does some magic choosing the language appropiate marks. The package provides hooks to change the appearance of textquotes and blockquotes, but a for enquote seems to be missing. I copied the definition of the outer quote level (quotes can be nested) and added a font switch. The inner level ...


2

Each country was generated as a single eps file (PostScript) which then build together a Type 1 version. The OTF version is a simple conversion of the Type 1 font, enhanced by the possibility of having ligatures for the country names. You can also use potrace for creating an eps image of another country and put it into the existing font file. It is easier ...


1

I don't understand what \blockquote does and I have no arabic font on my computer. But I am able to say where is the core of your problem. You have to split the text to two paragraphs and to set \baselineskip and \lineskiplimit for the first paragraph. It means (I did'n try this): \def\ar#1#2{{\luatextextdir TRT\arabicfont\baselineset ...


2

Today I returned to this question which I could not previously solve to my full satisfaction. But today, while exploring once more barbara beeton's suggestion in her very first comment, I could find a solution. Setting the value of \lineskiplimit to -\maxdimen forces LaTeX to adopt a single fixed line height throughout the document. On this basis, then, I ...


1

Do not use a self-defined Marco for this. Use the features of the caption package. Use \captionsetup{} inside a figure if you don't want to set global options. \usepackage{caption} \captionsetup{ labelfont=bf, font={small, sf}, }


2

As Ulrike comments, a change to math-celsius seems needed here \sisetup{math-celsius = {}^{\circ}\kern-\scriptspace C} I think that looks better over all than the current definition: I'll probably change the standard setting.


0

I had this problem too after upgrading from texlive 2013 to texlive 2014. After adding \usepackage{XCharter} (notice the capital XC) in the preamble, I could compile my document again and use the Small Caps Bitstream Charter fonts I had bought.


3

I have some problems compiling your document because of the MinionPro package. But, your problem is caused by the spaces inside \changefont. Replacing \changefont{phv}{b}{n} by \fontfamily{phv}\bfseries works for me: ... \colorbox{red}{\color{black}\fontfamily{phv}\bfseries\thechapter}% ... Alternatively, define your \changefont macro without spaces: ...


3

Remove the gen* in the font declaration: There is no dancers10.mf and unlike TeXLive miktex seems not to be able to create it on the fly from dancers.mf. \documentclass{minimal} \DeclareFontFamily{OT1}{dancers}{} \DeclareFontShape{OT1}{dancers}{m}{n}{ <-> dancers}{} \begin{document} \usefont{OT1}{dancers}{m}{n}\spaceskip=3pt T~h~e ~ Q~u~i~c~k ~ ...


3

If you want to mess about with \mathversion then you have to be outside of math mode. Thus the best approach is to define \gchar as \newcommand*\gchar[1]{\text{\mathversion{mathchartertext}$#1$}} You can then use it as the argument to math-micro and all will be well.


6

Your problem comes from the fact that the cmbright package doesn't include type 1 version of the fonts. The type 1 versions spread over the cm-super (for T1 and TS1 font encodings) and hfbrightpackages. Unfortunately hfbright.map is not mentioned in the default updmap.cfg. I'll report the problem to Christian Schenk. So for now, you'll have to mention it in ...


6

Using special font packages this can be done with special commands such as \gothfamily or egothfamily etc. The precise command depends on the font and the package and if XeLaTeX/LuaTeX or PDFLaTeX is used. See bookhand fonts for more examples on those kind of fonts. \documentclass[12pt]{article} \usepackage{egothic}% \usepackage{pgothic}% ...


4

You are loading far too many fonts given that TeX only allows 16 math fonts, but anyway your example runs without error if you give bm a hint that that is what you are doing \chardef\bmmax=2 \usepackage{bm} Tells bm to be more conservative in its font usage.


6

Commands such as \emph are ‘robust’ commands, which means that they are defined in such a way as to include a call to \protect. This is so that such commands can survive being used in ‘moving arguments’ such as section names. This protection is implemented by tactical redefinitions of \protect at various points within the LaTeX code. In the normal run of ...


4

In general this is quite difficult to attain, because each font package has different ideas; for instance, some packages have the scale options, others have scaled, most have neither. In your case you're lucky, because both tgheros and beramono support scaling, the former with scale, the latter with scaled. The simplest way is to prepare a document such as ...


2

The technique given in this answer solved my problem quite nicely. I created a file called 10pitch.map that contains the following lines: pcrr8r Courier10PitchBT-Roman " TeXBase1Encoding ReEncodeFont " <8r.enc <c0419bt_.pfb pcrr8rn Courier10PitchBT-Roman " .85 ExtendFont TeXBase1Encoding ReEncodeFont " <8r.enc <c0419bt_.pfb pcrro8r ...


3

There is absolutely nothing for you to do here, it just means for variables denoting scalar values just use the default font not \mathbf etc. y(\tau) generates an error message so any output you get is arbitrary, \tau is a math mode command, the markup has to be $ y(\tau)$


3

"Roman" is essentially another name for an upright serif font (or viewed another way "Roman" style is the most common style of upright fonts with serifs) so the style guide is asking you to use \mathbf that is, bold roman letters.


1

Using the suggestion by @cfr, I created the MWE as follows: \documentclass{article} \usepackage{bbding} \newcommand{\corr}{\mbox{\FiveStarOpen}} \newcommand{\conv}{\mbox{\FiveStar}} \begin{document} \begin{itemize} \item Correlation is given by \[ w(x,y) \corr f(x,y) = \sum_{s=-a}^a \sum_{t=-b}^b w(s,t) f(x+s,y+t) \] \item Convolution is given by ...


2

pdflatex is actually trying to create the missing files, but there's some permissions issue. I don't know how to fix the real problem, but there are two workarounds which will allow you to compile your document. The clue The error messages talk about mktextfm larm1000. If you try to run that command directly from the shell, you get the same errors: ...


1

Ok, so as an additional information I was using Latex. The option to embed the fonts in the eps file is apparently not offered by ChemDraw. The fact that Helvetica is a standard font does not speak against replacing it but it means that if one font of any should work it's this one. When trying to use Nicola's suggestion with eps2eps it didn't work, ...


5

Since you wish to use TeX Live rather than system fonts, it is better to look for information about the font packages available to you than to create lists of font files. This is because most packages will include many different files under texmf-dist/fonts and the relation of those files to package names will not always be at all obvious. (The directory ...


1

By default, TeX uses Computer Modern fonts in the OT1 font encoding. In most cases, this means metafont source fonts. I am not sure exactly how it works in this case but apparently whatever TeX needs is part of the existing TeX installation. When you use fontenc and specify the T1 encoding, TeX tries to load Computer Modern in this encoding instead. If they ...


2

Thanks to @Mico, I found the following solution. \documentclass{article} \usepackage[bb=boondox]{mathalfa} \begin{document} $\mathbb{0}$ \\ $\mathbb{1}$ \end{document}


9

I'd use the curly italic ‘z’, but an alternative could be using the one from the slanted font: \documentclass{article} %\usepackage{newtxtext,newtxmath} \usepackage{mathptmx} \usepackage{amsmath} \usepackage{accents} % use the slanted z instead of the italic one in math \DeclareSymbolFont{zed}{OT1}{\familydefault}{m}{sl} ...


10

One option, using the MathTime Pro II fonts. Unfortunately, the free lite version does not provide a large number of symbols. \documentclass{article} \usepackage{newtxtext} % just for the text font \usepackage[lite]{mtpro2} \begin{document} The equation is $z^4 - 2z^2 + 4 = 0$, with $z \in C$. \end{document}


1

Ok, so I found a workaround/another clue to the problem. I'm only posting it here so it might help anyone else. Firs of all, I was wrong. This is not a user permission issue. I changed my server username to my own and I still had the font not found problem. However I was able to isolate the problem to one of the latex lines. In particualar it started ...


3

You can achieve your objective as follows: Don't load the times package, as it is deprecated. Load the package mathptmx instead. (Or, if you prefer, load the packages newtxtext and newtxmath.) Load the helvet package with the option Scaled. In my opinion, the default amount of scaling that's applied isn't quite right for use with the Times text font if you ...


7

There's no reason to dismiss Times New Roman that quickly. Yes, it has come to be associated with mediocre word processors and the typography that people produce with these. Still, it's a masterpiece of early-20th-century type design, and even its somewhat poorer renditions (as included with operating systems or TeX distributions) can be used to obtain ...


3

Here is a fontspec way to get the equals sign in a separate font in text mode, if you compile with LuaLaTeX or XeLaTeX. \documentclass{article} \usepackage{lmodern} \renewcommand*\familydefault{\sfdefault} % Use sans as base font \usepackage{fontspec} \newfontfamily{\mymathfont}{Latin Modern Math} % Family for math symbols ...


3

If you inspect your font files in Windows Explorer, you will indeed see that the fonts are called CMU Bright Medium and CMU Bright Medium Oblique. Since fontspec can't find those fonts, it means that those names are wrong. If you look at the font name in FontForge, for example, you can see that the actual font name of CMU Bright Medium is CMU Bright ...


5

\fontsize{14}{12}takes effect after \selectfont so in your case should take effect after the \bfseries (if it doesn't supply an example document that shows the problem) but don't do this: this is specifying a 14pt font on a 12pt baseline so will make wildly inconsistent vertical spacing depending on the heights of the letters used. You should vary rarely ...



Top 50 recent answers are included