I am trying to layout some text to follow the BDD-style scenario format:
Given some condition When an action occurs And some other action occurs Then some result happens
In a previous question it was suggested that I use the tabbing environment to accomplish this format, but when I use the tabbing environment, some of the words overlap.
MWE:
\documentclass[11pt,letter]{article}
\usepackage{enumitem}
\usepackage[hyphens]{url}
\usepackage{hyperref}
\usepackage[T1]{fontenc} %step 1
\usepackage{tabbing}
\setlist[description]{style=nextline,font=\normalfont}
\begin{document}
\section{Scenario: Valid Login:}
\begin{tabbing}
\= \= \= \kill
Given \> the browser is open to the login page \\
\> When \> a valid username is entered \\
\> \> And \> the valid corresponding password is entered \\
\> \> And \> the sign-in button is clicked \\
\> Then \> the welcome page is displayed. \\
\end{tabbing}
\end{document}
BTW: I am using MiKTeX 2.9 on windows 7.