What do you mean "accordingly?" According with what?
Spaces were used in both Greek and Latin texts in antiquity. Spaces were also used in Phoenician (e.g. the Kilamuwa Inscription) and other alphabetic texts. Spaces appear in the very earliest inscriptions, marked by interpuncts. They continued to be commonplace in alphabetic inscriptions throughout antiquity, morphing in Hellenistic and Roman epigraphy into the well-known hedera symbol (it looks like a heart). Interpuncts also could be used to separate out syntactic units, like in the Gortyn Law Code, but this habit only appears in the Archaic Period in Greece and dies out after that. Spaces and interpuncts also appear sometimes in manuscripts, e.g. the fifth century Vergilius Romanus in the Vatican