0

I would like to add a subscript to my equation. For example the following one:

W(P_{r}, P_{q}) = \min_{G} \max_{D \in \mathcal{D}} \mathbb{E}_{x \sim P_{r}}[D(x)]  - \mathbb{E}_{\hat{x} \sim P_{g}}[log(1 - D(\hat{x}))]

However, as it is the subscript to \mathbb{E} does not work beneath, but in the right down corner. I would like to achieve sth like:

enter image description here

How can I do so?

9
  • What exactly is \mathbb{E} here? I've never seen this type of syntax before.
    – daleif
    Apr 6, 2020 at 20:06
  • @daleif Peraphs is it an euclidean space?
    – Sebastiano
    Apr 6, 2020 at 20:21
  • @daleif It think it is used to represent the expectation operator.
    – Vincent
    Apr 6, 2020 at 20:32
  • @Vincent even if so I've never seen that before and I've edited my share of statistics preprints. That said I think you're right, now what is G then
    – daleif
    Apr 6, 2020 at 20:33
  • @daleif I study probability and I see it all the time. Maybe it is a more popular notation in probability theory than in statistics.
    – Vincent
    Apr 6, 2020 at 20:36

1 Answer 1

2

Look with lot of attention to your formula...Use, for the future, \underset{}{} for \mathbb.

\documentclass[a4paper,12pt]{article}
\usepackage{mathtools,amssymb}
\begin{document}
\[W(\mathbb{P}_{r}, \mathbb{P}_{q}) = \min_{G} \max_{D \in \mathcal{D}} \, \underset{x \sim \mathbb{P}_{r}}{\mathbb{E}}\log[D(x)]- \underset{\hat{x}\sim \mathbb{P}_{g}}{\mathbb{E}}[\log(1 - D(\hat{x}))]\]
\end{document}

enter image description here

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