change line spacing of document latex code example Example: spacing lines latex \usepackage{setspace} \doublespacing