At the moment, library(format) seems to be a fitting place. In the eventual library organization, portray_clause/1 and related predicates may be moved to their own dedicated library.