A coex (Latin for block of wood, book; plural codices) is a book in the format used for modern books, with separate pages normally bound together and given a cover. It was a Roman invention that replaced the scroll, which was the first form of book in all Eurasian cultures.