a***@hotmail.co.uk
2017-12-09 13:49:29 UTC
Here below is my MWE:
Comping the below will show that the big paragraph of text is not in line with the first word. In other words it look like the paragraph is indented, when in fact my goal is to make the paragraph appear like this one (i.e each line begins without indentation). instead of:
" Comping the below will show that the big paragraph of text is not in line with the first word, in other words making it look like the paragraph is indented, when in fact my goal is to make the paragraph appear like this one (each line begins without indentation). instead of"
I'm pretty sure its a quick fix, any ideas?
%-------------------------------------------------------------
\documentclass[12pt, oneside]{book}
\usepackage{lipsum} %remove \lipsum[#]
%ALGORITHM CODE
\usepackage[linesnumbered,ruled]{algorithm2e}
%-----------------------------BEGIN-----------------------------
\begin{document}
\begin{algorithm}[H]
\SetKwInOut{Input}{Input}
\SetKwInOut{Output}{Output}
\SetKwInOut{Define}{Define}
\underline{Initialise:} Conditions for Algorithm\;
\Define{define functions for algorithm}
\Input{input of algoithm}
\Output{Output}
\underline{Run through algorithm In Full:}
{
\hspace{5pt} \textbf{Start}:
}
{
\hspace{15pt} \lipsum[1]
}
{
\hspace {5pt} \textbf{End}
}
\caption{Name of algoithm and details etc...}
\end{algorithm}
\end{document}
%-------------------------------------------------------------
Comping the below will show that the big paragraph of text is not in line with the first word. In other words it look like the paragraph is indented, when in fact my goal is to make the paragraph appear like this one (i.e each line begins without indentation). instead of:
" Comping the below will show that the big paragraph of text is not in line with the first word, in other words making it look like the paragraph is indented, when in fact my goal is to make the paragraph appear like this one (each line begins without indentation). instead of"
I'm pretty sure its a quick fix, any ideas?
%-------------------------------------------------------------
\documentclass[12pt, oneside]{book}
\usepackage{lipsum} %remove \lipsum[#]
%ALGORITHM CODE
\usepackage[linesnumbered,ruled]{algorithm2e}
%-----------------------------BEGIN-----------------------------
\begin{document}
\begin{algorithm}[H]
\SetKwInOut{Input}{Input}
\SetKwInOut{Output}{Output}
\SetKwInOut{Define}{Define}
\underline{Initialise:} Conditions for Algorithm\;
\Define{define functions for algorithm}
\Input{input of algoithm}
\Output{Output}
\underline{Run through algorithm In Full:}
{
\hspace{5pt} \textbf{Start}:
}
{
\hspace{15pt} \lipsum[1]
}
{
\hspace {5pt} \textbf{End}
}
\caption{Name of algoithm and details etc...}
\end{algorithm}
\end{document}
%-------------------------------------------------------------