Can someone explain to me how to make this? http://prntscr.com/4y0t4x
I've got the two lines done, but I couldn't find anywhere about "while(true) do" loops and also about foreach.
This is what I have so far.
\documentclass[10pt,conference]{IEEEtran}
\usepackage{amsmath}
\usepackage{algorithm}
\usepackage[noend]{algpseudocode}
\title{Example}
\author{John Doe}
\begin{document}
\maketitle
\begin{algorithm}
\caption{Secure introspection}\label{algo}
\begin{algorithmic}[1]
\State $\textit{TrustedCode} \gets \textit{\{hardware\}}$
\State $\textit{TrustedData} \gets \textit{0}
\While {true}
\EndWhile
\end{algorithmic}
\end{algorithm}
\end{document}
PS. I will be grateful if anyone tell me a site where I can find how to create those symbols on line 2 and line 5 of the code.
EDIT: I've tried with while{true} , while{$true} but none of them works.
EDIT: I don't need this to work, I just want this to be an example in the text. I want to reproduce the linked picture only.
Best Answer
Here is a very similar display.