% TikZRefinery Senior Design core report. \documentclass[12pt]{cornell} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{xcolor} \usepackage{graphicx} \usepackage{fancyhdr} \usepackage{amsmath,amssymb} \usepackage{array} \usepackage{booktabs} \usepackage{longtable} \usepackage{tabularx} \usepackage{ltablex} \keepXColumns \usepackage{enumitem} \usepackage{etoolbox} \usepackage{pdflscape} \usepackage{tikz} \usetikzlibrary{shapes.geometric,shapes.multipart,arrows.meta,positioning,calc} \usepackage{makeidx} \usepackage[colorlinks=true,citecolor=blue,linkcolor=blue,urlcolor=blue]{hyperref} \usepackage[acronym,toc]{glossaries} \makenoidxglossaries \makeindex \input{tkrGlossary.tex} % A small shipout map lets the diagram index locate physical PDF pages without % rendering or extracting PDF text. The build combines it with stable labels. \newwrite\tkrDiagramPages \AtBeginDocument{\immediate\openout\tkrDiagramPages=\jobname.dpages} \AddToHook{shipout/after}{\immediate\write\tkrDiagramPages{\thepage|\the\ReadonlyShipoutCounter}} \AddToHook{enddocument/afterlastpage}{\immediate\closeout\tkrDiagramPages} % Adapt the existing generated glossary to Week 6's required table format. % Fixed paragraph columns let long terms and page lists wrap within the margin. \newglossarystyle{tkrGlossaryTable}{% \setglossarystyle{long3colheader}% \renewenvironment{theglossary}{% \begin{longtable}{@{}L{0.22\linewidth}L{0.55\linewidth}L{0.15\linewidth}@{}}% }{\end{longtable}}% \renewcommand*{\glossaryheader}{% \toprule\textbf{Term} & \textbf{Definition} & \textbf{Pages}\\ \midrule\endhead\bottomrule\endfoot}% \renewcommand*{\glsgroupskip}{}% } % The submission wrapper defines this before loading the shared report source. \newif\ifSubmissionBuild \ifdefined\TikZSubmissionEdition\SubmissionBuildtrue\fi \newcommand{\ProjectName}{TikZRefinery} \newcommand{\DocumentVersion}{0.1.4-alpha} \ifSubmissionBuild \newcommand{\DocumentStatus}{Alpha Project Specification --- Submission Copy} \else \newcommand{\DocumentStatus}{Alpha Project Specification --- Developer's Edition} \fi \newcommand{\DocumentOwner}{Vincent Sun} \newcommand{\Organization}{Stevens Institute of Technology} \newcommand{\DocumentDate}{November 24, 2026} \newcommand{\VERSION}{Version \DocumentVersion} \hypersetup{ pdftitle={TikZRefinery - Senior Design Core Report}, pdfauthor={Vincent Sun}, pdfcreator={Vincent Sun}, pdfsubject={Senior Design (423-IDE401 / 424-IDE402) core report}, pdfkeywords={TikZRefinery, TikZ, LaTeX, graphical editor, senior design} } \definecolor{tkrBlue}{RGB}{31,78,121} \definecolor{tkrGreen}{RGB}{46,125,50} \definecolor{tkrGray}{RGB}{90,90,90} \newcolumntype{Y}{>{\raggedright\arraybackslash}X} \newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}} \setlength{\tabcolsep}{4pt} \renewcommand{\arraystretch}{1.12} \newcommand{\ChapterLabel}[1]{\label{Chapter:#1}} \newcommand{\ChapterRef}[1]{\hyperref[Chapter:#1]{Chapter~\ref*{Chapter:#1}}} \newcommand{\AppendixRef}[1]{% \ifSubmissionBuild \ifstrequal{#1}{AIAgentRequirements}{internal AI records}{% \ifstrequal{#1}{AIAgentGuide}{internal AI records}{% \ifstrequal{#1}{AIPromptLog}{internal AI records}{% \hyperref[Chapter:#1]{Appendix~\ref*{Chapter:#1}}}}}% \else \hyperref[Chapter:#1]{Appendix~\ref*{Chapter:#1}}% \fi} \newcommand{\ArtifactLabel}[2]{\phantomsection\label{#1:#2}} \newcommand{\ArtifactID}[2]{\texttt{#2}\ArtifactLabel{#1}{#2}} \newcommand{\ArtifactRef}[2]{\hyperref[#1:#2]{\texttt{#2}}} \newcommand{\ReportRequirementID}[1]{\ArtifactID{ReportRequirement}{#1}} \newcommand{\ReportRequirementRef}[1]{\ArtifactRef{ReportRequirement}{#1}} \newcommand{\AIRequirementID}[1]{\ArtifactID{AIRequirement}{#1}} \newcommand{\AIRequirementRef}[1]{\ArtifactRef{AIRequirement}{#1}} \newcommand{\RequirementID}[1]{\ArtifactID{Requirement}{#1}} \newcommand{\RequirementRef}[1]{\ArtifactRef{Requirement}{#1}} \newcommand{\UserStoryID}[1]{\ArtifactID{UserStory}{#1}} \newcommand{\UserStoryRef}[1]{\ArtifactRef{UserStory}{#1}} \newcommand{\UseCaseID}[1]{\ArtifactID{UseCase}{#1}} \newcommand{\UseCaseRef}[1]{\ArtifactRef{UseCase}{#1}} \newcommand{\TestCaseID}[1]{\ArtifactID{TestCase}{#1}} \newcommand{\TestCaseRef}[1]{\ArtifactRef{TestCase}{#1}} \newcommand{\VerificationID}[1]{\ArtifactID{Verification}{#1}} \newcommand{\VerificationRef}[1]{\ArtifactRef{Verification}{#1}} \newcommand{\ValidationID}[1]{\ArtifactID{Validation}{#1}} \newcommand{\ValidationRef}[1]{\ArtifactRef{Validation}{#1}} \newcommand{\ReqStatusOpen}{\textbf{\textcolor{tkrGray}{Open}}} \newcommand{\ReqStatusInProgress}{\textbf{\textcolor{tkrBlue}{In Progress}}} \newcommand{\ReqStatusDone}{\textbf{\textcolor{tkrGreen}{Done}}} \newcommand{\ReqStatusRetired}{\textbf{\textcolor{tkrGray}{Retired}}} \newcommand{\NoVersion}{\ensuremath{\varnothing}} \changenormalspacing{\singlespacing} \begin{document} \pagenumbering{roman} \singlespacing \include{tkrPrologue} \setcounter{page}{1} \pagenumbering{arabic} \pagestyle{fancy} \fancyhf{} \renewcommand{\chaptermark}[1]{\markboth{#1}{}} \lhead{\small \thechapter} \chead{\small\nouppercase{\leftmark}} \rhead{\small\thepage} \lfoot{\small\ProjectName} \cfoot{\small\copyright\ \Organization} \rfoot{\small\VERSION} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt} \include{tkrIntroduction} \include{tkrTeamDeclaration} \include{tkrDevelopmentPlan} \include{tkrUserStories} \include{tkrRequirements} \include{tkrUseCases} \include{tkrSoftwareArchitecture} \include{tkrOpenDesignDecisions} \include{tkrCodesStandards} \include{tkrTests} \include{tkrTraceability} \include{tkrVerification} \include{tkrValidation} % Additional report chapters will be included after they are developed and % reviewed for TikZRefinery. \appendix \include{tkrDocumentHistory} \include{tkrWeeklyReports} \include{tkrReportRoadmap} \include{tkrDesignDocuments} \ifSubmissionBuild\else \include{tkrAIAgentRequirements} \include{tkrAIAgentGuide} \input{tkrAIPromptLog.tex} \fi \clearpage \bibliographystyle{plain} \bibliography{tkrReferences} \begingroup \makeatletter \@openrightfalse \makeatother \lhead{} \glsaddall \phantomsection\label{BackMatter:Glossary} \setglossarystyle{tkrGlossaryTable} \printnoidxglossaries \endgroup \clearpage \printindex \end{document}