Skip to content

Instantly share code, notes, and snippets.

@gerritjandebruin
Created January 14, 2022 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gerritjandebruin/1d5a3b5411a36f0e4f213529987e2b24 to your computer and use it in GitHub Desktop.
Save gerritjandebruin/1d5a3b5411a36f0e4f213529987e2b24 to your computer and use it in GitHub Desktop.
Usefull to make any iteration you want in Latex.
% Define research questions: https://tex.stackexchange.com/questions/525921/ideas-for-presenting-the-research-question
\usepackage{enumitem}
\newlist{questions}{enumerate}{2}
\setlist[questions,1]{wide=0pt,leftmargin=\parindent,label=RQ\arabic*.,ref=RQ\arabic*}
\setlist[questions,2]{label=(\alph*),ref=\thequestionsi(\alph*)}
% In document
\begin{questions}
\item \label{rq:events} How should event-based links, which may re-occur over time, be dealt with in order to accurately predict future links?
\item \label{rq:availability} To what extent does the availability of temporal information improve the performance of link prediction approaches?
\item \label{rq:structure} What is the relationship between structural network properties of temporal networks and the performance of the link prediction model?
\item \label{rq:node-or-edge} How can we use link prediction to understand whether the temporal aspect is governed by the temporal activity of nodes, or by that of the edges?
\end{questions}
% In document
As part of~\ref{rq:node-or-edge}, we use feature set~\ref{f:node} to capture the node activity.
% And feature sets, indicated with roman letters.
\newlist{featureset}{enumerate}{1}
\setlist[featureset]{leftmargin=\parindent,align=left,label=\Roman*,ref=\Roman*}
% In document:
\begin{featureset}
\item \label{f:edge} temporal weighed similarity heuristics
\item \label{f:static} static similarity heuristics
\item \label{f:node} node activity features
\end{featureset}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment