Directory macros/latex/contrib/tiet-question-paper
tiet-question-paper.cls
Installation | Usage | Emacs Org Integration
Author: Raghav B. Venkataramaiyer Email: bv.raghav -at- thapar -dot- edu Email: bvraghav -at- gmail -dot- com License: MIT License Version: 2024-06-22
Provide a document class tiet-question-paper
in order to create a question paper for the Thapar Institute in $LaTeX$. Although created for the TIET, the module, however, is adaptable to any organisation.
The following example is a screenshot from sample.pdf
, with the source at sample.tex
Installation
CTAN
TBA
From Source
tlmgr init-usertree
kpsewhich -var-value=TEXMFHOME
should return~/texmf
mkdir -p ~/texmf/tex/latex
cd ~/texmf/tex/latex
git clone
git@github.com:bvraghav/qptietlatex-class tiet-question-paper- Verify that
kpsewhich tiet-question-paper.cls
findstiet-question-paper.cls
.
Usage
Document Class
The document class is based on article
. And all the options are passed forward as is.
\documentclass[11pt,onecolumn]{tiet-question-paper}
Title Block
Only the following macros contribute to the title block.
\date{28 May 2024} % \institute{Thapar Institute of Engineering \& % Technology} % Default value % \abbrevinst{\textsc{tiet}} % Reserved for future % \instaddress{Patiala 147004} % Reserved for future % \cohort{} % Reserved for future % \instlogo{images/tiet-logo.pdf} % Optional \schoolordepartment{Computer Science \& Engineering Department} \examname{End Semester Examination} \coursecode{UCS505} \coursename{Computer Graphics} \timeduration{3 hours} \maxmarks{45} \faculty{ANG,AMK,HPS,YDS,RGB}
Geometry
The class loads geometry
package with following default options,
\RequirePackage[% a4paper,% left=1in,% top=0.5in,% right=0.75in,% bottom=0.75in% ]{geometry}
However, a user may reconfigure using \geometry
command in the preamble for example,
\geometry{letterpaper,bindingoffset=0.2in, left=1.2in,right=1.2in,top=.8in,bottom=.8in, footskip=.25in}
Rules
\bvrhrule \bvrhrule[2pt]
Create a horizontal rule with length equal to line width and thickness 0.4pt
by default. Optional argument specifies line thickness. Here’s the implementation detail,
\DeclareRobustCommand% % Horizontal rule after each question \bvrhrule[1][0.4pt]{\rule{\linewidth}{#1}}
Line Skip
\bvrskipline \bvrskipline[1.2]
Create vertical blank space with height specified as a factor of \baselineskip
. Optional argument specifies the factor, 1.0
by default. Here’s the implementation detail,
\DeclareRobustCommand% % Skip line \bvrskipline[1][]{\vspace{#1\baselineskip}}
Emacs Org Integration
Add the following to the init-file
(add-to-list 'org-latex-classes `("tiet-question-paper" "\\documentclass{tiet-question-paper} [NO-DEFAULT-PACKAGES] \\usepackage{amsmath} \\usepackage{graphicx} \\usepackage{wrapfig} \\usepackage{amssymb} \\usepackage[unicode]{hyperref} " nil))
Here’s a sample-org
file; that produces a PDF
Download the contents of this package in one zip archive (84.7k).
tiet-question-paper – A LaTeX question paper class for the TIET
This package provides a LaTeX document class tiet-question-paper.cls in order to create question papers for the Thapar Institute of Engineering and Technologie (TIET).
Although created for the TIET, the module is easily adaptable to any organisation.
Package | tiet-question-paper |
Bug tracker | https://github.com/bvraghav/qptiet_latex-class/issues |
Repository | https://github.com/bvraghav/qptiet_latex-class |
Version | 2024-06-22 |
Licenses | MIT License |
Copyright | 2024 B.V. Raghav |
Maintainer | Raghav B. Venkataramaiyer |
Contained in | TeX Live as tiet-question-paper MiKTeX as tiet-question-paper |
Topics | Exam Class |