Definition 105.8.1. A morphism $f : \mathcal{X} \to \mathcal{Y}$ of algebraic stacks is said to be formally smooth if it is formally smooth on objects as a $1$-morphism in categories fibred in groupoids as explained in Criteria for Representability, Section 96.6.

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).