Does anyone know how I can achieve the following alignments:
mid = low + high
PARALLEL: right = x
left = y
return right + left
I've tried: \indent \indent mid $\leftarrow$ (low + high)/2
\begin{align*}
\text{Parallel:&left \leftarrow binSearch(A, k, mid + 1, high)}
\text{&right \leftarrow binSearch(A, k, low, mid)}
\end{align*}
and it isn't working. As you can see my line 1 starts with two indents so that's making it more confusing for me. I need line 1 to have two indents since I'm writing pseudocode and need that indentation.
algorithm
), or is this just set in your text as-is?