title: Using \parindent and \parskip with \paragraph{} has no effect
body: <p>I'm creating documents using the <code>memoir</code> class in <code>XeLaTeX</code>. I'm having trouble creating proper paragraph presentation, and in particular my when I create paragraphs with <code>\paragraph{}lorem ipsum</code> LaTeX ignores the <code>\parskip</code> and <code>\parindent</code> settings.</p>
  
  <p>For example, if I have a document</p>
  
  <pre><code>\documentclass[oneside,11pt]{memoir}
  \usepackage{fontspec}% font selecting commands 
  \usepackage{xunicode}% unicode character macros 
  \usepackage{xltxtra} % some fixes/extras 
  
  \begin{document}
  \setlength{\parskip}{0pt} % 1ex plus 0.5ex minus 0.2ex}
  \setlength{\parindent}{0pt}
  \pagestyle{plain}
  
  \paragraph{}orem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam enim
  urna, mattis eu aliquet eget, condimentum id nibh. In hac habitasse platea
  dictumst.
  \paragraph{}ipsum dolor sit amet, consectetur adipiscing elit. Aliquam enim urna,
  mattis eu aliquet eget, condimentum id nibh. In hac habitasse platea dictumst.
  \end{document}
  </code></pre>
  
  <p>This typesets like so:</p>
  
  <blockquote>
    <p>&emsp;&emsp;&emsp;   orem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam enim
    urna, mattis eu aliquet eget, condimentum id nibh. In hac habitasse platea
    dictumst.</p>
    
    <p>&emsp;&emsp;&emsp;ipsum dolor sit amet, consectetur adipiscing elit. Aliquam enim urna,
    mattis eu aliquet eget, condimentum id nibh. In hac habitasse platea dictumst.</p>
  </blockquote>
  
  <p>This incorrectly has both paragraph indentation and skip, in spite of <code>\parskip</code> and <code>\parindent</code> being set to zero.</p>
  
  <p>One would expect the typeset output to look like this (which is an ugly choice of paragraph formatting, but illustrates the issue):</p>
  
  <blockquote>
    <p>orem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam enim
    urna, mattis eu aliquet eget, condimentum id nibh. In hac habitasse platea
    dictumst.<br/>
    ipsum dolor sit amet, consectetur adipiscing elit. Aliquam enim urna,
    mattis eu aliquet eget, condimentum id nibh. In hac habitasse platea dictumst. </p>
  </blockquote>
  
  <p>I note that when I separate paragraphs by two newlines (i.e. don't use <code>\paragraph{}</code>, and)  the <code>\parskip</code> and <code>\parindent</code> settings are honoured.</p>
  
  <p>I'd be very grateful to know why, when using <code>\paragraph{}</code>, the <code>\parskip</code> and <code>\parindent</code> commands are not honoured, and how one might either have these commands honoured or alternatively what commands would achieve the same effect with paragraphs created with <code>\paragraph{}</code>.</p>
  
  <p>Thank you for reading.</p>
  
  <p>Brian</p>