TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to know whether it is possible in Kile to define a script to insert a centered commented block.

I often mark different parts of my code with those kind of titles:

%       OLD MODEL           %

So that it's very apparent and easy to spot in the code itself.

Do you know if there is any way to program Kile to get a prompt, and Kile automagically creates such a stamp, with the text automatically centered?

It can definitely be approximated by a User Tag, but this would not create a box type of things, and cannot center the words.

Thank you!

share|improve this question

closed as off topic by Marco Daniel, Claudio Fiandrino, Seamus, Kurt, Xavier Jun 7 '13 at 14:10

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.