daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Sep 23rd, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defun narrowtable ()
  2. "narrowing on table environment"
  3. (interactive)
  4. (beginning-of-buffer)
  5. (save-excursion  
  6.   (search-forward "begin{table}")
  7.   (LaTeX-narrow-to-environment)
  8.   (goto-char (point-min))
  9.   (query-replace "X" "B"); Just some query-replace
  10.   (widen)
  11. )
RAW Paste Data
Top