Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command/macro for research questions #27

Closed
kswannet opened this issue Nov 22, 2020 · 1 comment
Closed

Add command/macro for research questions #27

kswannet opened this issue Nov 22, 2020 · 1 comment

Comments

@kswannet
Copy link

kswannet commented Nov 22, 2020

something as discussed here:
https://tex.stackexchange.com/questions/525921/ideas-for-presenting-the-research-question

something like this:

\newlist{questions}{enumerate}{2}
\setlist[questions,1]{label=\bf{RQ-\arabic*.},ref=RQ-\arabic*, leftmargin=*}
\setlist[questions,2]{label*=\indent \bf{\arabic*.},ref=\thequestionsi.\arabic*}
\let\origitem\item
\renewcommand{\item}{\normalfont\origitem}
\newcommand{\question}{\normalfont\origitem\em}
\crefname{questionsi}{research question}{research questions}
\crefname{questionsii}{research sub-question}{research sub-questions}
@skilkis
Copy link
Owner

skilkis commented Nov 22, 2020

@kswannet this is really cool! Perhaps we can generalize it as a way to add references to arbitrary listed items. Personally I feel the need for implementing something like this also for requirement lists. So if we can make a macro to allow a user to input the prefix of the list, that would be great!

skilkis added a commit to skilkis/tudelft-light-template that referenced this issue Mar 16, 2021
This commit addresses Issue [#27] by adding a new questions environment
for formatting reserach questions. It currently supports two levels
(research question, and sub questions). Thanks to @kswannet for the
implementation. It was only modified slightly to be compatible with
the cleveref captalise option.

[#27]: skilkis/tudelft-light#27
skilkis added a commit that referenced this issue Mar 16, 2021
This commit Closese #27 by adding a new questions environment for
formatting reserach questions. It currently supports two levels
(research question, and sub questions). Thanks to @kswannet for the
implementation. It was only modified slightly to be compatible with the
cleveref captalise option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants