I'm trying to create a new command called \domanda{}
, that makes use of the \paragraph{}
to create a series of questions with Q: in-built, together with their answers on a new line, WITHOUT indentation. However this is not giving the expected results. Can you help me find a solution? Please refer to the extensive code below.
\documentclass[a4paper, 10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[top=2cm, bottom=2cm, left=3cm, right=2cm]{geometry}
\usepackage[italian]{babel}
\usepackage{hyperref}
\hypersetup{pdfstartview=FitH} %fits pdf to width, FitV= fits pdf to hight
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{caption}
\usepackage{textcomp}
\usepackage{marvosym}
\newcommand{\domanda}[1]{\paragraph{Q: #1\newline}}
\setlength\parindent{0pt}
...
\begin{document}
\input{somefile.tex}
\end{document}
The new sentence I type after the \paragraph{}
start on a new line but WITH indentation.