How to have "running heads" in a Jupyter Notebook slide show? - jupyter-notebook

I am designing a Jupyter Notebook "slide show" with menu View > Cell Toolbar > Slideshow and then Slide Type: Slide.
Eventually, I convert it with:
jupyter nbconvert jupyter_slides.ipynb --to slides --post serve
like in How to Make a Portable Jupyter Slideshow.
When doing presentations with LaTeX you can have the current chapter's title automatically present on top of each slide (that is called "running heads" in book design):
How to do this with a Jupyter Notebook slide show?

Related

nbconvert cut off markdown images when converting notebook

I am trying to convert a Jupyter Notebook, containing markdown and code cells to pdf via jupyter nbconvert --to pdf notebook.ipynb.
This works well as expected, however I have troubles to display images which are set into markdown tables like:
Figure1 | Figure 2
:-------------------------:|:-------------------------:
![](first.jpg) | ![](second.jpg)
for more than two images, the pdf is perfectly rendered and the images are displayed next to each other without any problems.
However, for exactly two images, the images are much too big and the second image gets cut off (all images have same size).
Is there any quick-fix to solve this issue? The notebook has a lot of images, so I want to avoid changing every markdown table.

How to embed voila in slides from localhost?

I have a rendered voila with just a graph but with interactive slider. Suppose this is the link :
http://localhost:8888/voila/render/Untitled2.ipynb
How can I embed this in slides so I can move the slider also in a slide, particularly in PowerPoint?

nbsphinx - Align figure to center

I include images in in a markdown cell using the command: ![logo](images/jupyter.png). In jupyter notebook it is rendered aligned on center. However, when i compile the html with sphinx, using nbsphinx extension, the images align on left. Is there a command to centralize them? I read all the nbsphinx documentation and did not find anything.

Text aligned from right to left on Jupyter notebook

I'm running the Jupyter notebook from local Ubunto machine in Windows 10.
The problem is that all the text is aligned to the right side of the screen, including the menu - the "Files" tab for example is on the most right side.
It is very hard to read the text this way.
Is there a way to "convince" the Jupyter notebook to lunch as left to right language?
I tried to define the locale parameters and now everything is en_US.UTF-8.
I also tried to run the jupyter notebook from Edge and Chrome but both lunch with text aligned to the right.
I don't see this problem at other sites, but I don't think it is Jupyter specific issue.
image of my Jupyter Notebook
It turned out that it was the Google Chrome setting after all.
I needed to change the language setting so that the English will be on the top preference.
Jupiter decide it base on browser language as mentioned here. Inside a specific notebook you can press Ctl+Shift+f and select toggle rtl

Jupyter notebook table style changes when saved as html

I'm using jupyter notebook version 5.2.2 with python
When I display a DataFrame in the notebook the table style looks really nice. Especially the alternating grey and white row colors. When I save the notebook as html the nice style disappears.
Is there any way to keep the style that appears in the notebook itself?
Unfortunately, there is no way to achieve this. I have run into this problem before. When you convert the notebook to HTML you lose that styling.

Resources