0

enter image description here

I'd like to write a formula like this in the above picture. But I got like this:

enter image description here

My code is: \int_{\Omega} f(\bold{x})\, \mathrm{d}\mathbf{x} =

  1. Why the integral symbol looks rounded?
  2. How to get the bolded "x" just like in the first picture?
3
  • 4
    Welcome to TEX.SE! Please provide a full minimal working example which reproduces the issue, starting with \documentclass{...} and ending with \end{document}. The upper picture uses the standard Computer Modern font, the lower picture some kind of Times font. You have something in your code which loads a Times font.
    – campa
    Aug 10, 2020 at 11:14
  • 1
    Hi and welcome. Please give an MWE, read How to make a “minimum example”
    – AndréC
    Aug 10, 2020 at 11:17
  • 1
    The problem is most likely your choice of fonts. Somewhere near the top of your tex file, you have something like \usepackage{...} with some font package name in the ..., Aug 10, 2020 at 11:28

2 Answers 2

3

The following code is a full example in which the integral takes the shape you want and the x is bold-font.

\documentclass{article}
\usepackage{bm}
\begin{document}
$
\displaystyle\int_{\Omega} f\left( \bm{x} \right) d\bm{x} =
$
\end{document}

I think your problem is that you have not included the integral inside the dollar symbols (which represent the mathematical mode). For the bold font I use the package bm, which provides the function \bm{...} for including bold-font text in mathematical mode.

Maybe other possibility is the compiler you are using. In my case, compiling it with pdfLaTeX, I have had no problem.

2

My welcome....in the community TeX.SE. For your question (I hope this time :-)) the answer is....

\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amssymb}

\begin{document}
\[\int_{\Omega} f(\mathbf{x})\, \mathrm{d}\mathbf{x}\]
\end{document}

enter image description here

Previous answer: I think that your initial combination between Times New Roman (newtxtext - it is your clone) plus txfonts.

\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amssymb}
\usepackage{newtxtext}
\usepackage{txfonts}
\begin{document}
\[\int_{\Omega} f(\mathbf{x})\, \mathrm{d}\mathbf{x}\]
\end{document}

enter image description here

4
  • 1
    But the question is quite the opposite, isn't it? This is what she already has but she wants CM.
    – campa
    Aug 10, 2020 at 11:30
  • @campa You can see that I'm a scarce user with the English language :-(
    – Sebastiano
    Aug 10, 2020 at 11:31
  • 1
    Relax, I had to read the question a couple of times myself to be sure :-)
    – campa
    Aug 10, 2020 at 11:32
  • @campa Thank you very much for your comprension 😟.
    – Sebastiano
    Aug 10, 2020 at 11:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .