1

I want to reproduce the "x" as in the picture below

font to reproduce

The closest I can get is \bm{\mathsf{x}}, but it's not the same.

EDIT: one more example:

font to reproduce

"x" and "t" are the only characters I have for this font.

  • that's a very heavy x, looks almost like a display font. where did the image come from? If you have it in pdf or some other amenable format you can discover the font rather than just trying to recognise it in an image. – David Carlisle Aug 13 '12 at 16:03
  • @DavidCarlisle Thanks, but I'm not able to share the original pdf publicly. What tools can be used to discover the font? Thanks. – Tianyi Cui Aug 13 '12 at 16:09
  • 3
    well simplest thing is to just use acrobat reader and then look at the document properties Fonts tab, that lists all the fonts in the document, which is a shorter list than all the fonts in the world as candidates for which one has the X. Of course even better than pdf is if you have the tex or word or whatever sources and can see the commands that made the x – David Carlisle Aug 13 '12 at 16:28
  • 2
    Why do you want this specific font? It's not really special and isn't even used correctly (the x-height is different). If you just need a heavy sans serif font, look at URW Grotesq. – Philippe Goutet Aug 13 '12 at 17:32
2

Looks like it is from Chris Bishops Pattern Recognition and Machine Learning. He uses Helvetica Bold for this "t" and "x".

\documentclass[]{article}
\usepackage{amsmath}

\usepackage{helvet}
\begin{document}

\[p(\text{\textbf{\textsf{t}}}|\text{\textbf{\textsf{x}}},\mathbf{w},\beta)\]

\end{document}

I think \text{\textbf{\textsf{t}}} is not very nice, but it works.

  • \textbf already enters text mode, so there's no need for the \text. And one should consider using \usepackage[scaled=0.82]{helvet} to at least match the x-height of the fonts. – Philippe Goutet Aug 14 '12 at 4:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.