title: Create and use user functions in lesscss
body: <p>I have this in my html:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      less = {
          env: "development", // or "production"
          async: false,       // load imports async
          fileAsync: false,   // load imports async when in a page under
                              // a file protocol
          poll: 1000,         // when in watch mode, time in ms between polls
          functions: {
              returnCenter: function (value, context) {
                  return 'center';
              }
          },      // user functions, keyed by name
          dumpLineNumbers: "comments", // or "mediaQuery" or "all"
          relativeUrls: false,// whether to adjust url's to be relative
                              // if false, url's are already relative to the
                              // entry less file
          rootpath: ":/a.com/"// a path to add on to the start of every url
                              //resource
      };
  &lt;/script&gt;
  &lt;script src="less.js" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>So in functions, how can I create and use functions in my less file?</p>
  
  <p>Thanks and good luck!</p>
  
  <p>P.D. This returnCenter, doesn't work. With or without parameters.</p>