tests/013/notes/Notes.md

title: "Test 013: New theorems, numbering and styles with lists immediately inside and a newline present in clear and large" author: 'Emma Cliffe, Skills Centre: MASH, University of Bath' date: 'September 2022' site: bookdown::bookdown_site language: en documentclass: article classoption: a4paper fontsize: 10pt geometry: margin=2.5cm output: clavertondown::pdf_clav: latex_engine: pdflatex dev: pdf keep_tex: true fig_caption: false toc: true clavertondown::html_clav: toc: true clavertondown::gitbook_clav: split_by: section config: download: [["Notes.html", "HTML page"], ["Notes.pdf","Standard print PDF"], ["NotesClear.pdf","Clear print PDF"], ["NotesLarge.pdf","Large print PDF"], ["Notes.docx","Accessible Word document"], ["Notes.epub","Accessible EPub book" ]] sharing: no clavertondown::word_clav: toc: true number_sections: true keep_md: true clavertondown::epub_clav: toc: true header-includes: - \usepackage{needspace}

Itemize without theorem

Testing some theorem stuff

\BeginKnitrBlock{definition}

Definition 2.1
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

Here is a definition.

\EndKnitrBlock{definition}

\BeginKnitrBlock{example}

Example 2.1
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

Here is an example.

\EndKnitrBlock{example}

Here is some more boring text in between.

\BeginKnitrBlock{theorem}

Theorem 2.1 (Foo)

\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

Bookdown is needed for things like theorems and internal references

\EndKnitrBlock{theorem}

\BeginKnitrBlock{proposition}

Proposition 2.2 (Thingy we need for 2.1)

\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

You can create new theorem types

\EndKnitrBlock{proposition}

\needspace{\baselineskip}

\BeginKnitrBlock{Thought}

Thought 2.1: (Bar of 2.1)

\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

You can create new theorem types

\EndKnitrBlock{Thought}

\BeginKnitrBlock{Proof}

Proof: (Of theorem 2.1)
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

Here is a proof

\EndKnitrBlock{Proof}

\BeginKnitrBlock{proof}

Proof (Proof of theorem 2.1).

\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

Here is a proof

\EndKnitrBlock{proof}

\BeginKnitrBlock{Defns}

Defns:
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

You can create new unumbered theorem types

\EndKnitrBlock{Defns}

\BeginKnitrBlock{Nugget}

Nugget 2.2:

\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

You can create new theorem types

\EndKnitrBlock{Nugget}

\BeginKnitrBlock{Example}

Example:
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

An example

\EndKnitrBlock{Example}

\BeginKnitrBlock{Solution}

Solution 2.1:
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

You can create new theorem types

\EndKnitrBlock{Solution}

\BeginKnitrBlock{Exercises}

Exercises:
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

Here is a question

\EndKnitrBlock{Exercises}

\BeginKnitrBlock{solution}

Solution.

\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

Test

\EndKnitrBlock{solution}

Testing the reference link back

Now go to theorem 2.1 or thought 2.1

\BeginKnitrBlock{solution}

Solution.

\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

Test

\EndKnitrBlock{solution}

\needspace{3\baselineskip}

\BeginKnitrBlock{definition}

Definition 2.1
\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

Here is a definition.

\EndKnitrBlock{definition}

\BeginKnitrBlock{Thought}

Thought 2.1: (Bar of 2.1)

\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

You can create new theorem types

\EndKnitrBlock{Thought}

Now an actual new thing: \BeginKnitrBlock{Thought}

Thought 3.1:

\leavevmode\vspace{-\baselinestretch\parskip}\nobreak

  • One
  • Two

Stuff and nonsense

\EndKnitrBlock{Thought}



BathMASH/clavertondown documentation built on Oct. 13, 2023, 6:25 p.m.