I am trying to write down the following expression
Integrate[Exp[-a/2/x]/x/(x + 1), {x, 0, b}, Assumptions -> a > 0 && b > 0]
using mathematical notation. I have tried
Assuming[b > 0 && a > 0, Subscript[\[Integral], 0]^b E^(-(a/(2 x)))/(x (x + 1)) \[DifferentialD]x]
and in picture
However, Mathematica returns Syntax: Incomplete expression; more input is needed.
Could you please give guidance what is wrong here? Thank you.