├── .gitignore ├── Death-Star-Plans.txt ├── README.md ├── logo-example.png ├── signature-example.png ├── create-new-matter.applescript ├── letter-example.tex ├── arrange-windows.applescript ├── print-reminders.applescript ├── letterhead-example.tex ├── answer-example.tex └── license-example.tex /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /Death-Star-Plans.txt: -------------------------------------------------------------------------------- 1 | Rule One: don't leave a hole in the middle of the Death Star. 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # TECHSHOW 2013 2 | 3 | XeTeX files and AppleScripts from TECHSHOW 2013. 4 | -------------------------------------------------------------------------------- /logo-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/statonjr/techshow-2013/HEAD/logo-example.png -------------------------------------------------------------------------------- /signature-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/statonjr/techshow-2013/HEAD/signature-example.png -------------------------------------------------------------------------------- /create-new-matter.applescript: -------------------------------------------------------------------------------- 1 | set answer to (text returned of (display dialog "Enter name of new matter:" default answer "New Matter" with title "New Matter")) 2 | 3 | tell application "Finder" 4 | tell desktop 5 | set parentFolder to make new folder with properties {name:answer} 6 | end tell 7 | make new folder with properties {name:"Correspondence"} at parentFolder 8 | make new folder with properties {name:"Pleadings"} at parentFolder 9 | make new folder with properties {name:"Orders"} at parentFolder 10 | end tell -------------------------------------------------------------------------------- /letter-example.tex: -------------------------------------------------------------------------------- 1 | %!TEX TS-program = xelatex 2 | %!TEX encoding = UTF-8 Unicode 3 | 4 | \documentclass[12pt]{letter} 5 | 6 | %%% Input our letterhead configuration 7 | \input{/Users/statonjr/Desktop/TECHSHOW/letterhead-example.tex} 8 | %%% 9 | 10 | \begin{document} 11 | 12 | \begin{letter}{Ms.\ Jane Doe\\ 1234 Main Street \\ Charlotte, NC 28202} 13 | \opening{Dear Ms.\ Doe,} 14 | \thispagestyle{fancy} 15 | Welcome and thank you for choosing our law firm for your legal needs. 16 | 17 | \closing{Sincerely,} 18 | 19 | \end{letter} 20 | 21 | \end{document} 22 | %%% EOF -------------------------------------------------------------------------------- /arrange-windows.applescript: -------------------------------------------------------------------------------- 1 | tell application "Finder" 2 | set openWindows to every window 3 | set windowCount to count of openWindows 4 | set x to 80 5 | set y to 120 6 | 7 | repeat with i from 1 to windowCount 8 | set beginningPosition to {x, y} 9 | tell item i of openWindows 10 | set zoomed to true 11 | set toolbar visible to false 12 | set statusbar visible to false 13 | set current view to icon view 14 | set position to beginningPosition 15 | end tell 16 | set x to x + 20 17 | set y to y + 20 18 | end repeat 19 | 20 | end tell -------------------------------------------------------------------------------- /print-reminders.applescript: -------------------------------------------------------------------------------- 1 | tell application "Reminders" 2 | set todo_accounts to every account 3 | -- accounts have lists. loop thru accounts to get their lists. 4 | repeat with i from 1 to length of todo_accounts 5 | tell account i 6 | set todo_lists to get every list 7 | -- lists have reminders. loop thru lists to get their reminders 8 | repeat with j from 1 to length of todo_lists 9 | tell list j 10 | set todos to (get reminders) 11 | -- if there are no reminders for a list, then ignore the list 12 | if length of todos is greater than 0 then 13 | -- Write out the name of the list 14 | do shell script "echo " & (quoted form of (get name)) & " >> ~/Desktop/todos.txt" 15 | -- loop thru the reminders to get properties 16 | repeat with k from 1 to length of todos 17 | set this_todo to item k of todos 18 | do shell script "echo [ ] " & (quoted form of (get name of this_todo)) & " >> ~/Desktop/todos.txt" 19 | end repeat 20 | end if 21 | end tell 22 | end repeat 23 | end tell 24 | end repeat 25 | end tell -------------------------------------------------------------------------------- /letterhead-example.tex: -------------------------------------------------------------------------------- 1 | %%% Graphically view the layout 2 | \usepackage{layout} 3 | %%% 4 | 5 | %%% Colors! 6 | \usepackage[usenames]{color} 7 | %%% 8 | 9 | %%% Hyperlinks 10 | \usepackage{unicode} 11 | \usepackage{hyperref} 12 | \hypersetup{ 13 | colorlinks=true, % false: boxed links; true: colored links 14 | linkcolor=black, % color of internal links 15 | citecolor=green, % color of links to bibliography 16 | filecolor=magenta, % color of file links 17 | urlcolor=black % color of external links 18 | } 19 | %%% 20 | 21 | %%% Change header 22 | \usepackage{fancyhdr} 23 | \pagestyle{plain} 24 | \topmargin 5pt 25 | \headheight 50pt 26 | \headsep -25pt 27 | \chead{% 28 | \begin{picture}(0,0)% 29 | \put(50,40){% 30 | \makebox(0,0){% 31 | \includegraphics[height=0.75in,width=1.05in]{/Users/statonjr/Desktop/TECHSHOW/logo-example.png}% 32 | }% 33 | }% 34 | \end{picture} 35 | \sffamily{Example Law Firm} 36 | }% 37 | \cfoot{ 38 | \sffamily{Example Law Firm\\720 Michigan Avenue + Chicago, IL + 55555\\312.555.1234} 39 | } 40 | \renewcommand{\headrulewidth}{0pt} 41 | 42 | %%% Change date format 43 | \def\today{\number\day\space\ifcase\month\or January\or February\or March\or April\or May\or June\or July\or August\or September\or October\or November\or December\fi \space\number\year} 44 | 45 | %%% XeTeX Fonts 46 | \usepackage{fontspec,xltxtra,xunicode} 47 | \defaultfontfeatures{Mapping=tex-text} 48 | \setromanfont[Mapping=tex-text]{Hoefler Text} 49 | \setsansfont[Scale=MatchLowercase,Mapping=tex-text,Colour=999999]{Futura} 50 | \setmonofont[Scale=MatchLowercase]{Andale Mono} 51 | %%% 52 | 53 | \address{ } 54 | \signature{ 55 | \begin{picture}(0,0) 56 | \put(0,0){ 57 | \includegraphics{/Users/statonjr/Desktop/TECHSHOW/signature-example.png} 58 | } 59 | \end{picture} \\ 60 | Attorney Name\\ 61 | } 62 | 63 | %%% EOF 64 | -------------------------------------------------------------------------------- /answer-example.tex: -------------------------------------------------------------------------------- 1 | %!TEX TS-program = xelatex 2 | %!TEX encoding = UTF-8 Unicode 3 | 4 | \documentclass[12pt]{article} 5 | 6 | % Page layout 7 | \setlength\topmargin{0cm} 8 | \setlength\textwidth{16.5cm} 9 | \setlength\oddsidemargin{0cm} 10 | \setlength\evensidemargin{0cm} 11 | \setlength\headheight{0cm} 12 | \setlength\textheight{21cm} 13 | 14 | % Date formatting 15 | \usepackage{datetime} 16 | \newdateformat{sigdate}{\ordinaldate{\THEDAY} day of \monthname[\THEMONTH], \THEYEAR} 17 | 18 | % Line spacing 19 | \usepackage{setspace} 20 | \doublespacing 21 | 22 | % New Commands 23 | % 24 | % My client 25 | \newcommand{\client}{ABC Corporate Enterprises, Inc. } 26 | \newcommand{\csn}{ABCCE } 27 | 28 | 29 | % Will Robertson's fontspec.sty can be used to simplify font choices. 30 | % To experiment, open /Applications/Font Book to examine the fonts provided on Mac OS X, 31 | % and change "Hoefler Text" to any of these choices. 32 | 33 | \usepackage{fontspec,xltxtra,xunicode} 34 | \defaultfontfeatures{Mapping=tex-text} 35 | \setromanfont[Mapping=tex-text]{Hoefler Text} 36 | \setsansfont[Scale=MatchLowercase,Mapping=tex-text]{Gill Sans} 37 | \setmonofont[Scale=MatchLowercase]{Andale Mono} 38 | 39 | \begin{document} 40 | \singlespacing 41 | 42 | \begin{center} 43 | UNITED STATES DISTRICT COURT\\ 44 | WESTERN DISTRICT OF NORTH CAROLINA\\ 45 | CHARLOTTE DIVISION\\ 46 | \end{center} 47 | 48 | \doublespacing 49 | 50 | \noindent Patent Troll, Inc. 51 | 52 | \noindent \hspace{2cm}Plaintiff, 53 | 54 | \noindent v.\ \hspace{9cm}Civil Action No.: 3:08CV0666-C 55 | 56 | \noindent \client 57 | 58 | \noindent \hspace{2cm}Defendant.\ 59 | 60 | \noindent \line(1,0){200} 61 | 62 | \singlespacing 63 | \begin{center} 64 | Defendant ABC Corporate Enterprises, Inc.'s Answer to Plaintiff's Amended Complaint 65 | \end{center} 66 | 67 | \doublespacing 68 | 69 | Defendant \client (``\csn''), by and through its undersigned attorneys, files this answer to the Plaintiff's Complaint and states as follows: 70 | 71 | \begin{enumerate} 72 | \item Denied. 73 | \item Denied. 74 | \item Denied. 75 | \item Admitted. 76 | \item \csn is without sufficient information to form a belief as to the truth of the allegations contained in paragraph 5, and therefore they are denied. 77 | \item Denied. 78 | \item \csn is without sufficient information to form a belief as to the truth of the allegations contained in paragraph 7, and therefore they are denied. 79 | \item \csn is without sufficient information to form a belief as to the truth of the allegations contained in paragraph 8, and therefore they are denied. 80 | \item Denied. 81 | \item Denied. 82 | \item \csn is without sufficient information to form a belief as to the truth of the allegations contained in paragraph 11, and therefore they are denied. 83 | \item Denied. 84 | \item Denied. 85 | \item Denied. 86 | \item \csn reincorporates its answers from paragraphs 1--14 above. 87 | \item Denied. 88 | \item \csn without sufficient information to form a belief as to the truth of the allegations contained in paragraph 16, and therefore they are denied. 89 | \end{enumerate} 90 | 91 | Wherefore \csn prays this Court to dismiss the Plaintiff's Amended Complaint in its entirety and award to \csn all costs, fees, and other such relief as this Court deems just.\newpage 92 | 93 | Respectfully submitted this \sigdate\today. 94 | 95 | \vspace{1cm} 96 | 97 | \singlespacing 98 | \hspace{7cm}\line(1,0){150} 99 | 100 | \hspace{7cm}Bob Smith 101 | 102 | \hspace{7cm}NC No. 12345 103 | 104 | \hspace{7cm}Attorneys for \client 105 | 106 | \hspace{7cm}Example Law Firm, PLLC 107 | 108 | \hspace{7cm}720 Michigan Avenue 109 | 110 | \hspace{7cm}Chicago, IL 55555 111 | 112 | \hspace{7cm}Telephone: 312 113 | 114 | \hspace{7cm}E-mail: bob.smith@lawfirm.com 115 | 116 | \end{document} -------------------------------------------------------------------------------- /license-example.tex: -------------------------------------------------------------------------------- 1 | %!TEX TS-program = xelatex 2 | %!TEX encoding = UTF-8 Unicode 3 | 4 | \documentclass[12pt]{article} 5 | 6 | % Page layout 7 | \setlength\topmargin{0cm} 8 | \setlength\textwidth{16.5cm} 9 | \setlength\oddsidemargin{0cm} 10 | \setlength\evensidemargin{0cm} 11 | \setlength\headheight{0cm} 12 | \setlength\textheight{21cm} 13 | 14 | % Reformat subsection heading styles 15 | \makeatletter 16 | \renewcommand\subsection{\@startsection {subsection}{2}{\z@}{12pt plus 2pt minus 2pt}{-5pt}{\normalsize\bf}} 17 | \makeatother 18 | 19 | % Reformat section heading styles 20 | \makeatletter 21 | \renewcommand\section{\@startsection {section}{1}{\z@}{-3.5ex \@plus -1ex \@minus -.2ex}{2.3ex \@plus .2ex}{\centering\normalfont\large}} 22 | \makeatother 23 | 24 | % Date formatting 25 | \usepackage{datetime} 26 | \newdateformat{sigdate}{\ordinaldate{\THEDAY} day of \monthname[\THEMONTH], \THEYEAR} 27 | 28 | % Line spacing 29 | \usepackage{setspace} 30 | \doublespacing 31 | 32 | % New Commands 33 | % 34 | % My client 35 | \newcommand{\client}{Yummy Delicious Foods, Inc.} 36 | \newcommand{\csn}{Yummy Delicious} 37 | 38 | 39 | % Will Robertson's fontspec.sty can be used to simplify font choices. 40 | % To experiment, open /Applications/Font Book to examine the fonts provided on Mac OS X, 41 | % and change "Hoefler Text" to any of these choices. 42 | 43 | \usepackage{fontspec,xltxtra,xunicode} 44 | \defaultfontfeatures{Mapping=tex-text} 45 | \setromanfont[Mapping=tex-text]{Hoefler Text} 46 | \setsansfont[Scale=MatchLowercase,Mapping=tex-text]{Gill Sans} 47 | \setmonofont[Scale=MatchLowercase]{Andale Mono} 48 | 49 | \begin{document} 50 | 51 | \begin{center} 52 | {\Large Trademark Licensing Agreement} 53 | \end{center} 54 | 55 | This Agreement, effective upon execution by each party, is entered into by \client, a corporation duly organized and existing in the State of North Carolina (``Yummy Delicious'') and Not So Fresh, Inc., located at 1000 Southwest Boulevard, Houston, Texas 76543. (``Licensee'') 56 | 57 | WHEREAS \csn\ is the exclusive owner of the YUMMY DELICIOUS word mark as used in connection with stuff for making fruit drinks in International Classes 29, 30, and 32. 58 | 59 | WHEREAS Licensee desires a license to use \csn' trademark in connection with salad dressing in the United States of America. 60 | 61 | NOW THEREFORE, for and in consideration of the mutual covenants and undertakings set forth, and other good and valuable consideration, it is agreed as follows: 62 | 63 | \section{Definitions} 64 | 65 | \subsection{} The term ``Licensed Mark'' means \csn' YUMMY DELICIOUS word mark, Registration Number 1,234,567. 66 | 67 | \subsection{} The term ``Licensed Products'' means any products bearing the Licensed Mark or any packaging, advertising, or print materials bearing the Licensed Mark. 68 | 69 | \section{Grant of License} 70 | 71 | \subsection{} Subject to the terms of this Agreement and to the extent permitted by law, \csn\ grants Licensee a revocable, non-exclusive license, without the right to sublicense, to use the Licensed Mark in the United States of America. 72 | 73 | \subsection{} Licensee shall not assign or sublicense the rights granted under this license without the express written consent of \csn. 74 | 75 | \subsection{} Subject to the terms of this Agreement, Licensee has the right to authorize manufacturers to produce Licensed Products, provided that such authorization is limited to producing Licensed Products for Licensee only. Licensee shall be responsible for ensuring that any Licensed Products produced by the manufacturers and ay actions undertaken by the manufacturers satisfy all the requirements of this Agreement. Licensee assumes all responsibility for any actions undertaken by manufacturers relating to the use of the Licensed Marks and the manufacture, sale, or distribution of the Licensed Products. 76 | 77 | \section{Use of Licensed Mark} 78 | 79 | \subsection{} Licensee may use the Licensed Mark in connection with any Licensed Product so long as the typeface depicting the Licensed Mark does not exceed 50\% of the size of the typeface depicting the name of the Licensed Product. 80 | 81 | \subsection{} Licensee shall include the following statement on all Licensed Products: ``YUMMY DELICIOUS is a registered trademark of Yummy Delicious Foods, Inc.'' 82 | 83 | \subsection{} Licensee shall submit samples of Licensed Products and artwork and depictions of all proposed uses of the Licensed Mark to \csn\ at no cost for approval prior to any use, sale, or other distribution to the public. \csn\ shall review and approve or disapprove the depiction of the Licensed Mark in writing within 15 days of receipt, provided, however, that if \csn\ fails to approve or disapprove any proposed depiction of the Licensed Mark within that time period, then the proposed depiction shall be deemed disapproved. 84 | 85 | \subsection{} Licensee agrees that any proposed change by Licensee involving any alteration in the depiction of the Licensed Mark shall be submitted to \csn\ for approval. 86 | 87 | \subsection{} Licensee agrees that all Licensed Products manufactured and sold by it will be the same or substantially identical in appearance to the initial samples approved by \csn. Licensee shall maintain such reasonable manufacturing, servicing, and quality standards to insure that said Licensed Products are consistent with such initial samples. At the request of \csn, Licensee shall submit to \csn\ samples of the Licensed Products offered for sale by Licensee so that \csn\ may determine compliance with the terms of this Agreement. 88 | 89 | \subsection{} Licensee agrees that it will not state or imply that Licensee or Licensee's activities, other than those required by this Agreement, are supported, endorsed, or sponsored by \csn. 90 | 91 | \subsection{} Licensee agrees that it will not alter, modify, dilute, or otherwise misuse the Licensed Mark or bring them into disrepute. 92 | 93 | \subsection{} Licensee agrees not to use any other trademark, service mark, trade name, logo, symbol, or device in combination with any Licensed Mark without the prior written consent of \csn. 94 | 95 | \subsection{} Licensee recognizes the great value of the publicity and goodwill associated with the Licensed Mark and acknowledges that such goodwill belongs exclusively to \csn. Licensee acknowledges \csn' exclusive right, title, and interest in the Licensed Mark and will not in any manner represent that it has any ownership in the Licensed Mark. Licensee further agrees not to register or attempt to register, in any jurisdiction, the Licensed Mark. 96 | 97 | \section{Royalties} 98 | 99 | \subsection{} As consideration for this license, Licensee agrees to pay \csn\ a royalty of one percent (1\%) of gross revenues of all Licensed Products sold. Licensed Products shall be deemed to have been sold when invoiced or, if not invoiced, then when they are paid for or when title passes to buyer, whichever is first. This royalty is payable by Licensee even if it does not charge the buyer for the Licensed Products and shall be based on the usual sales price charged to other buyers in the same or similar location. 100 | 101 | \subsection{} All royalties shall be paid quarterly within 30 days following the end of each calendar quarter. 102 | 103 | \subsection{} In the event of default in payment of any royalties due \csn\ under this Agreement, and if it becomes necessary for \csn\ to undertake legal action to collect such royalties, Licensee shall pay for all reasonable legal fees and costs incurred by \csn\ provided that the legal action undertaken by \csn\ results in a determination that Licensee owed \csn\ royalties under the terms of this Agreement. 104 | 105 | \subsection{} On or before the last day of April, July, October, and January of each year, Licensee shall furnish \csn\ with a statement reporting gross revenues of Licensed Products bearing the Licensed Mark for the preceding quarter, with a calculation of royalties owed for those sales. 106 | 107 | \section{Indemnification} 108 | 109 | \subsection{} \csn\ assumes no liability to Licensee or third parties with respect to the performance characteristics of the Licensed Products manufactured or sold by Licensee. Licensee agrees to indemnify or hold harmless \csn, its officers, employees, and agents from any and all claims, demands, actions, causes of action, suits, damages, liabilities, and costs and expenses of every nature, including attorneys' fees, relating to or arising out of the manufacture or sale or use of the Licensed Products or from the use of the Licensed Mark on such products. This indemnification shall include, but is not limited to, any and all claims or suits for which either party is alleged or found to have been wholly or partially negligent. 110 | 111 | \section{Term of Agreement} 112 | 113 | \subsection{} This Agreement shall be perpetual except that either party may terminate the Agreement without cause on 60 calendar days' written notice to the terminated party. 114 | 115 | \subsection{} Should Licensee fail to comply with any provision of this Agreement, \csn\ may terminate this Agreement on 30 calendar days' written notice. Upon receipt of a termination notice for failure to comply, Licensee may offer to cure such default within the 30 day notice period. \csn, in its sole discretion, may accept the offer to cure or reject the offer and terminate this Agreement. 116 | 117 | \subsection{} Upon the termination of this Agreement by either party, all rights granted to Licensee shall revert to \csn, and Licensee shall make no claims as to such rights. 118 | 119 | \subsection{} Upon termination of this Agreement, Licensee agrees to immediately discontinue the use of the Licensed Mark. Licensee shall have the right to dispose of its stock of all Licensed Products bearing the Licensed Mark within 3 months of termination. After the 3 month disposal period, Licensee agrees to destroy all unsold Licensed Products bearing the Licensed Mark. Licensee's right to dispose of its stock after termination is subject to the condition that within 30 calendar days after termination, Licensee pays to \csn\ all royalties accrued to the time of termination, delivers to \csn\ a report of sales up to the time of termination, and provides \csn\ with an inventory of unsold Licensed Products bearing the Licensed Mark. 120 | 121 | \section{Remedies} 122 | 123 | Licensee acknowledges that its breach of this Agreement will result in immediate and irreparable damage to \csn\ and that money damages alone would be insufficient to compensate \csn. Therefore, in the event of breach or threatened breach of this Agreement by Licensee, \csn\ may, in addition to all other remedies, immediately obtain and enforce injunctive relief prohibiting breach or compelling specific performance. 124 | 125 | \section{Severability} 126 | 127 | Should any provision of this Agreement be held unenforceable or in conflict with the law of any jurisdiction, then the validity of the remaining provisions shall not be affected. 128 | 129 | \section{Modifications} 130 | 131 | All modifications to this Agreement must be effected by means of a written document signed by both parties. 132 | 133 | \section{Assignability} 134 | 135 | This Agreement shall inure to the benefit of \csn, its successors and assigns, but shall be personal to Licensee and shall be assignable to Licensee only with the proper written consent of \csn. 136 | 137 | \section{Governing Law} 138 | 139 | This Agreement shall be governed and construed under the laws of the State of North Carolina. In the event that either party desires to enforce any part of this Agreement, the parties consent to jurisdiction in the United States District Court for the Middle District of North Carolina. 140 | 141 | \section{Notices and Payments} 142 | 143 | \subsection{} Any notice required by this Agreement shall be deemed to have been properly received when delivered in person or when mailed by first class mail to the addresses listed below. 144 | 145 | \vspace{1em} 146 | \begin{center} 147 | \begin{tabular}{l l} 148 | 149 | To \csn: & To Licensee:\\ 150 | \client & Not So Fresh, Inc.\\ 151 | 1234 Main Street & 1000 Southwest Boulevard\\ 152 | Charlotte, North Carolina 28202 & Houston, Texas 76543\\ 153 | 154 | \end{tabular} 155 | \end{center} 156 | \vspace{1em} 157 | 158 | \subsection{} All payments shall be made payable to Yummy Delicious Foods, Inc. 159 | 160 | \section{Entire Agreement} 161 | 162 | This Agreement contains the entire agreement between the parties and supersedes all other statements and representations pertaining to the subject matter. 163 | 164 | \begin{center} 165 | \begin{tabular}{l l} 166 | 167 | \client & Not So Fresh, Inc.\\ 168 | \\ 169 | By: \line(1,0){201} & By: \line(1,0){201}\\ 170 | Printed Name: \line(1,0){150} & Printed Name: \line(1,0){150}\\ 171 | Its: \line(1,0){201} & Its: \line(1,0){201}\\ 172 | Date: \line(1,0){190} & Date: \line(1,0){190} 173 | 174 | \end{tabular} 175 | \end{center} 176 | 177 | \end{document} --------------------------------------------------------------------------------