# Grammar of stellar classification

How to write G2V correctly (I mean space)? I saw in articles $$G\,2\,V$$ and $$G2\,V$$, on the internet webside it is usually $$G2V$$.