daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Sep 23rd, 2017 48 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top