Commit e6bb070f authored by Andreas Zwinkau's avatar Andreas Zwinkau

IDs in margin only and twosided

parent a56a4771
......@@ -15,6 +15,7 @@
{ \GetProperty{#1}{pfl:fncid} }}
\newcommand\criteriumlink[1]{\hyperlink{#1}%
{ \GetProperty{#1}{pfl:crtid} }}
\newcommand\marginid[1]{\marginpar{\centering\textbf{#1}}}
\newcounter{criterium}
\newcounter{criteriumOpt}
......@@ -27,8 +28,8 @@
% document macros
\newcommand\criterium[2]{
\stepcounter{criterium}
\par\textbf{M\arabic{criterium} #1}\rdflabel{#2}
\marginpar{M\arabic{criterium}}
\par\textbf{#1}\rdflabel{#2}
\marginid{M\arabic{criterium}}
\AddProperty{pfl:crtname}{#1}
\AddPropertyEx{pfl:crtid}{M\arabic{criterium}}
\IfProperty{#2}{pfl:is-fulfilled}{%
......@@ -38,8 +39,8 @@
\newcommand\criteriumOptional[2]{
\stepcounter{criteriumOpt}
\par\textbf{K\arabic{criteriumOpt} #1}\rdflabel{#2}
\marginpar{K\arabic{criteriumOpt}}
\par\textbf{#1}\rdflabel{#2}
\marginid{K\arabic{criteriumOpt}}
\AddProperty{pfl:crtname}{#1}
\AddPropertyEx{pfl:crtid}{K\arabic{criteriumOpt}}
\IfProperty{#2}{pfl:is-fulfilled}{%
......@@ -49,16 +50,16 @@
\newcommand\criteriumNot[2]{
\stepcounter{criteriumNot}
\par\textbf{A\arabic{criteriumNot} #1}\rdflabel{#2}
\marginpar{A\arabic{criteriumNot}}
\par\textbf{#1}\rdflabel{#2}
\marginid{A\arabic{criteriumNot}}
\AddProperty{pfl:crtname}{#1}
\AddPropertyEx{pfl:crtid}{A\arabic{criteriumNot}}
\par}
\newcommand\functionality[2]{
\stepcounter{functionality}
\par\textbf{F\arabic{functionality} #1}\rdflabel{#2}
\marginpar{F\arabic{functionality}}
\par\textbf{#1}\rdflabel{#2}
\marginid{F\arabic{functionality}}
\AddProperty{pfl:fncname}{#1}
\AddPropertyEx{pfl:fncid}{F\arabic{functionality}}
\IfProperty{#2}{pfl:is-tested}{%
......@@ -69,16 +70,16 @@
\newcommand\nonFunctionality[2]{
\stepcounter{nonfunctionality}
\par\textbf{N\arabic{nonfunctionality} #1}\rdflabel{#2}
\marginpar{N\arabic{nonfunctionality}}
\par\textbf{#1}\rdflabel{#2}
\marginid{N\arabic{nonfunctionality}}
\AddProperty{pfl:fncname}{#1}
\AddPropertyEx{pfl:fncid}{N\arabic{nonfunctionality}}
\par}
\newcommand\test[2]{
\stepcounter{test}
\par\textbf{T\arabic{test} #1}\rdflabel{#2}
\marginpar{T\arabic{test}}
\par\textbf{#1}\rdflabel{#2}
\marginid{T\arabic{test}}
\AddProperty{pfl:tstname}{#1}
\AddPropertyEx{pfl:tstid}{T\arabic{test}}
\\ Testing: \Bind{#2}{pfl:tests}{?f}{ \functionalitylink{\GetVal{?f}} }
......
\documentclass[parskip=full,11pt]{scrartcl}
\documentclass[parskip=full,11pt,twoside]{scrartcl}
\usepackage[utf8]{inputenc}
\title{ATURL: Actually Tiny URLs}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment