自定义IPython笔记本/Jupyter幻灯片

编程入门 行业动态 更新时间:2024-10-07 20:28:40
本文介绍了自定义IPython笔记本/Jupyter幻灯片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我使用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幻灯片

本文发布于:2023-10-31 10:24:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1545802.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:自定义   幻灯片   笔记本   IPython   Jupyter

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!