這次的是,文藝程序員的終極裝X神器——tpp
這是一個在終端上演示PPT的程序,要是哪天演講的時候用它來展示,那真是狂拽酷炫X炸天,分分鐘驚艷全場!
先上效果圖:



這款神器的名字是tpp,安裝也異常簡單
sudo apt-get install tpp
以下是剛才 tpp文件的代碼:
--author Zhang Hongzhen
--title A simple example
--date 2016.01.24
--bgcolor blue
This is the abstract of this presentation.
It may consist of zero or more lines, and may be as long as you want.
--newpage agenda
--heading 這里是目錄
? * 蔡
? * 老
? * 師
? * 最
? * 帥
--newpage intro
--heading Hello World
代碼:
--beginoutput
#include <stdio.h>
int main(void) {
printf("Hello World!");
return 0;
}
--endoutput
將以上代碼保存為 test.tpp,,然后在終端中
zhz@zhz-ThinkPad-Edge-E431:~$ tpp test.tpp
運行就可以播放 ppt 了。其他各種酷炫功能有待嘗試。