I was trying to create a custom 'part', So, to do that I have written the following code,
\newcommand\partino[2]
{\phantomsection\addcontentsline{toc}{chapter}{{#2}}\thispagestyle{empty}
{\setlength{\parindent}{0pt}
\rule{0pt}{0.05\textheight}
{\LARGE \bfseries\scshape {Part \:\:#1}}
\vspace{1.5em}
{\huge \bfseries\scshape{#2}}
\vspace{2.5cm}
}}
The resulting part is as follows,
Note that the line height is unnatural, how do I fix this?

\parafter the parts of your code that you want to print\LARGEor\hugein order to get the line spacing right. – Jasper Habicht Aug 11 '22 at 12:16{\LARGE \bfseries\scshape {Part \:\:#1}\par}and{\huge \bfseries\scshape{#2}\par}. – Jasper Habicht Aug 11 '22 at 13:08\fontsize, but\Largeand\hugedo quite the same.) – Jasper Habicht Aug 11 '22 at 14:50