Skip to content
Snippets Groups Projects
Commit 3578010c authored by Uwe Aßmann's avatar Uwe Aßmann
Browse files

new files

parent da3ec918
Branches
Tags
No related merge requests found
gittest @ 787ba177
Subproject commit 787ba177063c00868c9cb6e576d66d182a85590b
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This latex package defines macros for adding meta-information to the
% beginning, end, and middle of paragraphs.
% All macros are conditionally compiled and can only be seen if \showIdeas has been invoked.
% There are the following types of remarks:
% - genericMark: adds a margin note with a small text marker.
% - genericMarkQ: adds a margin note with a small text marker question.
% - genericRef:
% - genericText: This is text either on a margin, a footnote or inline.
% -- genericCommentItem: This text may be completely compiled away (a comment).
% -- genericCommandItem: This text is inline in its final form, butmay also be a marginnote or a footnote.
% -- generic
%
% Author: Uwe Assmann
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ProvidesPackage{idea4par}[2024/08/28 v0.17 distinguishing different types of remarks]
%\ProvidesPackage{idea4par}[2024/08/10 v0.16 distinguishing different types of remarks]
%\ProvidesPackage{idea4par}[2024/07/11 v0.15 version for CLIC paper]
%\ProvidesPackage{idea4par}[2024/01/17 v0.12 varyenumerate split off to separate style varyenumitem.sty]
%\ProvidesPackage{idea4par}[2022/12/23 v0.11 refactored big definitions to using small kernels]
\ProvidesFile{idea4par.sty}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Variables
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newif\ifIDEA\IDEAtrue % put ideas in the text, otherwise swallow them
\newif\ifIComments\ICommentstrue % put comments in the text, otherwise swallow them
\newif\ifMarginMode\MarginModetrue % put ideas on margin instead of inline
\newif\ifFootnoteMode\FootnoteModefalse % put ideas on footnotes instead of inline
\newif\ifTextFinal\TextFinalfalse
\newif\ifTalkFormat\TalkFormatfalse
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Option Processing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% font size options
\def\ideaparsize{\footnotesize}
\DeclareOption{tiny}{\def\ideaparsize{\footnotesize}}
\DeclareOption{normalsize}{\def\ideaparsize{\normalsize}}
\DeclareOption{extract}{
%\RequirePackage[active,generate=file,extract-cmd={section,subsection,subsubsection} , extract-cmdline={thesisStatement,commentThesisQuestion,cmdMessage}]{extract}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Shall varyenumerate environment be used inline or as separate items?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Option processing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareOption{showIdeas}{\IDEAtrue}
\DeclareOption{hidIdeas}{\IDEAfalse}
\DeclareOption{on}{\IDEAtrue}
\DeclareOption{off}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Set the standard lists to small format, using paralist.sty.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareOption{shortlists}{
\let\enumerate\compactenum
\let\endenumerate\endlist
\let\itemize\compactitem
\let\enditemize\endlist
\let\description\compactdesc
\let\enddescription\endlist
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ProcessOptions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Imports
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{etoolbox}
\RequirePackage{color}
%\RequirePackage{xcolor}
\RequirePackage{latexcolors}
\RequirePackage{xspace}
\RequirePackage{soul}
\sethlcolor{yellow}
\RequirePackage{ifdraft} % for draft-IF
\RequirePackage{marginnote} % for marginnote
\RequirePackage{todonotes}
%\usepackage[svgnames]{xcolor}
% there is an option clash with Lyx-generated files...
%\usepackage[x11names]{xcolor}
%\usepackage[dvipsnames]{xcolor}
%%% definition of parameters
\def\conclusionFont#1{#1}
\def\thesisColorName{red}
\def\thesisColor{\color{\thesisColorName}}
\def\objectiveColorName{blue}
\def\objectiveColor{\color{\objectiveColorName}}
\def\problemColorName{pumpkin}
\def\problemcolor{\color{\problemColorName}}
\def\solutionColorName{palatinateblue}
\def\solutioncolor{\color{\solutionColorName}}
\def\conclusionColorName{magenta}
\def\conclusioncolor{\color{\conclusionColorName}}
\def\itemcolor{\color{teal}}
\def\devschemecolor{\color{gamboge}}
%\def\itemmarker{$\pi$}
\def\itemmarker{$\bullet$}
\def\itemAleft{$\blacktriangleleft$}
\def\itemAright{$\blacktriangleright$}
%\def\itemmarker{$\clubsuit$}
% the paralist package defines various interesting inline environments
%\RequirePackage[defblank]{paralist}
% paralist can now be included as layout in LyX, so that the defblank-extensions
% must be added here; otherwise there is an option clash
\RequirePackage{paralist}
% additions to paralist.sty, from paralist.sty
\def\asparablank{%
\list{}{%
\labelwidth\z@
\labelsep\z@
\leftmargin\z@
\parsep\parskip
\itemsep\z@
\topsep\z@
\partopsep\parskip
\itemindent\parindent
\advance\itemindent\labelsep
\def\makelabel##1{##1}}}
\let\endasparablank\endlist
% in a paragraph - without numeration
\def\inparablank{%
\let\@itemlabel\@empty
\let\@item\pl@item
\ignorespaces}
\let\endinparablank\ignorespacesafterend
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Commands required for option processing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% switch on the meta/idea statements before the paragraphs
\newcommand{\showIdeas}{\IDEAtrue}
\newcommand{\hideIdeas}{\IDEAfalse}
\newcommand{\showIdeaComments}{\ICommentstrue}
\newcommand{\hideIdeaComments}{\ICommentsfalse}
% Margin and Footnote Mode are exclusive
\newcommand{\ideaMarginMode}{\MarginModetrue\FootnoteModefalse}
\newcommand{\ideaFootnoteMode}{\FootnoteModetrue\MarginModefalse}
\newcommand{\ideaInlineMode}{\FootnoteModefalse\MarginModefalse}
\newcommand{\ideaNormalMode}{\ideaInlineMode}
\newcommand{\ideaparDraftMode}{\IDEAtrue\PARALISTNUMBERINGtrue\MarginModetrue}
% final modes
\newcommand{\ideaparFinalMode}{\IDEAfalse}
\newcommand{\hideHints}{\IDEAfalse}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Special fonts
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{ifxetex}
\ifxetex
%\newfontfamily\ufont{Helvetia Verbundene}
%\newfontfamily\ufont{Gabriela}
%\newfontfamily\ufont{Courgette}
%\newfontfamily\ufont{Bradley Hand}
%\newfontfamily\ufont{Binz}
%\newfontfamily\ufont{Comic Jens}
%\newfontfamily\ufont{Merienda}
\newfontfamily\ufont{ABeeZee}
%\newfontfamily\ufont{Handlee}
%\RequirePackage{comicneue} % for font comicneue
%\def\specialFontA#1{\ufont{#1}}
%\def\specialFontB#1{\comicneue{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% wrap quote with specialFontB
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\AtBeginEnvironment{quote}{\ufont}
%\AtEndEnvironment{quote}{\normalfont}
%\else
%\def\specialFontA#1{\textit{#1}}
%\def\specialFontB#1{\textit{#1}}
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Helper functions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\shortTextMark#1{\textcolor{#1}{·}}
\def\tinympar#1{\marginpar{\tiny{#1}}}
\def\smallmpar#1{\marginpar{\small{#1}}}%
\def\smallmparii#1#2{\marginpar{\small\textcolor{#1}{#2}}}%
\def\smallmpariii#1#2#3{\marginpar{\small\textcolor{#1}{(#2)} #3}}%
% authoring
\def\authormark#1{\tinympar{author: #1}}
% Thesis questions for a paragraph
% (color, text)
\def\mparquestion#2{\tinympar{\textcolor{#1}{#2}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% COMMENT parPut: vanish if NOT IDEA
% parPut(color, keyword, text)
% OnIDEA put a text in color on the margin, or in a footnote, or inline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\parPut}[3]{%
\ifIDEA
\ifMarginMode
\genericMark{#1}{#2}{#3}%
\else
\ifFootnoteMode
\footnote{\textcolor{#1}{·#2: #3}}%
\else % normal inline mode
\\
\textcolor{#1}{·#2: #3}%
\fi
\fi
\fi
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% COMMENT Comments: vanish if NOT IDEA
% NONE if NOT IDEA
% genericCommentItem(color, keyword, text)
% OnIDEA, put a text as question in color on the margin, or in a footnote, or
% fat inline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\genericCommentItem}[4]{
%\ifIComments
\ifIDEA
\ifMarginMode
\genericMark{#1}{#2}{#3}
\else
\ifFootnoteMode
\footnote{\textcolor{#1}{#2 #3: #4}}
\else % normal inline mode
\genericMark{#1}{#2}{#3}
\ideaparsize\textcolor{#1}{#2 #4}\normalsize
\fi
\fi
% \fi
\fi
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Insets in paragraphs
% NORMAL layout if NOT IDEA mode
% genericCommandItem(colorName, shortMarker, keyword, text)
% OnIDEA, put a text as question in color on the margin, or in a footnote, or
% fat inline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\genericCommandItem}[4]{%
\ifIDEA
\ifMarginMode
\genericMark{#1}{#2}{#3}
\else
\ifFootnoteMode
\footnote{\textcolor{#1}{#2 #3: #4}}
\else % normal inline mode
\genericMark{#1}{#2}{#3}
\ideaparsize\textcolor{#1}{#2 #4}\normalsize
\fi
\fi
\else% otherwise only text
#4
\fi
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% MARGINNOTES: Insets in margin
% genericMark(colorName, keyword, text)
% OnIDEA, put a text as question in color on the margin, or in a footnote, or
% fat inline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\genericMarkQ}[3]{%
\ifIDEA
\shortTextMark{#1}
\mparquestion{\textcolor{#1}{#2~#3}}
\fi
}
% genericMark(colorName, keyword, text)
\newcommand{\genericMark}[3]{%
\ifIDEA
\shortTextMark{#1}%
\smallmpariii{#1}{(#2)}{#3}%
\fi
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% NORMAL Commands: inline texts, semantically marked up (inset-charstyles)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\genericRef}[3]{%
\ifIDEA
\underbar{\textcolor{#1}{#2: #3}}%
\else
#3%
\fi
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% NORMAL Commands: print normal if NOT IDEA
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\cmdThesisQuestion}[1]{\genericCommandItem{\thesisColorName}{$\Xi$}{Thesis Question}{#1}}
\newcommand{\cmdThesisStatement}[1]{\genericCommandItem{\thesisColorName}{$\Xi$}{Thesis Statement}{$\lhook$#1$\rhook$}}
\newcommand{\cmdControllingIdea}[1]{\genericCommandItem{\thesisColorName}{$\Xi$}{ControllingIdea}{\textcolor{\thesisColorName}{$\lhook$#1$\rhook$}}}
\newcommand{\cmdDevelopmentScheme}[1]{\genericCommandItem{\thesisColorName}{$\Xi$}{DevScheme}{\textcolor{\thesisColorName}{$\Delta$ #1$\Delta$}}}
\newcommand{\cmdParagraphState}[1]{\genericCommandItem{\thesisColorName}{$\Xi$}{ParState}{\textcolor{\thesisColorName}{$\lhook$ #1$\rhook$}}}
\newcommand{\cmdPivot}[1]{\genericCommandItem{\conclusionColorName}{$\Pi$}{Pivot}{\textcolor{\thesisColorName}{$\Pi$ #1$\Pi$}}}
\newcommand{\cmdConclusion}[1]{\genericCommandItem{\thesisColorName}{$\Sigma$}{Conclusion}{\textcolor{\thesisColorName}{$\Sigma$ #1$\Sigma$}}}
\newcommand{\cmdMessage}[1]{\genericCommandItem{\conclusionColorName}{$\sharp$}{Message}{$\lhook$ #1$\rhook$}}
\newcommand{\cmdMajorTransition}[1]{\genericCommandItem{\conclusionColorName}{$\clubsuit$}{Message}{\textcolor{\thesisColorName}{$\clubsuit$ #1$\clubsuit$}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% NORMAL Commands: generic refs
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\refSubject}[1]{\genericRef{black}{refSubj}{#1}}
\newcommand{\refThesis}[1]{\genericRef{{\thesisColorName}{refThesis}{#1}}}
\newcommand{\refLink}[1]{\genericRef{{cyan}{refLink}{#1}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% COMMENTS if NOT IDEA
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\commentThesisQuestion}[1]{\genericCommentItem{\thesisColorName}{$\Xi$}{cmtThesis Question}{#1}}
\newcommand{\commentThesisStatement}[1]{\genericCommentItem{\thesisColorName}{$\Xi$}{cmtThesis}{\textcolor{\thesisColorName}{$\lhook$#1$\rhook$}}}
\newcommand{\commentControllingIdea}[1]{\genericCommentItem{\thesisColorName}{$\Xi$}{cmtConIdea}{\textcolor{\thesisColorName}{$\clubsuit$ #1$\clubsuit$}}}
\newcommand{\commentDevelopmentScheme}[1]{\genericCommentItem{\thesisColorName}{$\Xi$}{cmtDevScheme}{\textcolor{\thesisColorName}{$\Delta$ #1$\Delta$}}}
\newcommand{\commentParagraphState}[1]{\genericCommentItem{\thesisColorName}{$\Xi$}{cmtParState}{\textcolor{\thesisColorName}{$\lhook$ #1$\rhook$}}}
\newcommand{\commentPivot}[1]{\genericCommentItem{\conclusionColorName}{$\Pi$}{cmtPivot}{\textcolor{\thesisColorName}{$\Pi$ #1$\Pi$}}}
\newcommand{\cmtThesisQuestion}[1]{\genericCommentItem{\thesisColorName}{$\Xi$}{cmtThesis Question}{#1}}
\newcommand{\cmtThesisStatement}[1]{\genericCommentItem{\thesisColorName}{$\Xi$}{cmtThesis}{\textcolor{\thesisColorName}{$\lhook$#1$\rhook$}}}
\newcommand{\cmtControllingIdea}[1]{\genericCommentItem{\thesisColorName}{$\Xi$}{cmtConIdea}{\textcolor{\thesisColorName}{$\clubsuit$ #1$\clubsuit$}}}
\newcommand{\cmtDevelopmentScheme}[1]{\genericCommentItem{\thesisColorName}{$\Xi$}{cmtDevScheme}{\textcolor{\thesisColorName}{$\Delta$ #1$\Delta$}}}
\newcommand{\cmtParagraphState}[1]{\genericCommentItem{\thesisColorName}{$\Xi$}{cmtParState}{\textcolor{\thesisColorName}{$\lhook$ #1$\rhook$}}}
\newcommand{\cmtPivot}[1]{\genericCommentItem{\conclusionColorName}{$\Pi$}{cmtPivot}{\textcolor{\thesisColorName}{$\lhook$#1$\rhook$}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% paragraph insets
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\parPearl}[1]{\parPut{green}{Pearl: }{#1}}
\newcommand{\parPoint}[1]{\parPut{cyan}{Point: }{#1}}
\newcommand{\parSubject}[1]{\parPut{blue}{Subject}{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% macros with fixed text
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% abstract scheme POSE, aka ZOPP
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\parObjective}{\parPut{blue}{Objective}{}}
\newcommand{\parObjectivei}[1]{\parPut{blue}{Objective}{#1}}
\newcommand{\parSuccessCriterion}{\parPut{orange}{SuccessCriterion}{}}
\newcommand{\parSuccessCriterioni}[1]{\parPut{orange}{SuccessCriterion}{#1}}
\newcommand{\parMetrics}{\parPut{orange}{Metrics}{}}
\newcommand{\parMetricsi}[1]{\parPut{orange}{Metrics}{#1}}
\newcommand{\parEvaluation}{\parPut{\conclusionColorName}{Evaluation}{}}
\newcommand{\parEvaluationi}[1]{\parPut{\conclusionColorName}{Evaluation}{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% abstract scheme MoPARC of Koopmans
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\parMotivation}{\parPut{cyan}{Motivation}{}}
\newcommand{\parMotivationi}[1]{\parPut{cyan}{Motivation}{#1}}
\newcommand{\parProblem}{\parPut{\thesisColorName}{Problem}{}}
\newcommand{\parProblemi}[1]{\parPut{\thesisColorName}{Problem}{#1}}
\newcommand{\parKnowledgeGap}{\parPut{pink}{Knowledge Gap}{}}
\newcommand{\parKnowledgeGapi}[1]{\parPut{pink}{Knowledge Gap}{#1}}
\newcommand{\parLiteratureLimit}{\parPut{pink}{Literature Limit}{}}
\newcommand{\parLiteratureLimiti}[1]{\parPut{pink}{Literature Limit}{#1}}
\newcommand{\parBackground}{\parPut{pink}{Background}{}}
\newcommand{\parBackgroundi}[1]{\parPut{pink}{Background}{#1}}
\newcommand{\parSolution}{\parPut{blue}{Solution}{}}
\newcommand{\parSolutioni}[1]{\parPut{blue}{Solution}{#1}}
\newcommand{\parApproach}{\parPut{blue}{Approach}{}}
\newcommand{\parApproachi}[1]{\parPut{blue}{Approach}{#1}}
\newcommand{\parContribution}{\parPut{\conclusionColorName}{Contribution}{}}
\newcommand{\parContributioni}[1]{\parPut{pink}{Contribution}{#1}}
\newcommand{\parResults}{\parPut{\conclusionColorName}{Results}{}}
\newcommand{\parResultsi}[1]{\parPut{\conclusionColorName}{Results}{#1}}
\newcommand{\parConclusion}{\parPut{\conclusionColorName}{Conclusion}{}}
\newcommand{\parConclusioni}[1]{\parPut{\conclusionColorName}{Conclusion}{#1}}
\newcommand{\markContribution}[1]{\genericMark{\conclusionColorName}{$\Sigma$ Contribution}{#1}}
\newcommand{\markMessage}[1]{\genericMark{\conclusionColorName}{$\Sigma$ Message}{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% abbreviations, for backward compatibility
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\idea}[1]{\cmdControllingIdea{#1}}
\newcommand{\connector}[1]{\cmdMajorTransition{#1}}%%
\newcommand{\topic}[1]{\cmdControllingIdea{#1}}%
\newcommand{\purpose}[1]{\cmdControllingIdea{#1}}%%
\newcommand{\thesisQuestion}[1]{\cmdThesisQuestion{#1}}
\newcommand{\thesisquestion}[1]{\commentThesisQuestion{#1?}}
\newcommand{\thesisStatement}[1]{\cmdThesisStatement{#1}}
\newcommand{\messageStatement}[1]{\cmdMessage{#1}}
\newcommand{\controllingIdea}[1]{\cmdControllingIdea{#1}}
\newcommand{\topicIdea}[2]{\cmdTopicIdea{#1}{#2}}
\newcommand{\topicAll}[3]{\cmdTopicAll{#1}{#2}{#3}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% From: https://tex.stackexchange.com/users/29697/p%c3%a5l-gd
% wrap a todo macro with additional functionality
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\newcounter{todofootnote}
\renewcommand{\@todo}[2][]{%
\if@todonotes@prependcaptionglobal%
\@todonotes@prependcaptiontrue%
\else%
\@todonotes@prependcaptionfalse%
\fi%
\renewcommand{\@todonotes@text}{#2}%
\renewcommand{\@todonotes@caption}{#2}%
\setkeys{todonotes}{#1}%
\if@todonotes@localdisable%
\else%
\addtocounter{@todonotes@numberoftodonotes}{1}%
\if@todonotes@appendtolistoftodos%
\phantomsection%
\if@todonotes@captiongiven%
\else%
\renewcommand{\@todonotes@caption}{#2}%
\fi%
\@todonotes@addElementToListOfTodos%
\fi%
% Prepend the short caption given if it is requested
\if@todonotes@captiongiven%
\if@todonotes@prependcaption%
\renewcommand{\@todonotes@text}{\@todonotes@caption: #2}%
\fi%
\fi%
% Place the todonote as indicated by the options (inline or in a
% marginpar), below is the code for the inline placement.
% was: \@todonotes@drawMarginNoteWithLine%
\let\oldthefootnote\thefootnote%
\renewcommand{\thefootnote}{\textcolor{red}{\textbf\roman{footnote}}}%
\footnote[\value{@todonotes@numberoftodonotes}]{\textcolor{red}{TODO:} #2}%
\let\thefootnote\oldthefootnote%
\fi%
}%
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This latex package defines macros for adding meta-information to the
% beginning, end, and middle of paragraphs.
% All macros are conditionally compiled and can only be seen if
% \showIdeas
% has been invoked.
% There are the following types of remarks:
% - genericMark: adds a margin note with a small text marker.
% - genericMarkQ: adds a margin note with a small text marker question.
% - genericRef:
% - genericText: This is text either on a margin, a footnote or inline.
% -- genericCommentItem: This text may be completely compiled away (a
% comment).
% -- genericCommandItem: This text is inline in its final form, butmay also be a marginnote or a footnote.
% -- generic
%
% Author: Uwe Assmann
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ProvidesPackage{idea4par}[2024/08/10 v0.16 distinguishing different types of remarks]
%\ProvidesPackage{idea4par}[2024/07/11 v0.15 version for CLIC paper]
%\ProvidesPackage{idea4par}[2024/01/17 v0.12 varyenumerate split off to separate style varyenumitem.sty]
%\ProvidesPackage{idea4par}[2022/12/23 v0.11 refactored big definitions to using small kernels]
\ProvidesFile{idea4par.sty}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Variables
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newif\ifIDEA\IDEAtrue % put ideas in the text, otherwise swallow them
\newif\ifIDEAComments\IDEACommentstrue % put comments in the text, otherwise swallow them
\newif\ifMarginMode\MarginModetrue % put ideas on margin instead of inline
\newif\ifFootnoteMode\FootnoteModefalse % put ideas on footnotes instead of inline
\newif\ifTextFinal\TextFinalfalse
\newif\ifTalkFormat\TalkFormatfalse
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Option Processing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% font size options
\def\ideaparsize{\footnotesize}
\DeclareOption{tiny}{\def\ideaparsize{\footnotesize}}
\DeclareOption{normalsize}{\def\ideaparsize{\normalsize}}
\DeclareOption{extract}{
%\RequirePackage[active,generate=file,extract-cmd={section,subsection,subsubsection} , extract-cmdline={thesisStatement,commentThesisQuestion,cmdMessage}]{extract}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Shall varyenumerate environment be used inline or as separate items?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Option processing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareOption{showIdeas}{\IDEAtrue}
\DeclareOption{hidIdeas}{\IDEAfalse}
\DeclareOption{on}{\IDEAtrue}
\DeclareOption{off}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Set the standard lists to small format, using paralist.sty.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareOption{shortlists}{
\let\enumerate\compactenum
\let\endenumerate\endlist
\let\itemize\compactitem
\let\enditemize\endlist
\let\description\compactdesc
\let\enddescription\endlist
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ProcessOptions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Imports
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{etoolbox}
\RequirePackage{color}
%\RequirePackage{xcolor}
\RequirePackage{latexcolors}
\RequirePackage{xspace}
\RequirePackage{soul}
\sethlcolor{yellow}
\RequirePackage{ifdraft} % for draft-IF
\RequirePackage{marginnote} % for marginnote
\RequirePackage{todonotes}
%\usepackage[svgnames]{xcolor}
% there is an option clash with Lyx-generated files...
%\usepackage[x11names]{xcolor}
%\usepackage[dvipsnames]{xcolor}
%%% definition of parameters
\def\conclusionFont#1{#1}
\def\thesisColorName{red}
\def\thesisColor{\color{red}}
\def\objectiveColorName{blue}
\def\itemcolor{\color{teal}}
\def\problemcolor{\color{pumpkin}}
\def\devschemecolor{\color{gamboge}}
\def\solutioncolor{\color{palatinateblue}}
\def\conclusionColorName{magenta}
%\def\itemmarker{$\pi$}
\def\itemmarker{$\bullet$}
\def\itemAleft{$\blacktriangleleft$}
\def\itemAright{$\blacktriangleright$}
%\def\itemmarker{$\clubsuit$}
% the paralist package defines various interesting inline environments
%\RequirePackage[defblank]{paralist}
% paralist can now be included as layout in LyX, so that the defblank-extensions
% must be added here; otherwise there is an option clash
\RequirePackage{paralist}
% additions to paralist.sty, from paralist.sty
\def\asparablank{%
\list{}{%
\labelwidth\z@
\labelsep\z@
\leftmargin\z@
\parsep\parskip
\itemsep\z@
\topsep\z@
\partopsep\parskip
\itemindent\parindent
\advance\itemindent\labelsep
\def\makelabel##1{##1}}}
\let\endasparablank\endlist
% in a paragraph - without numeration
\def\inparablank{%
\let\@itemlabel\@empty
\let\@item\pl@item
\ignorespaces}
\let\endinparablank\ignorespacesafterend
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Commands required for option processing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% switch on the meta/idea statements before the paragraphs
\newcommand{\showIdeas}{\IDEAtrue}
\newcommand{\hideIdeas}{\IDEAfalse}
\newcommand{\showIdeaComments}{\IDEACommentstrue}
\newcommand{\hideIdeaComments}{\IDEACommentsfalse}
% Margin and Footnote Mode are exclusive
\newcommand{\ideaMarginMode}{\MarginModetrue\FootnoteModefalse}
\newcommand{\ideaFootnoteMode}{\FootnoteModetrue\MarginModefalse}
\newcommand{\ideaInlineMode}{\FootnoteModefalse\MarginModefalse}
\newcommand{\ideaNormalMode}{\ideaInlineMode}
\newcommand{\ideaparDraftMode}{\IDEAtrue\PARALISTNUMBERINGtrue\MarginModetrue}
% final modes
\newcommand{\ideaparFinalMode}{\IDEAfalse}
\newcommand{\hideHints}{\IDEAfalse}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Special fonts
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{ifxetex}
\ifxetex
%\newfontfamily\ufont{Helvetia Verbundene}
%\newfontfamily\ufont{Gabriela}
%\newfontfamily\ufont{Courgette}
%\newfontfamily\ufont{Bradley Hand}
%\newfontfamily\ufont{Binz}
%\newfontfamily\ufont{Comic Jens}
%\newfontfamily\ufont{Merienda}
\newfontfamily\ufont{ABeeZee}
%\newfontfamily\ufont{Handlee}
%\RequirePackage{comicneue} % for font comicneue
%\def\specialFontA#1{\ufont{#1}}
%\def\specialFontB#1{\comicneue{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% wrap quote with specialFontB
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\AtBeginEnvironment{quote}{\ufont}
%\AtEndEnvironment{quote}{\normalfont}
%\else
%\def\specialFontA#1{\textit{#1}}
%\def\specialFontB#1{\textit{#1}}
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Helper functions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\shortTextMark#1{\textcolor{#1}{·}}
\def\tinympar#1{\marginpar{\tiny{#1}}}
\def\smallmpar#1{\marginpar{\small{#1}}}%
\def\smallmparii#1#2{\marginpar{\small\textcolor{#1}{#2}}}%
\def\smallmpariii#1#2#3{\marginpar{\small\textcolor{#1}{(#2)} #3}}%
% authoring
\def\authormark#1{\tinympar{author: #1}}
% Thesis questions for a paragraph
\def\mparquestion#1{\tinympar{\textcolor{blue}{#1}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% COMMENT parPut: vanish if NOT IDEA
% parPut(color, keyword, text)
% OnIDEA put a text in color on the margin, or in a footnote, or inline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\parPut}[3]{%
\ifIDEA
\ifMarginMode
\genericMark{#1}{#2}{#3}%
\else
\ifFootnoteMode
\footnote{\textcolor{#1}{·#2: #3}}%
\else % normal inline mode
\\
\textcolor{#1}{·#2: #3}%
\fi
\fi
\fi
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% COMMENT Comments: vanish if NOT IDEA
% NONE if NOT IDEA
% genericCommentItem(color, keyword, text)
% OnIDEA, put a text as question in color on the margin, or in a footnote, or
% fat inline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\genericCommentItem}[3]{
\ifIDEA
\ifIDEAComments
\ifMarginMode
\mparquestion{#1~#3}
\else
\ifFootnoteMode
\footnote{#1~·#2: #3}%
\else % normal inline mode
\ideaparsize % \textbf{#1~#3#1}
\textbf{#1 #2: #3}
\normalsize
\fi
\fi
\fi
\fi
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Insets in paragraphs
% NORMAL layout if NOT IDEA mode
% genericCommandItem(color, keyword, text)
% OnIDEA, put a text as question in color on the margin, or in a footnote, or
% fat inline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\genericCommandItem}[3]{%
\ifIDEA
\ifMarginMode
\genericMark{#1}{#2}{#3}
\else
\ifFootnoteMode
\footnote{#1 #2: #3}
\else % normal inline mode
%\ideaparsize\textbf{#1 #2: #3}\normalsize
\genericMark{#1}{#2}{}
\ideaparsize\textcolor{\thesisColorName}{#1 #3}\normalsize
\fi
\fi
\else #3
\fi
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% MARGINNOTES: Insets in margin
% genericMark(color, keyword, text)
% OnIDEA, put a text as question in color on the margin, or in a footnote, or
% fat inline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\genericMarkQ}[3]{%
\ifIDEA
\shortTextMark{#1}
\mparquestion{\textcolor{#1}{#2~#3}}
\fi
}
\newcommand{\genericMark}[3]{%
\ifIDEA
\shortTextMark{#1}%
\marginpar{\small\textcolor{#1}{(#2)} #3}%
\fi
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% NORMAL Commands: inline texts, semantically marked up (inset-charstyles)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\genericRef}[3]{%
\ifIDEA
\underbar{\textcolor{#1}{#2: #3}}%
\else
#3%
\fi
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% NORMAL Commands: print normal if NOT IDEA
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\cmdThesisQuestion}[1]{\genericCommandItem{$\Xi$}{Thesis Question}{#1}}
\newcommand{\cmdThesisStatement}[1]{\genericCommandItem{$\Xi$}{Thesis Statement}{$\lhook$#1$\rhook$}}
\newcommand{\cmdControllingIdea}[1]{\genericCommandItem{$\Xi$}{ControllingIdea}{\textcolor{\thesisColorName}{$\Xi$ #1$\Xi$}}}
\newcommand{\cmdDevelopmentScheme}[1]{\genericCommandItem{$\Xi$}{DevScheme}{\textcolor{\thesisColorName}{$\Delta$ #1$\Delta$}}}
\newcommand{\cmdParagraphState}[1]{\genericCommandItem{$\Xi$}{ParState}{\textcolor{\thesisColorName}{$\Xi$ #1$\Xi$}}}
\newcommand{\cmdPivot}[1]{\genericCommandItem{$\Pi$}{Pivot}{\textcolor{\thesisColorName}{$\Pi$ #1$\Pi$}}}
\newcommand{\cmdConclusion}[1]{\genericCommandItem{$\Sigma$}{Conclusion}{\textcolor{\thesisColorName}{$\Sigma$ #1$\Sigma$}}}
\newcommand{\cmdMessage}[1]{\genericCommandItem{$\Sigma$}{Message}{\textcolor{\conclusionColorName}{$\Sigma$
#1$\Sigma$}}}
\newcommand{\cmdMajorTransition}[1]{\genericCommandItem{$\clubsuit$}{Message}{\textcolor{\thesisColorName}{$\clubsuit$ #1$\clubsuit$}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% NORMAL Commands: generic refs
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\refSubject}[1]{\genericRef{black}{refSubj}{#1}}
\newcommand{\refThesis}[1]{\genericRef{{\thesisColorName}{refThesis}{#1}}}
\newcommand{\refLink}[1]{\genericRef{{cyan}{refLink}{#1}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% COMMENTS if NOT IDEA
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\commentThesisQuestion}[1]{\genericCommentItem{$\Xi$}{cmtThesis Question}{#1}}
\newcommand{\commentThesisStatement}[1]{\genericCommentItem{$\Xi$}{cmtThesis}{\textcolor{\thesisColorName}{$\lhook$#1$\rhook$}}}
\newcommand{\commentControllingIdea}[1]{\genericCommentItem{$\Xi$}{cmtConIdea}{\textcolor{\thesisColorName}{$\clubsuit$ #1$\clubsuit$}}}
\newcommand{\commentDevelopmentScheme}[1]{\genericCommentItem{$\Xi$}{cmtDevScheme}{\textcolor{\thesisColorName}{$\Delta$ #1$\Delta$}}}
\newcommand{\commentParagraphState}[1]{\genericCommentItem{$\Xi$}{cmtParState}{\textcolor{\thesisColorName}{$\Xi$ #1$\Xi$}}}
\newcommand{\commentPivot}[1]{\genericCommentItem{$\Pi$}{cmtPivot}{\textcolor{\thesisColorName}{$\Pi$ #1$\Pi$}}}
\newcommand{\cmtThesisQuestion}[1]{\genericCommentItem{$\Xi$}{cmtThesis Question}{#1}}
\newcommand{\cmtThesisStatement}[1]{\genericCommentItem{$\Xi$}{cmtThesis}{\textcolor{\thesisColorName}{$\lhook$#1$\rhook$}}}
\newcommand{\cmtControllingIdea}[1]{\genericCommentItem{$\Xi$}{cmtConIdea}{\textcolor{\thesisColorName}{$\clubsuit$ #1$\clubsuit$}}}
\newcommand{\cmtDevelopmentScheme}[1]{\genericCommentItem{$\Xi$}{cmtDevScheme}{\textcolor{\thesisColorName}{$\Delta$ #1$\Delta$}}}
\newcommand{\cmtParagraphState}[1]{\genericCommentItem{$\Xi$}{cmtParState}{\textcolor{\thesisColorName}{$\Xi$ #1$\Xi$}}}
\newcommand{\cmtPivot}[1]{\genericCommentItem{$\Pi$}{cmtPivot}{\textcolor{\thesisColorName}{$\Pi$ #1$\Pi$}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% paragraph insets
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\parPearl}[1]{\parPut{green}{Pearl: }{#1}}
\newcommand{\parPoint}[1]{\parPut{cyan}{Point: }{#1}}
\newcommand{\parSubject}[1]{\parPut{blue}{Subject}{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% macros with fixed text
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% abstract scheme POSE, aka ZOPP
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\parObjective}{\parPut{blue}{Objective}{}}
\newcommand{\parObjectivei}[1]{\parPut{blue}{Objective}{#1}}
\newcommand{\parSuccessCriterion}{\parPut{orange}{SuccessCriterion}{}}
\newcommand{\parSuccessCriterioni}[1]{\parPut{orange}{SuccessCriterion}{#1}}
\newcommand{\parMetrics}{\parPut{orange}{Metrics}{}}
\newcommand{\parMetricsi}[1]{\parPut{orange}{Metrics}{#1}}
\newcommand{\parEvaluation}{\parPut{\conclusionColorName}{Evaluation}{}}
\newcommand{\parEvaluationi}[1]{\parPut{\conclusionColorName}{Evaluation}{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% abstract scheme MoPARC of Koopmans
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\parMotivation}{\parPut{cyan}{Motivation}{}}
\newcommand{\parMotivationi}[1]{\parPut{cyan}{Motivation}{#1}}
\newcommand{\parProblem}{\parPut{\thesisColorName}{Problem}{}}
\newcommand{\parProblemi}[1]{\parPut{\thesisColorName}{Problem}{#1}}
\newcommand{\parKnowledgeGap}{\parPut{pink}{Knowledge Gap}{}}
\newcommand{\parKnowledgeGapi}[1]{\parPut{pink}{Knowledge Gap}{#1}}
\newcommand{\parLiteratureLimit}{\parPut{pink}{Literature Limit}{}}
\newcommand{\parLiteratureLimiti}[1]{\parPut{pink}{Literature Limit}{#1}}
\newcommand{\parBackground}{\parPut{pink}{Background}{}}
\newcommand{\parBackgroundi}[1]{\parPut{pink}{Background}{#1}}
\newcommand{\parSolution}{\parPut{blue}{Solution}{}}
\newcommand{\parSolutioni}[1]{\parPut{blue}{Solution}{#1}}
\newcommand{\parApproach}{\parPut{blue}{Approach}{}}
\newcommand{\parApproachi}[1]{\parPut{blue}{Approach}{#1}}
\newcommand{\parContribution}{\parPut{\conclusionColorName}{Contribution}{}}
\newcommand{\parContributioni}[1]{\parPut{pink}{Contribution}{#1}}
\newcommand{\parResults}{\parPut{\conclusionColorName}{Results}{}}
\newcommand{\parResultsi}[1]{\parPut{\conclusionColorName}{Results}{#1}}
\newcommand{\parConclusion}{\parPut{\conclusionColorName}{Conclusion}{}}
\newcommand{\parConclusioni}[1]{\parPut{\conclusionColorName}{Conclusion}{#1}}
\newcommand{\markContribution}[1]{{\genericMark{\conclusionColorName}{$\Sigma$ Contribution}{#1}}}
\newcommand{\markMessage}[1]{{\genericMark{\conclusionColorName}{$\Sigma$ Message}{#1}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% abbreviations, for backward compatibility
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\idea}[1]{\cmdControllingIdea{#1}}
\newcommand{\connector}[1]{\cmdMajorTransition{#1}}%%
\newcommand{\topic}[1]{\cmdControllingIdea{#1}}%
\newcommand{\purpose}[1]{\cmdControllingIdea{#1}}%%
\newcommand{\thesisQuestion}[1]{\cmdThesisQuestion{#1}}
\newcommand{\thesisquestion}[1]{\commentThesisQuestion{#1?}}
\newcommand{\thesisStatement}[1]{\cmdThesisStatement{#1}}
\newcommand{\messageStatement}[1]{\cmdMessage{#1}}
\newcommand{\controllingIdea}[1]{\cmdControllingIdea{#1}}
\newcommand{\topicIdea}[2]{\cmdTopicIdea{#1}{#2}}
\newcommand{\topicAll}[3]{\cmdTopicAll{#1}{#2}{#3}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% From: https://tex.stackexchange.com/users/29697/p%c3%a5l-gd
% wrap a todo macro with additional functionality
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\newcounter{todofootnote}
\renewcommand{\@todo}[2][]{%
\if@todonotes@prependcaptionglobal%
\@todonotes@prependcaptiontrue%
\else%
\@todonotes@prependcaptionfalse%
\fi%
\renewcommand{\@todonotes@text}{#2}%
\renewcommand{\@todonotes@caption}{#2}%
\setkeys{todonotes}{#1}%
\if@todonotes@localdisable%
\else%
\addtocounter{@todonotes@numberoftodonotes}{1}%
\if@todonotes@appendtolistoftodos%
\phantomsection%
\if@todonotes@captiongiven%
\else%
\renewcommand{\@todonotes@caption}{#2}%
\fi%
\@todonotes@addElementToListOfTodos%
\fi%
% Prepend the short caption given if it is requested
\if@todonotes@captiongiven%
\if@todonotes@prependcaption%
\renewcommand{\@todonotes@text}{\@todonotes@caption: #2}%
\fi%
\fi%
% Place the todonote as indicated by the options (inline or in a
% marginpar), below is the code for the inline placement.
% was: \@todonotes@drawMarginNoteWithLine%
\let\oldthefootnote\thefootnote%
\renewcommand{\thefootnote}{\textcolor{red}{\textbf\roman{footnote}}}%
\footnote[\value{@todonotes@numberoftodonotes}]{\textcolor{red}{TODO:} #2}%
\let\thefootnote\oldthefootnote%
\fi%
}%
\makeatother
# Study Plan for Johnny English
* This is my stuy plan for the first semester:
| Module | Credit points (cp, LP) | Semester | exam in every semester?|
| ------- | --------------- | -------------- | ---------------------- |
| Einführung in die Mathematik für Informatiker | 15 | 1 |yes|
| Algorithmen und Datenstrukturen | 6 | 1 |yes|
| Einführungspraktikum RoboLab | 4 | 1 |yes|
| Einführung in die Medieninformatik | 5 | 1 |yes|
| Mathematische Methoden für Informatiker (Teil A) | 7.5 | 2 |yes|
| Programmierung | 6 | 2 |yes|
| Softwaretechnologie | 6 | 2 |yes|
| Informations- und Kodierungstheorie | 5 | 2 |yes|
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment