Skip to main content

BEd: Beamer Editor, GUI for LaTeX Beamer presentations.

Project description

BEd: Beamer Editor

Copyright 2015-2024 Jean-Baptiste Delisle

BEd is a Beamer (LaTeX presentation) GUI. It allows you to create and edit Beamer presentations using the mouse to move/resize/crop/... images (or Tikz pictures), text blocks, and arrows.

How does it work?

The file format used by BEd is a standard .tex file which can also be compiled outside of BEd. In order to be able to edit a .tex file in BEd you need to load the 'bed' LaTeX package (\usepackage{bed} in the preamble). This package defines four new LaTeX commands (which are easily added/modified within BEd):

  • \img (image)
  • \tkp (Tikz picture)
  • \txt (text block)
  • \arw (arrow)

BEd parses the .tex file (plus the .log file that is created when compiling) in order to find all these elements and uses the pdf generated by pdflatex for the rendering. BEd extracts from each page of the pdf a preview of each element (img, tkp, txt, arw) appearing in it. You can then move, resize... these elements with the mouse and the preview is updated in live. This preview is based on a crude modification of the images extracted from the pdf. In order to see the final pdf rendering, you need to recompile the file (which generally takes a few seconds). The whole point of the live rendering is that it allows you to perform most of the modifications using the mouse seamlessly.

Features:

  • Group/ungroup elements
  • Align elements (or groups) between them and/or on a grid (magnetism)
  • Move elements (or groups) in depth
  • Copy/cut/paste (elements, groups, or whole frame)
  • Save (and use) frame templates
  • Preview current frame (recompile only the current frame, to save time)
  • Complete reloading (recompile the whole document)
  • Actions using the mouse:
    • click at the center of an object (or group) to move it
    • click on the borders/corners to resize
    • maintain shift to resize without preserving ratio (images)
    • maintain meta (Windows key) to rotate (center of rotation depends on click location)
    • maintain meta+shift to crop an image
    • double-click to edit (element, group, or frame) properties
    • use the mouse wheel over a selected arrow to change its line width
    • maintain ctrl and use the mouse wheel to zoom
  • Hyperlinks, pdfpc, and movies: It is also possible to add an hyperlink to an image (\img), using the "Link" field. For users of the pdfpc viewer, this can be used to include a movie in the presentation. You only need to put "run:filename" in the "Link" field (see the pdfpc manual for more details). With another pdf viewer, the movie will probably be played in an external player.
  • Syntax highlighting: If available, BEd uses the pygments library to add syntax highlighting to LaTeX commands.

Dependencies:

BEd is written in python3 and uses the Qt6 framework (PySide6). You need to have python3, PySide6, and the pymupdf library installed on your system. You also need to have a working latex installation. BEd optionally depends on the pygments library for syntax highlighting.

Install:

Arch Linux

Using pip:

  • pip install bed-latex

License:

GPLv3+

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bed_latex-2.0.1.tar.gz (88.1 kB view details)

Uploaded Source

File details

Details for the file bed_latex-2.0.1.tar.gz.

File metadata

  • Download URL: bed_latex-2.0.1.tar.gz
  • Upload date:
  • Size: 88.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for bed_latex-2.0.1.tar.gz
Algorithm Hash digest
SHA256 0fcdb12c31ade01de071b58e7ba9e53aeb861e6cef056cac46efaea2b072c158
MD5 4aea00b945e759f0fbd331fc2d5c0466
BLAKE2b-256 11e5872b54606453d0019de10585d9b66cb13b85a80df2f40ef50f5e7d575ed7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page