问题描述
我使用IPython笔记本/Jupyter的幻灯片功能创建了幻灯片,效果很好.我通过ipython nbconvert ...
创建并托管了幻灯片,效果也很好.但是我找不到任何有关如何自定义幻灯片的信息.显然,我必须自定义Reveal.js
,该文档也没有很好地记录.
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?
推荐答案
Reveal.js
实际上只是一个Web模板.如果要进一步自定义它,则需要CSS/Javascript知识.
Reveal.js
is really just a web template. If you want to customize it further, CSS/Javascript knowledge will be required.
定义页眉/页脚的一种直接方法是更改CSS
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>
这篇关于自定义IPython笔记本/Jupyter幻灯片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!