diff options
author | Karl Berry <karl@freefriends.org> | 2012-09-18 23:54:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-09-18 23:54:36 +0000 |
commit | bba367e984b0fa30b7a96b076887580733b8133e (patch) | |
tree | 046149e82869a9e3af8bb875fa57f81aa52e5fb8 /Master/texmf-dist/tex | |
parent | d28cc9bccf10223e4bad9d7d6ece4066575dadca (diff) |
new latex package designcon (18sep12)
git-svn-id: svn://tug.org/texlive/trunk@27731 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/designcon/designcon.cls | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/designcon/designcon.cls b/Master/texmf-dist/tex/latex/designcon/designcon.cls new file mode 100644 index 00000000000..0f639ee0a0d --- /dev/null +++ b/Master/texmf-dist/tex/latex/designcon/designcon.cls @@ -0,0 +1,112 @@ +%% +%% This is file `designcon.cls', +%% +%% +%% Author: Peter J. Pupalaikis (pete_pope at hotmail dot com) +%% Copyright 2012 Peter J. Pupalaikis +%% Version 1.0 +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any +%% later version. +%% The latest version of the license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2003/06/01 or later. +%% +%% This work consists of the files listed in the README file. +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{designcon}% + [2012/08/29 v0.0 DesignCon Class] +%\DeclareOption*{\PassOptionsToClass{\CurrentOption}{memoir}} +%\ProcessOptions +\LoadClass[12pt,twoside,american,nolist]{article} +\usepackage{fontspec} +\setmainfont[Mapping=tex-text]{Times New Roman} +\setsansfont[Mapping=tex-text]{Arial Black} +\usepackage[letterpaper]{geometry} +\geometry{verbose,tmargin=1in,bmargin=1in,lmargin=0.75in,rmargin=0.75in} + +\makeatletter +\@ifundefined{date}{}{\date{}} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. +\usepackage{fontspec} +\usepackage{xunicode} +\usepackage{xltxtra} +\usepackage{hyphenat} +\usepackage{import} +\usepackage{tikz} +\usepackage[nolist]{acronym} +\usepackage{fix-cm} +\usepackage[sf]{titlesec} + +%\usepackage{lettrine} + +%\input{DesignConInc.tex} +\newcommand\HUGE{\@setfontsize\Huge{36}{47}} +\newfontinstance\bigkanafont[Color=000000,Scale=3]{Arial Black} + +\makeatother + +\usepackage{xunicode} +\usepackage{polyglossia} +\setdefaultlanguage[variant=american]{english} + +\makeatletter +\newcount\@authorinfonumber +\@authorinfonumber=0 +\makeatother + +\makeatletter +\def\setAuthorInfo#1{ +\global\advance\@authorinfonumber by 1 +\expandafter\edef\csname authorinfo \the\@authorinfonumber\endcsname{#1}} +\makeatother + +\def\AuthorInfoList#1{% +\noindent {\Large \csname authorinfo #1\endcsname}} + +\newcommand{\setHeading}{\def\designconHeading} +\newcommand{\setSkip}{\def\designconSkip} + +\makeatletter +\newcommand{\designconTitlePage}{ +%\pagestyle{title} +\pagenumbering{gobble} +\begin{titlepage} +\noindent {\bigkanafont \designconHeading} +%\vspace{3in} +\noindent \begin{flushleft} +\begin{sloppypar} +{\fontsize{36}{43}\selectfont \@title \par} +\end{sloppypar} +%\par +\end{flushleft} +\designconSkip +\AuthorInfoList{1} \\ +\AuthorInfoList{2} \\ +\AuthorInfoList{3} \\ +\AuthorInfoList{4} \\ +\AuthorInfoList{5} \\ +\AuthorInfoList{6} \\ +\AuthorInfoList{7} \\ +\AuthorInfoList{8} \\ +\end{titlepage} +\cleardoublepage +} +\makeatother + +\renewcommand{\maketitle}{ +\designconTitlePage +} + +\newcommand{\designConPaperStart}{ +\cleardoublepage{} +\pagenumbering{arabic} +} + +\endinput +%% +%% End of file `designcon.cls'. |