I had also tried something like you (using \expandafter after reading Appendix C of Kopka & Daly) to delay evaluation/expansion, but was less successful than you.
In the meantime I found two packages where they seem to do exactly this: one is txfonts (package for Times fonts) and the other is ...
Search found 5 matches
- Wed Jan 16, 2008 1:26 pm
- Forum: General
- Topic: How to amalgamate commands?
- Replies: 13
- Views: 10044
- Tue Jan 15, 2008 2:25 am
- Forum: General
- Topic: How to amalgamate commands?
- Replies: 13
- Views: 10044
How to amalgamate commands?
In which way would that make typesetting easier? Or isn't that the intention of your question?
This question came up when I was trying to define an upright version for all symbols in the basic Math Letters font (I collected and patched together a set of roman shaped symbols from different fonts ...
- Mon Jan 14, 2008 12:01 pm
- Forum: General
- Topic: How to amalgamate commands?
- Replies: 13
- Views: 10044
Re: How to amalgamate commands?
Thanks for your reply.
I know that, of course.
The only reason for having chosen the bold example was to serve as an illustration of the problem.
To make things clearer: I do know how to write text and math in boldface, as well as defining/redefining commands.
As explained in the first post ...
I know that, of course.
The only reason for having chosen the bold example was to serve as an illustration of the problem.
To make things clearer: I do know how to write text and math in boldface, as well as defining/redefining commands.
As explained in the first post ...
- Thu Jan 10, 2008 10:31 pm
- Forum: General
- Topic: How to amalgamate commands?
- Replies: 13
- Views: 10044
Re: How to amalgamate commands?
thanks for your reply.
That's true for all commands, and that's the way I've been doing it until now.
The reason for wanting to actually join them is that I find it easier (e.g. for debugging) to read the code by having composite commands.
That's true for all commands, and that's the way I've been doing it until now.
The reason for wanting to actually join them is that I find it easier (e.g. for debugging) to read the code by having composite commands.
- Thu Jan 10, 2008 9:26 pm
- Forum: General
- Topic: How to amalgamate commands?
- Replies: 13
- Views: 10044
How to amalgamate commands?
Hi all,
let's say one defines a simple command \boldletter{X} which prints the bold version of its argument (X in this case).
How can one define a shorthand for this command, e.g. \bletX = \boldletter{X} such that it would work for all letters in the alphabet A...Z and a...z - so for instance ...
let's say one defines a simple command \boldletter{X} which prints the bold version of its argument (X in this case).
How can one define a shorthand for this command, e.g. \bletX = \boldletter{X} such that it would work for all letters in the alphabet A...Z and a...z - so for instance ...