Coder Social home page Coder Social logo

ap-latex-template's Introduction

AP Style LaTeX Template

This is a $\LaTeX$ template that aims to superficially emulate the layout of an AP-exam style test - both the Free Response, and Multiple Choice portions. It is designed to compile with TeXLive 2023, but should also compile on tectonic and other similar distributions. As it is based on TeXLive, it will, of course, work on Overleaf.

Using the template

Important

Make sure you read the editing instructions section below to get a brief description of how this document's file structure is set up. It's designed closer to the structure of source code, not the typical structure of a $\LaTeX$ document.

On Overleaf (easiest)

You can view a read-only copy of this repository on Overleaf here. Simply make a copy of it to use and edit.

Or, if you prefer (or if the Overleaf link is not available), simply download this repository as a zip file and upload it to Overleaf to use it.

Tip

If Overleaf fails to compile, click the menu button in the top right, and ensure that you are:

  • Using the pdfLaTeX compiler
  • Using the TeXLive 2023 distribution
  • Set the 'Main document' to root.tex (by default, Overleaf may try to compile from prelude.tex instead)
  • Delete the latexmkrc file. It may be causing latexmk to compile the document with settings incompatible with Overleaf.

Compile locally

You may also compile this template with a local TeX distribution. This template was originally created on the TeXLive 2023 distribution, but will probably also work with similar distributions like tectonic. However, I recommend you use TeXLive and latexmk to compile it to ensure that no strange behavior occurs. A latexmkrc file is included to compile with the correct settings automatically when using latexmk. Simply clone and enter the root directory of this repository; then run latexmk to produce an output root.pdf in /build.

Editing instructions

This template is designed to be easy to edit and its various sections are separated into various files. The headers/footers, free response section, multiple choice section, and the last page are all located in appropriately named files in the /src directory. You can simply edit the questions in frq.tex or mcq.tex and make some minor adjustments in root.tex, and not worry about the rest of the formatting. Of course, if you would like, most of the formatting is documented in their respective files.

In particular, the following information may be helpful:

  • Packages are imported and page formatting is set up in the lib/prelude.tex file, separate from the rest of the content-based files.
  • The splitcycle.tex file shows how to display a code block. You can remove it if you don't need this functionality.
  • The headers and footers are defined in header-and-footer.tex. This file defines the header and footer for the first page, and the rest of the pages EXCEPT the last (the first and last pages have separate headers/footers from the rest).
    • The header and footer for the LAST page is defined in end.tex, separately from the header-and-footer.tex file.
  • The 'time limits' set at the beginning of the FRQ section are defined in the root.tex file, just before the input{src/frq.tex} line, NOT the frq.tex file itself.
  • In the mcq.tex file, a custom \columnbreak macro is provided to break into the next column. This is useful if you don't want a question to span across multiple columns.

Licensing and Copyright

This template's source code is licensed under the GNU General Public License. You are hereby permitted to use and redistribute this template for any purpose, with or without modification, as long as you retain a copy of this license and the source code for viewing on request, and with the following conditions:

Use it for good, not evil.

ap-latex-template's People

Contributors

youwen5 avatar

Stargazers

Ananth Venkatesh avatar

Watchers

 avatar

Forkers

kaitotlex

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.