% TeX template for use with worddiv.fish
% for a different approach, see https://tex.stackexchange.com/a/693030, also quoted at the bottom of this file

% we can set the language as a global option by passing it as an option to \documentclass
\documentclass[language]{article}

% according to the babel user guide (babel.pdf), if we've set the language globally (above), setting it here again is actually redundant, but if it ain't broke...
\usepackage[language]{babel}

% include exceptions for US English from /usr/share/texlive/texmf-dist/tex/generic/hyphenex/ushyphex.tex
% my fish script uncomments this line just in those cases where it has also set the language to `american`
% \input ushyphex


\begin{document}

\showhyphens{expression}

\end{document}


% here's a lualatex alternative, suggested by koppor ( https://tex.stackexchange.com/a/693030 )

% % !TeX program = lualatex
% \documentclass{article}
% \usepackage{showhyphens}
% \begin{document}
% \input{ushyphex}
% antinuclear
% \end{document}