title: CSS class equivalent for LaTeX
body: <p>I am trying to figure out if there is a way to apply the CSS methodology to the LaTeX template I am building. What I would like to do is to have a set of <em>classes</em> that apply a specific style treatment to the bracketed words. For example:</p>
  
  <p>If I have three paragraphs of text, I want to have all of the paragraphs have [0.5cm] of spacing after the last line without having to add <code>\\[0.5cm]</code> after each paragraph.</p>
  
  <p>Is there a LaTeX equivalent of defining the treatment for all paragraphs in the preamble so that it cascades throughout my document? The equivalent of:</p>
  
  <pre><code>&lt;style&gt; p {padding-bottom:0.5cm} &lt;/style&gt;
  </code></pre>
  
  <p>I want to be able to specify multiple version of these <em>CSS-like LaTeX classes</em> throughout my document, so I don't need a specific solution. I need help understanding how to add custom labels/names/classes to the preamble and an example of how to use them in the document itself. </p>
  
  <p>Thanks!</p>
  
  <p>Ryan</p>