# How to make a paper with zero margins and use the whole paper size for typesetting?

Inspired by solution of @kiss-my-armpit in How to print the list of packages installed on TeX Live to a file?, I decided to make a poster-like document to list all packages in a single page. So I made a large paper with zero margin. But the problem is that the text will cut at the right margin, \sloppy macro doesn't help in this case and causes some big white spaces at the end of each line at following pic shows. I want the text occupies the whole width of the paper.

\documentclass[10pt]{article}
\usepackage[vmargin=0pt, hmargin=0pt, paperwidth=34cm,paperheight=23.5cm,]{geometry}
\usepackage{tikz}
\usepackage{color}
\usepackage[T1]{fontenc}

\begingroup
\catcode\^^M=12\relax%
\expandafter\gdef\expandafter\trimtok#1^^M{#1}%
\gdef\trimmer#1{\expandafter\trimtok #1}%
\endgroup

\immediate\write18{tlmgr list --only-installed|cut -d":" -f1|cut -d" " -f2-|grep -v x86_64-linux|shuf > installedPackages.shuf}

\pagestyle{empty}

\begin{document}
%\sloppy
\noindent
\fontsize{6}{6.05}\selectfont\ttfamily
\loop
\pgfmathparse{int(rand*9)}%
\ifodd\pgfmathresult%
\bgroup\color{gray}%
\fi%
\trimmer\data\ %
\ifodd\pgfmathresult%
\egroup%
\fi%
\repeat%

• The problem can be demonstrated with the much simpler MWE: \documentclass[10pt]{article} \usepackage[vmargin=0pt, hmargin=0pt, paperwidth=34cm,paperheight=23.5cm,]{geometry} \usepackage[nopar]{lipsum} \pagestyle{empty} \begin{document} \noindent %\sloppy \fontsize{6}{6.05}\selectfont\ttfamily \lipsum[1-35] \end{document} – Steven B. Segletes Sep 19 '17 at 11:36
• I think LaTeX doesn't know how to divide plstmary or pictexsum`. – Ignasi Sep 19 '17 at 11:37