• Stars
    star
    152
  • Rank 244,685 (Top 5 %)
  • Language
    Emacs Lisp
  • Created over 10 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Magical syntax highlighting for LaTeX-mode buffers

magic-latex-buffer.el

Magically enhance LaTeX-mode font-locking for semi-WYSIWYG editing.

LaTeX-mode のシンタックスハイライトを激しく

Screencast

imgs/screencast.gif

Other examples

  • make it readable a mess of commands

    imgs/readability.gif

  • highlight decorated blocks (note that nested blocks are also highlighted correctly)

    imgs/nested_blocks.gif

  • align centered/flushed blocks

imgs/alignment.gif

  • inline image preview powered by iimage-mode
  • fix inline-math highlighting for documents with multi-byte characters

Installation

  1. Install an unicode font supporting many symbols (eg. Symbolas, Unifont, etc).
  2. Put magic-latex-buffer.el into a “load-path”ed directory, and load it in your init file:
    (require 'magic-latex-buffer)
        

You can activate the magic with M-x magic-latex-buffer in a latex-mode buffer. If you want to activate automatically, add the function to the mode hook.

(add-hook 'latex-mode-hook 'magic-latex-buffer)

Customizations

You can disable some features independently, if they’re too fancy.

(setq magic-latex-enable-block-highlight nil
      magic-latex-enable-suscript        t
      magic-latex-enable-pretty-symbols  t
      magic-latex-enable-block-align     nil
      magic-latex-enable-inline-image    nil
      magic-latex-enable-minibuffer-echo nil)

Known Issues

  • Not perfectly compatible with multiple-cursors (but still usable)

More Repositories

1

sublimity

Smooth-scrolling and minimap like sublime editor
Emacs Lisp
483
star
2

indent-guide

Show vertical lines to guide indentation
Emacs Lisp
348
star
3

MEGAMOJI

Create animoji easily
Vue
312
star
4

symon

Tiny graphical system monitor
Emacs Lisp
292
star
5

togetherly

Allow multiple clients to edit a single file on-line
Emacs Lisp
143
star
6

phi-search

Another incremental search command, compatible with “multiple-cursors”
Emacs Lisp
119
star
7

sky-color-clock

A clock widget for modelines with real-time sky color and moonphase/weather icon
Emacs Lisp
108
star
8

git-complete

Yet another completion engine powered by "git grep"
Emacs Lisp
66
star
9

ewow

Use Emacs command (almost) everywhere
AutoHotkey
60
star
10

electric-align

Insert a certain amout of spaces at once to easily align columns
Emacs Lisp
52
star
11

scad-preview

Preview SCAD models in real-time in Emacs
Emacs Lisp
43
star
12

setup

Helper macros to write faster, portable and robust init script
Emacs Lisp
40
star
13

bfbuilder

A brainfuck development environment with interactive debugger
Emacs Lisp
39
star
14

lenlen-theme

A solarized-based kawaii light theme
Emacs Lisp
31
star
15

phi-grep

Interactively-editable recursive grep implementation in elisp
Emacs Lisp
30
star
16

electric-case

Insert camelCase, snake_case words without "Shift"ing
Emacs Lisp
26
star
17

ac-c-headers

auto-complete source for C headers and symbols in headers
Emacs Lisp
25
star
18

spray

[Emacs] An elisp implementation of OpenSpritz
Emacs Lisp
24
star
19

jaword

Minor-mode for handling Japanese words better
Emacs Lisp
23
star
20

cedit

paredit-like commands for C-like languages
Emacs Lisp
22
star
21

highlight-stages

Highlight staged (quasi-quoted) expressions
Emacs Lisp
21
star
22

elemental-theme

WIP An elemental theme
Emacs Lisp
20
star
23

download-region

Simple in-buffer download manager for Emacs
Emacs Lisp
15
star
24

rpn-calc

Handy RPN calculator for hackers
Emacs Lisp
12
star
25

1x2x3-keyboard

DIY keyboard for everyone
OpenSCAD
12
star
26

company-anywhere

enable company in middle of symbols
Emacs Lisp
11
star
27

CHUNITHMRateAnalyzer

[Game]
JavaScript
11
star
28

dotfiles

Emacs Lisp
11
star
29

phi-rectangle

Another rectangle-mark command
Emacs Lisp
11
star
30

scratch-pop

Popup scratch buffer
Emacs Lisp
9
star
31

switch42-keyboard

My first DIY keyboard / 3x6+3 split ortho
OpenSCAD
9
star
32

automargin

[Emacs] Automatically add margins to windows
Emacs Lisp
8
star
33

gemini-keyboard

My endgame split ergo of this month
Shell
7
star
34

key-chord

zk-phi's fork of key-chord with `safety-interval'
Emacs Lisp
6
star
35

company-dwim

company port of ac-dwim
Emacs Lisp
6
star
36

scratch-palette

Add notes on each files
Emacs Lisp
6
star
37

electric-spacing

Insert spaces automatically between user-defined patterns
Emacs Lisp
5
star
38

composition-keyboard

A ChocV2 ortho
Shell
5
star
39

pollux-keyboard

A row staggered narrow-pitched 3 x 6 + 2 split
OpenSCAD
5
star
40

CHUNITHMRateAnalyzerSTAR

[Game] I am a star
JavaScript
5
star
41

phi-kbd-library

zk-phi's keyboard library for KiCAD
OpenSCAD
4
star
42

philisp

WIP zk_phi's experiment towards a simple, happy-hacking language
C
4
star
43

git-context-switch

context switch for git
Emacs Lisp
4
star
44

company-same-mode-buffers

Company backend like `ac-source-words-in-same-mode-buffers'
Emacs Lisp
4
star
45

phi-autopair

Anohter simple-minded autopiar
Emacs Lisp
3
star
46

phi-search-migemo

migemo extension for phi-search
Emacs Lisp
3
star
47

outlined-elisp-mode

outline-minor-mode settings for emacs lisp
Emacs Lisp
3
star
48

kastor-keyboard

3 rows keyboard with thumb keys
OpenSCAD
3
star
49

equilibrium-keyboard

A compact transparent keyboard
Shell
3
star
50

gitmole

WIP Interactive recursive blame tool for digging into git repos
Emacs Lisp
3
star
51

ewow-evil

A vim's normal-mode implementation for EWOW
AutoHotkey
3
star
52

code8903

A coding font based on JISZ8903
Makefile
2
star
53

zombie

Major mode for editing ZOMBIE programs
Emacs Lisp
2
star
54

KP-19

A 'meishi'-sized experimental 4-keypad with audio-sync lightshow
Shell
2
star
55

ewow-autopair

An autopair extension for EWOW
AutoHotkey
2
star
56

keyboard-acrylic-case-tutorial

Materials for tutorial
OpenSCAD
2
star
57

symon-lingr

A notification-based Lingr client powered by symon.el
Emacs Lisp
2
star
58

cssdebug

Simple css layout debugger in pure js
JavaScript
2
star
59

smallworld-visualizer

[Web] Visualizer for building a deck with the card smallworld
TypeScript
2
star
60

kusocolla-republic

背景抜き太郎
JavaScript
1
star
61

negaposi-slicer

Slice images with pixel value
JavaScript
1
star
62

dired-explore

MS Explorer-like incremental search for dired
Emacs Lisp
1
star
63

parametric-key-layout-model

A parametric OpenSCAD model for previewing keyboard layouts
OpenSCAD
1
star
64

git-submodule-update-checker

[Git] Command-line tool for checking submodule updates in batch mode
Emacs Lisp
1
star
65

lambda_to_lazyk

A Lambda Calculus to Lazy K translator
1
star
66

phi-search-dired

Interactive filtering for dired powered by phi-search
Emacs Lisp
1
star
67

slack-to-gcal

Slack slash command to manage Google Calendar events and tasks
JavaScript
1
star
68

affinity-keyboard

A 4x4 macro-pad with a spectrum analyzer IC
Shell
1
star
69

ewow-stickyshift

A stickyshift-key for EWOW
AutoHotkey
1
star
70

glcdfont-tracer

[Keyboard/WIP] glcdfont editor
JavaScript
1
star
71

shingengo-font

[Font] Shingengo font daisuki!!
1
star
72

keyboard-buildguide-common

tips for building diy keyboards
1
star
73

ewow-keychord

A keychord extension for EWOW
AutoHotkey
1
star
74

git-complete-company

git-complete backend for company
Emacs Lisp
1
star
75

ewow-mouse

A mouse control extension based on binary-search, for EWOW.
AutoHotkey
1
star
76

trance-vibrator-resuscitator

Drive ASCII trance vibrator in sync with audio
JavaScript
1
star
77

include-anywhere

Include from anywhere
Emacs Lisp
1
star
78

MJ-4PP-9-breakout

MJ-4PP-9 breakout for breadboards
Shell
1
star
79

morpho-keyboard

An experimental keyboard for tasting multiple layouts with hot-swapping sockets
Shell
1
star
80

commentize-conflict

Minor mode to treat git conflict markers and their changes as comment
Emacs Lisp
1
star
81

acrylic-block-hikaruino

Hikaruino!
Shell
1
star
82

git-multiple-stashes

[Git] Multiple stashes for git
1
star
83

key-combo-web

Per-language key(-combo) bindings for web-mode
Emacs Lisp
1
star
84

shuffle-simulator

WIP Deck shuffle simulator
HTML
1
star
85

alc-tracker

Track drinking activity from within a slack channel
JavaScript
1
star
86

auto-pr

GitHub Action which automatically creates PR to keep a branch in sync with another
JavaScript
1
star
87

show-eof-mode

[Emacs] Minor mode to show [EOF] indicator
Emacs Lisp
1
star