1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-26 07:33:39 +00:00

ox-latex: Remove unwanted indentation in horizontal rules

* lisp/ox-latex.el (org-latex-horizontal-rule): Add "\noindent" macro
  before the horizontal rule.

Reported-by: Justen Rickert <justenrickert@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/113092>
This commit is contained in:
Nicolas Goaziou 2017-04-16 09:33:33 +02:00
parent 93972c9845
commit de7e495e46

View File

@ -2052,8 +2052,8 @@ CONTENTS is nil. INFO is a plist holding contextual information."
"\n")
(org-latex--wrap-label
horizontal-rule
(format "\\rule{%s}{%s}"
(or (plist-get attr :width) "\\linewidth")
(format "\\noindent\\rule{%s}{%s}"
(or (plist-get attr :width) "\\textwidth")
(or (plist-get attr :thickness) "0.5pt"))
info))))