Thanks for the replies.
The textstyle didn't solve the problem. But I believe I didn't present the entire picture.
My purpose is to use a number of templates. In these templates, a dimstyle (annotated) called 'bd12'and a textstyle (also annotated) called bt33, is defined. The tool on the palette is set to use bd12 and bt33. When the templates are used to start a new drawing, everything is fine, dimension objects become annotated as desired. But if some other template is used (in which my dimstyle' bd12' and my textstyle 'bt33' is not defined) to start a new drawing, a different scenario appears. When using my dimension tool on the palette, a dimension object is created, but its not annotated. That fact do not surprise me. I mean, the dimension style set to be used isn't present in the drawing. My first thaught is that in such cases AutoCAD uses a dimstyle always present in drawings, such as Standard. But it don't. A dimstyle called Bd12 IS created, with all settings exactly as in my template dimstyle. All but the Annotation check mark. This puzzles me in two ways. Where does AutoCADLT find the information about the settings in my dimstyle Bt12, residing on a complete different drawing template? Is this information stored in the palette tool, and if it is, why isn't the Annotation check mark stored?
Petri_ahava, its just a dimlinear command, no macro. I dragged a dimension object from a drawing to the palette.