I am trying to use predictive mode in Emacs for auto-completion in LaTeX documents. When TAB is pressed I want it to do the following
complete the word if there is only one possibility. (This usually does not happen. The rest of the word is highlighted in blue and I have to press [Ctrl]-Enter to complete.)
cycle through alternatives if there are many. (I have no idea how to make it do this.)