Thorsten Grothe <[email protected]> writes:
Hi Thorsten,
> I got a small problem with Auctex. I got often constructs like this in
> my files:
>
> % \usepackage[forpaper,pointsonleft,nototals,answerkey]{eqexam}
> \usepackage[usecustomdesign,usexkv,links,useforms,forcolorpaper,%
> nozerototals,allowrandomize,noparttotals,nosummarytotals,%
> cfg=ka_normal,
> totalsonright,
> nosolutions,
> %answerkey
> % vspacewithsolns
> % proofing,
> % solutionsonly
> % nospacetowork
> ]{eqexam}
>
> let's say I only want to comment out one line like *nosolutions*, when
> I hit C-c ; or C-c % Auctex comments out the whole paragraph or the
> whole region but I want to comment out/in only *one single line*, is
> this possible with a shortcut?
If you are at the beginning of the line containing the key to
(un)comment, then you can just do `C-SPC C-n C-c ;' to mark the line and
then comment the region. Well, but just inserting a % or deleting the
existing % is probably even more convenient.
Bye,
Tassilo
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex