Giter Club home page Giter Club logo

Comments (3)

kourgeorge avatar kourgeorge commented on June 3, 2024

You can use the following fork https://github.com/brenhinkeller/preprint-template.tex for a 2 column style.

from arxiv-style.

bradknox avatar bradknox commented on June 3, 2024

Unfortunately, that fork is now a very different style than this NeurIPS-inspired style, one that to my eye doesn't look like a computer science paper. I also would find twocolumn support helpful for this arxiv.sty file.

Either way, thanks for making this style file available!

from arxiv-style.

bradknox avatar bradknox commented on June 3, 2024

For others who are interested, the following changes are not ideal but did get me to an acceptable two-column format.

In arxiv.sty, just before \endinput, change the latex around \renewenvironment{abstract} to the following.

\usepackage{changepage}
% abstract styling
\renewenvironment{abstract}
{
  \centerline
  {\large \bfseries \scshape Abstract}
  % \begin{quote}
  \begin{adjustwidth}{5mm}{5mm}  % Adjust the numbers
}
{
  % \end{quote}
  \end{adjustwidth}
}

In your main .tex file, change \documentclass{article} to \documentclass[twocolumn]{article}.

Here's the ugly hack part. Right before the text that starts the right column, add

\newpage
~
\vspace{76mm}

You might need to adjust the vspace. Also, I was lucky to have the abstract take up the full left column, providing a clean start for the right column. If the column starts in the middle of a paragraph, you'll presumably need to split that paragraph---maybe mid-sentence or even mid-word---to allow inserting the newpage and vspace.

from arxiv-style.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.