Customizing IPython notebook / Jupyter slide show

一笑奈何 提交于 2019-12-21 12:01:02

问题


I created a slideshow using the slideshow feature of IPython notebook / Jupyter, which works fine. I created and hosted the slides via ipython nbconvert ... which works fine too. But I cannot find any information how to customize the slides. Obviously I have to customize Reveal.js which is not very well documented too.

Can somebody give a starting point on how to get some copyright, logo, ... in the header/footer of my presentation?


回答1:


Reveal.js is really just a web template. If you want to customize it further, CSS/Javascript knowledge will be required.

A straightforward way to define header/footer is to change the CSS

.slides .header{
  position:absolute;
  top: -50%;
  left: -50%;
}
.slides .footer{
  position:absolute;
  bottom: 50%;
  left: -50%;
}

You can then insert your footer contents

<div class="footer">
   <p>Copyright ACME Incorporated ©2016</p>
</div>


来源:https://stackoverflow.com/questions/33420079/customizing-ipython-notebook-jupyter-slide-show

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!