I have a latex variable
Code: Select all
\newcommand{\allStrings}{ string1:string2:string3}
So that in the output pdf looks something like the following :
ie
Strings : string1
string2
string3
Anyadvice would be brilliant ..... I am able to split up the string and write in one a new line ... However, i am unable to tab it out (see my function below)
Code: Select all
\usepackage{xstring}
\newcommand{\specialtext}[1]{%
\StrSubstitute{#1}{:}{\tab \hfill \break }[\myspecialtext]
\textbf{\myspecialtext}}
Anthony (I am a newbie on this forum so thanks in advance for any help)