diff --git a/worddiv b/worddiv index 99ed7fd..03fc2fc 100755 --- a/worddiv +++ b/worddiv @@ -17,7 +17,7 @@ secondary_filename=latex-target-scd.tex # welcome message tex_version=`tex -version | head -n 1` latex_version=`latex -version | head -n 1` -printf "Let’s query \n %s and\n %s !\n" "$tex_version" "$latex_version" +printf "\nLet’s query \n %s and\n %s !\n" "$tex_version" "$latex_version" printf "\nEnter an expression to see its hyphenation, or ‘q’ to quit.\n\n" # set languages diff --git a/worddiv.fish b/worddiv.fish index b79876a..9f7bc9d 100644 --- a/worddiv.fish +++ b/worddiv.fish @@ -24,9 +24,9 @@ function worddiv --description "Interact with TeX and babel (LaTeX) to show word # welcome message set -f tex_version (tex -version | head -n 1) set -f latex_version (latex -version | head -n 1) - echo "Let’s query " ; set_color yellow ; echo -n " $tex_version" ; set_color normal + printf "\nLet’s query " ; set_color yellow ; echo -n " $tex_version" ; set_color normal echo " and " ; set_color yellow ; echo -n "$latex_version" ; set_color normal ; echo " !" - echo -e '\nEnter an expression to see its hyphenation, or ‘q’ to quit.\n' + printf '\nEnter an expression to see its hyphenation, or ‘q’ to quit.\n\n' # set languages set -f language american