CHG hyphenation within \textit
This commit is contained in:
@@ -83,6 +83,19 @@
|
||||
%Garamond: The garamond package provides the Garamond font with small caps.
|
||||
%\usepackage{CormorantGaramond}
|
||||
|
||||
%\renewcommand{\texttt}[1]{%
|
||||
% \begingroup
|
||||
% \ttfamily
|
||||
% \begingroup\lccode`~=`/\lowercase{\endgroup\def~}{/\discretionary{}{}{}}%
|
||||
% \begingroup\lccode`~=`[\lowercase{\endgroup\def~}{[\discretionary{}{}{}}%
|
||||
% \begingroup\lccode`~=`.\lowercase{\endgroup\def~}{.\discretionary{}{}{}}%
|
||||
% \catcode`/=\active\catcode`[=\active\catcode`.=\active
|
||||
% \scantokens{#1\noexpand}%
|
||||
% \endgroup
|
||||
%}
|
||||
%\DeclareFontFamily{\encodingdefault}{\ttdefault}{\hyphenchar\font=`\-}
|
||||
%\DeclareTextFontCommand{\mytexttt}{\ttfamily\hyphenchar\font=45\relax}
|
||||
|
||||
\newcommand{\english}[1]{\\[0.3em]\begin{small}\textit{\selectlanguage{english}#1}\end{small}}
|
||||
\newcommand{\note}[1]{\\[0.3em]\begin{scriptsize}#1\end{scriptsize}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user