From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- .../contrib/famt/CollegeNotice/CollegeNotice.cls | 49 +++++++++++++++++++ macros/latex/contrib/famt/CollegeNotice/README.txt | 54 +++++++++++++++++++++ macros/latex/contrib/famt/CollegeNotice/Sample.pdf | Bin 0 -> 37877 bytes macros/latex/contrib/famt/CollegeNotice/Sample.tex | 15 ++++++ 4 files changed, 118 insertions(+) create mode 100644 macros/latex/contrib/famt/CollegeNotice/CollegeNotice.cls create mode 100644 macros/latex/contrib/famt/CollegeNotice/README.txt create mode 100644 macros/latex/contrib/famt/CollegeNotice/Sample.pdf create mode 100644 macros/latex/contrib/famt/CollegeNotice/Sample.tex (limited to 'macros/latex/contrib/famt/CollegeNotice') diff --git a/macros/latex/contrib/famt/CollegeNotice/CollegeNotice.cls b/macros/latex/contrib/famt/CollegeNotice/CollegeNotice.cls new file mode 100644 index 0000000000..8a7fe0a45f --- /dev/null +++ b/macros/latex/contrib/famt/CollegeNotice/CollegeNotice.cls @@ -0,0 +1,49 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{CollegeNotice}[2012/04/19 CollegeNotice] +% Declare some variables to hold text fields +\newcommand{\collegename}[1]{\gdef\NoticeField@collegename{#1}} +\newcommand{\deptname}[1]{\gdef\NoticeField@deptname{#1}} +\newcommand{\issuedate}[1]{\gdef\NoticeField@issuedate{#1}} +\newcommand{\subject}[1]{\gdef\NoticeField@subject{#1}} +\newcommand{\name}[1]{\gdef\NoticeField@name{#1}} +\newcommand{\designation}[1]{\gdef\NoticeField@designation{#1}} +\newcommand{\content}[1]{\gdef\NoticeField@content{#1}} + +% Initialize variables to their default values +\collegename{Finolex Academy of Management and Technology} +\deptname{Department of Information Technology} +\issuedate{\today} +\subject{} +\name{S. V. Jadhav} +\designation{Head of Department} +\content{} + +% Define layout for Notice +\newcommand{\makenotice}{ + \thispagestyle{empty} + \centering + \Large{\NoticeField@collegename} \linebreak + \large{\NoticeField@deptname} \\[\baselineskip] \normalsize + \flushright{\NoticeField@issuedate} \\[\baselineskip] + \centering + \textbf{\Large{NOTICE}} \\[\baselineskip] \normalsize + \NoticeField@subject \\[\baselineskip] + \flushleft{\NoticeField@content} \\[\baselineskip] + \vspace{0.5cm} + \flushright{\NoticeField@name} \linebreak + \NoticeField@designation \\[\baselineskip] + +} +\LoadClass[a4paper,12pt]{article} + +\usepackage{xifthen} +% College name is other than Finolex Academy of Management and Technology +\newcommand{\College}[1]{\ifthenelse{\isempty{#1}}{}{\collegename{#1}}} +% Department name is other than Information Technology +\newcommand{\Department}[1]{\ifthenelse{\isempty{#1}}{}{\deptname{#1}}} +% Name is other than S.V.Jadhav +\newcommand{\Name}[1]{\ifthenelse{\isempty{#1}}{}{\name{#1}}} +% Designation is other than Head of Department +\newcommand{\Designation}[1]{\ifthenelse{\isempty{#1}}{}{\designation{#1}}} +% Issued Date is other than Today's date +\newcommand{\Issuedate}[1]{\ifthenelse{\isempty{#1}}{}{\issuedate{#1}}} \ No newline at end of file diff --git a/macros/latex/contrib/famt/CollegeNotice/README.txt b/macros/latex/contrib/famt/CollegeNotice/README.txt new file mode 100644 index 0000000000..9d1568636c --- /dev/null +++ b/macros/latex/contrib/famt/CollegeNotice/README.txt @@ -0,0 +1,54 @@ +This is the README file for the CollegeNotice class for LaTeX. It +corresponds to version 1.0 of the CollegeNotice class (23/04/2012). +This README is public domain. + +============================== +Using the class CollegeNotice +============================== + +Sample File +----------- + +There is a sample notice in the file test.tex. Mostly this is useful as an example of how to produce the front matter. If you don't understand LaTeX at all, this file might help you get started. + +Choosing the CollegeNotice class +--------------------------------- + +To use the CollegeNotice class, make sure that the CollegeNotice.cls file is on your TEXINPUTS search path and use the following command at the start of your input file: + +\documentclass{ CollegeNotice} + +================================== +What the CollegeNotice class does +================================== + +The CollegeNotice is a class for use in Finolex Academy of Management and Technology(FAMT) to prepare a notice according to standard norms. + +The key features of the class are: + +1) By default this class uses FAMT as default college and Information Technology as default department, which can be changed as per user requirements. + +Declarations +------------ + +To use the notice, you must first declare a number of text strings: + +\College Specify the name of the college, if it is other than FAMT +\Department Specify the name of the department, if it is other than Information Technology +\Issuedate The date when the notice is to be issued +\subject Specify the subject of notice +\content The matter to be printed in the notice +\Name The name of the person issuing the notice +\Designation The name of the person issuing the notice + + +=================================== +Installing the CollegeNotice class +=================================== + +To install the CollegeNotice class, you need to install following files: + + CollegeNotice.cls + +in your LaTeX class file repository. + diff --git a/macros/latex/contrib/famt/CollegeNotice/Sample.pdf b/macros/latex/contrib/famt/CollegeNotice/Sample.pdf new file mode 100644 index 0000000000..0194a2eff0 Binary files /dev/null and b/macros/latex/contrib/famt/CollegeNotice/Sample.pdf differ diff --git a/macros/latex/contrib/famt/CollegeNotice/Sample.tex b/macros/latex/contrib/famt/CollegeNotice/Sample.tex new file mode 100644 index 0000000000..ac10fed8a8 --- /dev/null +++ b/macros/latex/contrib/famt/CollegeNotice/Sample.tex @@ -0,0 +1,15 @@ +\documentclass{CollegeNotice} +\subject{ATTENTION MUSIC LOVERS} +\content{ +The college is hosting the Inter-College Musical carnival on 10th May, 2012 at Savarkar Natyagriha, Maruti Mandir at 9:00 a.m. \\ +All the talented students with gifted voices may appear for the audition to be conducted in the presence of Ms. Shreya Ghosal, the well known singer on 22nd April, 2012 at 9 a.m. in the college auditorium. \\ +For further details contact the undersigned. +} +\College{Rajendra Mane College of Engineering and Technology} +\Department{Department of MCA} +\Name{Ravi Shankar} +\Designation{Professor} +\Issuedate{April 15, 2012} +\begin{document} +\makenotice +\end{document} \ No newline at end of file -- cgit v1.2.3