Comments (4)
Hi Tom,
telling your LaTeX compiler (e.g. XeLaTeX see PS) explicitly that you want to have a one-column layout by substituting -'twocolumn'
with -'onecolumn'
in /00_00_settings.yaml
should do the trick.
For a two-side, one-column layout your settings should look something like:
classoption:
- 'twoside'
- 'onecolumn'
For one-side, one-column layout:
classoption:
- 'oneside'
- 'onecolumn'
Let me know if it works.
Cheers,
Martin
PS: With the arabica boilerplate your LaTeX compiler gets invoked by pandoc via the command line argument --pdf-engine=xelatex
. See also the pandoc manual for more information
from arabica.
Thanks for that Martin,
So I did some tests and your suggestion does work... However, I have discovered that adding a table in the following MD format causes the onecolumn layout to revert to twocolumn for any subsequent pages:
--------------- -------------------------------------------------------
DC Department for Communities
FOIA Freedom of Information Act
--------------- -------------------------------------------------------`
So it was the introduction of my markdown that revealed the bug. Any suggestions for fixing this?
Tom
from arabica.
Thanks for pointing this out, @anthillsocial. This was indeed a bug.
This bug was introduced because I adopted a hack form nrnrnr@github and Marco [email protected]. I incorporated this hack into the template file arabica.latex
because by default pandoc uses the LaTeX package longtable to
allow tables to flow over page boundaries.
The longtable.sty
package works fine for documents in one-column mode. As far as I know it does not work with documents in two-column mode. To make the two-column mode and the longtable package work together we have to redefine \longtable
(see Marco [email protected]).
I changed the redefinition of \longtable
. The redefinition now entails a snipped to switch back to the one-column/two-column mode conditionally depending on the given class option for the scrbook
class. You should now be able to switch back and forth between one-column/two-column mode for your document by setting the according values in the 00_00_settings.yaml
file i.g. - 'onecolumn'
or - 'twocolumn'
respectively.
I hope this solves the issue.
Cheers
from arabica.
Thank's Martin - all working as expected now. Literally, as I received your message I worked what the problem was - i'm relatively new to Latex so it been a bit of a learning curve!
Tom
from arabica.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arabica.