From 1ea5fb72936af0e4a4d6a2f01f291ce9e2fbd16f Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Mon, 29 Feb 2016 22:46:08 -0500 Subject: Wrap \tabulary environment to allow breaking underscores. * This \discretionary to avoid language issues. --- common/rtemsstyle.sty | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'common/rtemsstyle.sty') diff --git a/common/rtemsstyle.sty b/common/rtemsstyle.sty index 71c0635..6761b96 100644 --- a/common/rtemsstyle.sty +++ b/common/rtemsstyle.sty @@ -2,6 +2,15 @@ \definecolor{InnerLinkColor}{rgb}{0,0,0} \definecolor{OuterLinkColor}{rgb}{1.0,0.5,0.0} +\newenvironment{underscoresplit}{\let\underscore\_ + \renewcommand{\_}{\discretionary{\underscore}{}{\underscore}}}{} + +\let\oldtabulary\tabulary +\let\endoldtabulary\endtabulary + +\renewenvironment{tabulary}{\underscoresplit\oldtabulary}{\endoldtabulary\endunderscoresplit} + + \renewcommand{\maketitle}{% \begin{titlepage}% \let\footnotesize\small -- cgit v1.2.3