# how to auto bold a keyword?

I would like to auto bold some keywords in my file.tex without writing \keyword. For instance, I would like to bold all the word "example" in my text without doing anything.

I don't know if it possible to do such a thing without using the \newcommand{}

Does anyone help me please ?

In my researchs I have read that the \def command might help.

Thanks.

    \documentclass[a4paper,12pt]{memoir}
\usepackage[T1]{fontenc}
\usepackage{lipsum}
\nonzeroparskip
\begin{document}
\section
lorem non justo. Nam lacus libero, pretium at, lobortis vitae, ultricies et, tellus.
Donec aliquet, tortor sed accumsan bibendum, erat ligula aliquet magna, vitae
Nam
ornare odio metus a mi.

Nam
%how to autobold the word "Nam" ?
\end{document}


• Replace it with \nam{}, otherwise spaces would be gobbled. – egreg Aug 3 '14 at 12:42