0

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?

enter image description here

3
  • \begin{itemize}\item[\bfseries RQ1][Bla bla] Bla bla ... \end{itemize} – Fran Aug 19 '20 at 17:47
  • @Fran it is working but how? itemize is for listing items and bfseris is for making font bold. But somehow it seems to also handle indentation. How it is working? – Exploring Aug 19 '20 at 18:01
  • A brackets before an \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. – Fran Aug 19 '20 at 18:15
1

With a customized enumerate-like list:

enter image description here

\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}
4
  • it works, what doest it do? label*=\textbf{RQ\arabic*} – Exploring Aug 19 '20 at 18:09
  • why we need the {} in the first item \item{} just trying to understand the solution rather than blindly copying. Thanks for your help. – Exploring Aug 19 '20 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. – leandriis Aug 19 '20 at 18:31
  • The set of {} 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. – leandriis Aug 19 '20 at 18:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.