Skip to main content
Chemistry LibreTexts

3.7: Adding Predefined Template Code (e.g., Boxes)

  • Page ID
    150695
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Under Elements of the editing toolbar, there is an option for "Templates". These are specialized code snippets that are designed for adding standard code to your page. Some of these are available using the Boxes pull down at the right side of the editing bar. 

    templates.png
    Figure \(\PageIndex{1}\):

    Some of these templates are for general use and other are more specific. The six BOX templates add the text for a container around special text (see below). The Embed templates are for special HTML5 interactive code like Jupyer executable code or interactive molecules. The other templates will be discussed in a different section. Feel free to add any of them to a test page to see what it does.

    Definition BOX

    The ideal gas law is easy to remember and apply in solving problems, as long as you get the proper values a

    Example BOX: \(\PageIndex{1}\)

    Add text here.

    Solution

    Add text here.

    Exercise BOX: \(\PageIndex{1}\)

    Add exercises text here.

    Answer

    Add texts here. Do not delete this text first.

    Note BOX

    The ideal gas law is easy to remember and apply in solving problems, as long as you get the proper values a

    Skills Box

    • Explain the following laws within the Ideal Gas Law

    Theorem BOX: \(\PageIndex{1}\)

    The probabilities assigned to events by a distribution function on a sample space are given by.

    Proof

    Add proof here and it will automatically be hidden

    Caution BOX

    The ideal gas law is easy to remember and apply in solving problems, as long as you get the proper values a

    The colors are associated with code in the HTML for screen readers.


    3.7: Adding Predefined Template Code (e.g., Boxes) is shared under a CC BY 1.3 license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?