Hi, I have attached a small patch that makes LaTeX export use the same regular expression as HTML export for identifying horizontal lines. The regular expression used in HTML export seems more useful, since it allows for leading whitespace, which is for instance introduced by auto-indenting the buffer. Best regards, Valentin