marceljar / seneca_final Goto Github PK
View Code? Open in Web Editor NEWLatex class for creating final exams for Seneca College
License: MIT License
Latex class for creating final exams for Seneca College
License: MIT License
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).
There should be an environment to easily add source codes in multiple languages, including caption, as shown below:
\begin{source_code}[chosen language,caption]
source code goes in here
\end{source_code}
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:
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.