I see in many research paper, the research questions are formatted nicely. I tried to do this with a table that does not work.
What feature they are using this case?
With a customized enumerate
-like list:
\documentclass{article}
\usepackage{lipsum} % for dummy text
\usepackage{enumitem}
\newlist{researchquestions}{enumerate}{1}
\setlist[researchquestions]{label*=\textbf{RQ\arabic*}}
\begin{document}
\begin{researchquestions}
\item{} [Repairability] \lipsum[1]
\item \lipsum[5]
\end{researchquestions}
\end{document}
\item{}
just trying to understand the solution rather than blindly copying. Thanks for your help.
Aug 19, 2020 at 18:11
\textbf
makes sure, the label part is bold, RQ
adds "RQ" to each label, \arabic*
returns the number. If you also want to add the dot after the number, use label*=\textbf{RQ\arabic*.}
instead.
Aug 19, 2020 at 18:31
{}
in the first example is because the following word is inside a set of []
. If you omit the set of {}
here, the word inside of []
is interpreted as an optional argument of the \item
command.
Aug 19, 2020 at 18:32
\item
is an optional argument that simply replace the bullet. However the second bracects (the "[Bla Bla]") is plain text that is printed as is, and indented as any text after\item
.