Git Product home page Git Product logo

seneca_final's Introduction

Readme file for the seneca_final.cls class
Author: Marcel Jar
Date: March 23rd 2016
Version 0.1

The seneca_final class allows Seneca instructors to write their final exam using Latex, following the same template provided by MS Word.

To use it, you simply need to keep the cls file in the same folder as your .tex file and set the document class as: \documentclass{seneca_final}

How to use it:

Headers and footers are created using the commands:

\CourseTerm{<course code> Final Exam}{<term>}
\CollegeDept{<college name>}{<department>}

The cover page is by large automatically generated. The number of pages is automatically calculated. Also, the total number of marks is calcualted as the sum of the marks for all its parts. The sequence of commands to create the title page is shown below. Attention, you need to keep all these commands in your exam!

\AddTitle{<version (leave it empty if only one version is required)>}
\AddCourseInfo{<term>}{<course name>}{<course code>}
\AddStudentInfo
\AddTestInfo{<date>}{<instructor names>}{<first part name>}{<marks for part 1>}{<second part name>}{<marks for part 2>} {<third part name>}{<marks for part 3>}
\begin{SpecialInstructions}
   \item <insert your first instruction here>
   \item <insert your second instruction here>
\end{SpecialInstructions}

You can divide your exam in parts using:
\Part{<name of the part>}

Questions are created with:
\Question[marks]{<question text>}

The parameter [marks] is optional. If present, it writes in boldface how many marks are allocated to that question. For example, \Question[1.0]{Question title} would print: 1. Question title [1.0 marks].

Four types of questions are possible, regular questions, created using simply the command \Question above, multiple choice questions, true or false questions, and column matching questions. There are no limits for the number of choices for the last three types of questions.

Multiple choice questions:

\Question[marks]{<question text>}
   \begin{multiple_choice}
      \item <first multiple choice item>
      \item <second multiple choice item>
   \end{multiple_choice}

True or False questions:

\Question[marks]{<question text>}
   \begin{true_false}
      \item <first true or false item>
      \item <second true or false item>
   \end{true_false}

Column matching questions:

\Question[marks]{<question text>}
   \begin{match_columns}
      <first item> & <first match>\\
      <second item> & <second match>\\
      <third item> & <third match>\\
   \end{match_columns}

You can also create subquestions with the command:
\Question[marks]{<question text>}
   \Subquestion[marks]{<subquestion 1 text>}
   \Subquestion[marks]{<subquestion 2 text>}

To add source codes listings, the environment source_code is provided. This environment can provide syntax highliting, as long as the language is provided as an option. C++, Java, Python, PHP, and Bash are some of the available languages:

\begin{source_code}[<language>]
<source code goes here>
\end{source_code}

You can add jpg, png, and pdf figures to your exam using the command:
\figure[<size>]{<filename>}

There are three options of sizes: small, default, and large. <filename> must be the name of the figure file, including the file ending (png, pdf, or jpg). Note that the file must be in the same folder of the main .tex file. In case the figure resides in a subfolder in the main .tex file's folder, you can still add it by providing the relative path. For example: subfolder/filename (Linux) or subfolder\filename (Windows).

seneca_final's People

Watchers

Marcel Jar avatar

seneca_final's Issues

Add allocated marks option

Questions should have an option for the student to know how many marks are allocated for that specific question. For instance: \Question[2]{this is the text of my question} show display as:

  1. This is the text of my question. (2 marks)

Adding figures

There should be a command to add figures, including caption. Also, it should allow users to set the size of the picture as a fraction of the textwidth.

For example:
\Figure[si0.5,figure's caption]{figure.png}

Should display figure.png scaled to occupy half of the textwidth. Its caption would be: figure's caption.

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.