首頁 > 系統教程 > Linux > 主體

Linux終端機中展示幻燈片的方法

王林
發布: 2024-02-12 10:48:18
轉載
1148 人瀏覽過

簡報通常會讓人感到乏味。因此,有些人會添加動畫、漫畫或meme等元素,以增加一些幽默和風格,以打破單調的氛圍。

如果您需要在您的大學或公司的簡報中添加一些獨特的風格,那麼考慮使用Linux終端如何呢?想像一下,這將是多麼酷的事情啊!

Linux終端機中展示幻燈片的方法

Present:Linux 終端機中進行示範

在終端機中可以做很多有趣好玩的事情。製作和展示幻燈片只是其中之一。

這個基於 Python 的應用程式名為 Present,它可以讓你創建基於 Markdown 和 YML 的幻燈片,你可以在你的大學或公司裡演講,並以真正的極客風格取悅人們。

Present 的功能

你可以用 Present 做以下事情:

  1. 使用 Markdown 語法在幻燈片中加入文字
  2. # 用箭頭或 PgUp/Down 鍵控制投影片
  3. # 改變前景和背景顏色
  4. 在幻燈片中新增圖像
  5. 增加程式碼區塊
  6. 播放模擬程式碼,並以 codio YML 檔案輸出

在 Linux 上安裝 Present

Present 是一個基於 Python 的工具,你可以使用 PIP 來安裝它。你應該確保用這個命令在 Ubuntu 上安裝 Pip:

  1. sudo apt install python3-pip

如果你使用的是其他發行版,請檢查你的套件管理器來安裝 PIP3。

安裝 PIP 後,你就可以以這種方式全域安裝 Present:

  1. sudo pip3 install present

#你也可以只為目前使用者安裝,但你也必須將 ~/.local/bin 加到你的 PATH 環境變數。

在 Linux 終端機中使用 Present 來建立和展示投影片

Linux終端機中展示幻燈片的方法

由於 Present 使用了 Markdown 語法,你應該用它來創建自己的幻燈片。在這裡使用 Markdown 編輯器會有幫助。

Present 需要一個 Markdown 檔案來讀取和播放幻燈片。你可以下載這個範例投影片,但你需要單獨下載嵌入的圖像,並將它放在圖像資料夾內。

  • Use in Markdown files to separate slides.
  • Add text to your slides using Markdown syntax.
  • Add an image using the following syntax ![RC] (images/name.png).
  • Change the color of your slides by adding syntax like .
  • Use syntax like to add slideshows with effects.
  • Use codio syntax to add code to run the simulation.
  • Use q to exit the presentation and use the left/right arrows or PgUp/Down keys to control the slideshow.

Keep in mind that resizing the terminal window while demoing will mess things up, as will pressing Enter.

Summarize

If you are familiar with Markdown and the terminal, using Present will not be difficult for you.
You can't compare it to regular slideshows made with Impress, MS Office, etc., but for occasional use, it's a cool tool. If you're a computer science/networking major, or a developer or sysadmin, your colleagues will definitely find this interesting.

以上是Linux終端機中展示幻燈片的方法的詳細內容。更多資訊請關注PHP中文網其他相關文章!

來源:lxlinux.net
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!