Skip to content

LaTeX writer: Allow more flexible table alignment #2665

Merged
merged 1 commit into from

2 participants

@monofon

Removing the centering option [c] to the longtable environment allows LaTeX templates to control the overall table alignment in a document by setting the longtable length variables LTleft and LTright.

Example:

\setlength\LTleft\parindent
\setlength\LTright\fill

results in left aligned tables that respect paragraph indentation.

This patch will not change the default behavior of pandoc because centering is the default for tables even if [c] is not specified.

@jgm jgm merged commit 3875df7 into jgm:master

1 check failed

Details continuous-integration/travis-ci/pr The Travis CI build failed
@jgm
Owner

good idea, I didn't know centering was the default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.