Note: You are currently viewing documentation for Moodle 2.6. Up-to-date documentation for the latest stable version of Moodle may be available here: Course element : Theorema.

Course element : Theorema

From MoodleDocs

Back to index

The element "Theorema" is a set of text parts (teacher formatted) that will be visually styled to give student elements of theorema publication and demonstration. The theorema is mafe of 3 parts:

  • A theorema text
  • Some corrolaries
  • A demonstration
theorema sample.jpg

Settings form

theorema settings.jpg

Default Template

  <table class="custombox-theorema" cellspacing="0" width="100%">
  <tr valign="top">
      <td class="custombox-header-thumb theorema" width="2%" rowspan="3">
      </td>
      <td class="custombox-header-caption theorema" width="98%">
          Theorema
      </td>
  </tr>
  <tr valign="top">
      <td class="custombox-content theorema">
          <%%theorema%%>
      </td>
  </tr>
  <tr valign="top">
      <td class="custombox-corollaries theorema">
          <%%corollarylist%%>
      </td>
  </tr>
  <%if %%showdemonstration%% %>
  <tr valign="top">
      <td class="custombox-header-foo theorema" width="2%"></td>
      <td class="custombox-demonstration theorema">
          <div class="custombox-demonstration-caption theorema">Demonstration</div>
          <div class="custombox-demonstration theorema"><%%demonstration%%></div>
      </td>
  </tr>
  <%endif %>
  </table>

CSS Element list

.custombox-theorema(TABLE) : Overal container

.custombox-header-thumb.theorema(TD) : Left Icon container

.custombox-header-caption.theorema(TD) : Right caption container

.custombox-content.theorema(TD) : Text of the theorema

.custombox-corollaries.theorema(TD) : A container for the list of corollaries

.custombox-demonstration.theorema(TD): Container for demonstration

.custombox-demonstration-caption.theorema(DIV): Demonstration caption text

.custombox-demonstration.theorema(DIV): Demonstration text