I need a specific divis / hyphen character or more than one randomly show
This code is not working at the present. Does anyone have any suggestions?
\documentclass{minimal}
\usepackage{blindtext}
\usepackage[htt]{hyphenat}
\newsavebox\leftarrowbox
\sbox\leftarrowbox{$\leftarrow$}
\makeatletter
\renewcommand*{\BreakableSlash}{%
\leavevmode \prw@zbreak /%
\discretionary{\usebox\leftarrowbox}{}{}%
\prw@zbreak }
\makeatother
\begin{document}
\parbox{40mm}{%
\texttt{/etc\fshyp really\fshyp long\fshyp directory\fshyp name/ \blindtext}%
}
\end{document}
\usepackage[htt]{hyphenat} \newsavebox\leftarrowbox \sbox\leftarrowbox{$\leftarrow$} \makeatletter \renewcommand*{\BreakableSlash}{% \leavevmode \prw@zbreak /% \discretionary{\usebox\leftarrowbox}{}{}% \prw@zbreak } \makeatother \begin{document} \parbox{40mm}{% \texttt{/etc\fshyp really\fshyp long\fshyp directory\fshyp name/ \blindtext}% } \end{document} `
– Pankracy May 16 '13 at 10:28/etc/really/long/←as the first line. – egreg May 16 '13 at 22:56\fshypmanulaly. – Pankracy May 17 '13 at 13:25