0

Here is what I want to write in latex:

enter image description here

1 Answers1

2

Welcome! Here's how to write your equation. I added another solution using the command \bm from the bm package, which allows to write bold italic math.

\documentclass{article}
\usepackage{amsmath}
\usepackage{bm}
\begin{document}
\begin{tabular}{ll}
    With \verb|\mathbf|:    & \( \mathcal{D} = \{ (\mathbf{x}_i, y_i) \}_{i=1}^N \) \\
    With \verb|\bm|:        & \( \mathcal{D} = \{ (\bm{x}_i, y_i) \}_{i=1}^N \) 
\end{tabular}
\end{document}
Vincent
  • 20,157