diff options
author | Jose Luis Duran <jlduran@users.noreply.github.com> | 2014-08-28 03:12:37 +0000 |
---|---|---|
committer | Jose Luis Duran <jlduran@users.noreply.github.com> | 2014-08-28 03:12:37 +0000 |
commit | 1fc665c07dc0ccbb10efae61fdcea251d4cf53be (patch) | |
tree | 38e11465cc09ccf5652631d01caf7d7ee8b43a5e /src/Text/Pandoc/Process.hs | |
parent | 8f2aa45d69be2f625a8c558744e980bde30c1457 (diff) | |
download | pandoc-1fc665c07dc0ccbb10efae61fdcea251d4cf53be.tar.gz |
LaTeX writer: Make Horizontal Rules more flexible
Currently, pandoc has hard-coded the following in order to make horizontal
rules in LaTeX:
```hs
"\\begin{center}\\rule{3in}{0.4pt}\\end{center}"
```
Which is fine, but does not allow customizations. It also does not take into
consideration the current line width.
I'm proposing this change:
```diff
@@ In Writers/LaTeX.hs:
-"\\begin{center}\\rule{3in}{0.4pt}\\end{center}"
+"\\begin{center}\\rule{0.5\\linewidth}{\\linethickness}\\end{center}"
```
Diffstat (limited to 'src/Text/Pandoc/Process.hs')
0 files changed, 0 insertions, 0 deletions