Definition 22.26.3. Let $R$ be a ring. Let $\mathcal{A}$ be a differential graded category over $R$. Then we let

1. the category of complexes of $\mathcal{A}$1 be the category $\text{Comp}(\mathcal{A})$ whose objects are the same as the objects of $\mathcal{A}$ and with

$\mathop{\mathrm{Hom}}\nolimits _{\text{Comp}(\mathcal{A})}(x, y) = \mathop{\mathrm{Ker}}(d : \mathop{\mathrm{Hom}}\nolimits ^0_\mathcal {A}(x, y) \to \mathop{\mathrm{Hom}}\nolimits ^1_\mathcal {A}(x, y))$
2. the homotopy category of $\mathcal{A}$ be the category $K(\mathcal{A})$ whose objects are the same as the objects of $\mathcal{A}$ and with

$\mathop{\mathrm{Hom}}\nolimits _{K(\mathcal{A})}(x, y) = H^0(\mathop{\mathrm{Hom}}\nolimits _\mathcal {A}(x, y))$

[1] This may be nonstandard terminology.

In your comment you can use Markdown and LaTeX style mathematics (enclose it like $\pi$). A preview option is available if you wish to see how it works out (just click on the eye in the toolbar).