<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks Reinhard. This worked like a charm! I am no expert in latex.</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Reinhard Kotucha <reinhard.kotucha@web.de><br>
<b>Sent:</b> Thursday, December 3, 2020 4:37 PM<br>
<b>To:</b> Siddharth Jain <siddjain@live.com><br>
<b>Cc:</b> texhax@tug.org <texhax@tug.org><br>
<b>Subject:</b> Re: XeTeX inserting unwanted left padding/gutter into document</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">On 2020-12-04 at 00:00:20 +0000, Siddharth Jain wrote:<br>
<br>
 > Hello,<br>
 ><br>
 > I have a document like this:<br>
 ><br>
 > \documentclass[12pt]{article}<br>
 > \usepackage[paperheight=9.50in,paperwidth=16.20in,margin=0in]{geometry}<br>
 > \usepackage[dvipsnames,prologue,table]{pstricks}<br>
 ><br>
 > \begin{document}<br>
 > \pagestyle{empty}<br>
 ><br>
 > \psset{unit=1in}<br>
 > \begin{pspicture}(16.20in,9.50in)<br>
 ><br>
 > \psframe[fillstyle=solid,fillcolor=Black](0,0)(16.20in,9.50in)<br>
 ><br>
 > \end{pspicture}<br>
 > \end{document}<br>
 ><br>
 > When this document is processed by xelatex I notice an unwanted<br>
 > padding/margin/white gutter on the left side as shown in image<br>
 > below:<br>
<br>
<br>
Hi Sid,<br>
you also get the message<br>
<br>
  Overfull \hbox (17.62482pt too wide) in paragraph at lines 13--14<br>
<br>
17.62482pt is the value of \parindent which controls indentation of<br>
the first line of each paragraph.<br>
<br>
The pspicture environment is actually the first line of a new<br>
paragraph and therefore indented by the value of \parindent.<br>
<br>
The solution is<br>
<br>
  \noindent\begin{pspicture}(16.20in,9.50in)<br>
<br>
Regards,<br>
  Reinhard<br>
<br>
--<br>
------------------------------------------------------------------<br>
Reinhard Kotucha                            Phone: +49-511-3373112<br>
Marschnerstr. 25<br>
D-30167 Hannover                    <a href="mailto:reinhard.kotucha@web.de">mailto:reinhard.kotucha@web.de</a><br>
------------------------------------------------------------------<br>
</div>
</span></font></div>
</div>
</body>
</html>