# Soul Package is adjusting text diff, underline overfill/ overflow

MikTex through StudioTex also on Sharetex soul package is adjusting the alignments differently now, its like emails from a High school principal and overfilling in underlined commands. As in its editing text outside my bracketing " { } "

• Can you post the LaTeX code of a small example that shows the problem, and describe a bit more precisely what's wrong and how you would like it to behave? – gernot Aug 20 '16 at 11:08
• PREAMBLE: % Title Page \documentclass{report} \usepackage{soul} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{geometry} \usepackage{layout} \setlength{\parindent}{4em} \setlength{\parskip}{1em} \renewcommand{\baselinestretch}{1.5} \begin{document} \begin{center} The Highlighting command won't compile and the boldface command \textbf{ ex} will overflow .i.e ( text flooding outside bracketing " \textbf { how now brown } cow, text will pass "}" and affect "cow" too. – Camille Castell Aug 20 '16 at 20:22

Works fine for me...

\documentclass{report}

\usepackage{soul}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{geometry}
\usepackage{layout}
\setlength{\parindent}{4em}
\setlength{\parskip}{1em}
\renewcommand{\baselinestretch}{1.5}

\begin{document}
\begin{center} The Highlighting command won't compile and the boldface command \textbf{ex} will overflow i.e.\ (text flooding outside bracketing "\hl{\textbf {how now brown}} cow, text will pass "\}" and affect "cow" too.
\end{center}
\end{document}

• Through studiotex and sharetex? I can send a screenshot – Camille Castell Aug 21 '16 at 21:38
• can you send some too because Its overflowing the brackets and hl command isn't working – Camille Castell Aug 21 '16 at 21:40
• Please? Im going to cry this is so weird and Its for my environmental policy thesis – Camille Castell Aug 21 '16 at 21:48
• Send you some what? I don't know studiotex and have never used sharetex. If I can't reproduce the problem then I have no hope in finding the source of the problem. – JPi Aug 21 '16 at 21:51