Function: TeX-arg-tb
TeX-arg-tb is a byte-compiled function defined in latex.el.
Signature
(TeX-arg-tb OPTIONAL &optional PROMPT POSLIST)
Documentation
Prompt for a LaTeX side with completion.
If OPTIONAL is non-nil, insert the resulting value as an optional
argument, otherwise as a mandatory one. Use PROMPT as the prompt
string. POSLIST controls the positioning characters offered for
completion. It can be the symbols center, stretch or nil
with the following completion list:
center t, b, c
stretch t, b, c, s
nil t, b
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun TeX-arg-tb (optional &optional prompt poslist)
"Prompt for a LaTeX side with completion.
If OPTIONAL is non-nil, insert the resulting value as an optional
argument, otherwise as a mandatory one. Use PROMPT as the prompt
string. POSLIST controls the positioning characters offered for
completion. It can be the symbols `center', `stretch' or nil
with the following completion list:
center t, b, c
stretch t, b, c, s
nil t, b"
(TeX-argument-insert
(completing-read (TeX-argument-prompt optional prompt "Position")
(cond ((eq poslist 'center)
'("t" "b" "c"))
((eq poslist 'stretch)
'("t" "b" "c" "s"))
(t
'("t" "b"))))
optional))