Here's a schematic for a 50v 1A adjustable linear power supply... attached to the bottom of this post.
As you can see, such power supplies use custom transformers with multiple windings, and connect these windings in series using relays as needed (to keep the input DC voltage just a bit above the user configured output volage).
There's also separate winding for the opamps and for driving those relays.
Also attaching a HP power supply "operating and service manual", which contains a schematic list of parts . Hope it may help.