I want to produce a html output for a basic two column article given in this link. I used
htlatex to produce the html output. However the output is in single column format.
Is there any way to produce two column html output from .tex input?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.Sign up to join this community
Two-column output doesn't really make sense for HTML output where the presentation is more of a continuous scroll than a page-based output. That said, if you really want two columns, this can be managed using CSS with the
You'll need to wrap the body of the article in an environment so that it can be enclosed in a
div tag in the HTML output. See tex4ht: Wrapping several paragraphs inside a div tag for details on this. Then you can either modify the example at that link to explicitly have
style="column-count:2" or do it through a CSS style sheet.
But again, you really do not want to do this.