Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added source/_static/pdf/tutorials/DFX_Pt2.pdf
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 60 additions & 0 deletions source/docs/tutorials/pages/rst_tutorial/page2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
.. raw:: html


<h1 style="text-align: center;">Embedding Slides (PDFs)</h1>

Code for Embedding a PDF slide deck

.. code-block:: rst

.. raw:: html

:download:`Download the DFX Part 2 PDF <images/DFX_pt2.pdf>`

<div style="text-align: center;">
<iframe
src="slides/presentation.pdf"
width= 80%
height="600">
</iframe>
</div>

Folder Structure:

.. code-block:: rst

rst_project/
├── index.rst
├── index.html
├── tutorial.rst
├── tutorial.html
└── images/
└── presentation.pdf

:download:`Download the DFX Part 2 PDF <../../../../_static/pdf/tutorials/DFX_Pt2.pdf>`

.. raw:: html

<div style="text-align: center;">
<iframe
src="../../../../_static/pdf/tutorials/DFX_Pt2.pdf"
width="80%"
height="600">
</iframe>
</div>

You can always play with the percentages and the max pixels.

**DON'T FORGET TO GIVE THE USER A WAY TO GO BACK!**

`GO BACK <rst_tutorial.html>`_

There's also the back button on PC, but phone users will probably appreciate the button.

.. raw:: html

<br>

.. raw:: html

<br>
Loading