title: In Freemarker how do I insert the right number of spaces to place text in a specified column?
body: <p>I'm doing some simple C code generation using Freemarker. I am generating a line like the following:</p>
  
  <pre><code>#define MY_CONSTANT                   (0)
  </code></pre>
  
  <p>From a template of the form:</p>
  
  <pre><code>#define ${name}                   (${value})
  </code></pre>
  
  <p>I am generating a bunch of these and I want them to come out like this</p>
  
  <pre><code>#define MY_CONSTANT                   (0)
  #define MY_NEW_CONSTANT               (42)
  #define MY_OTHER_CONSTANT             (101)
  </code></pre>
  
  <p>With the values all column aligned. Is there an easy way to do this? Do I need to write a directive for it?</p>
  
  <p>Thanks in advance.</p>