Skip to content

Instantly share code, notes, and snippets.

@Jacajack
Created January 21, 2018 21:41
Show Gist options
  • Save Jacajack/07326231704bc523f81fc4a8ee1cc260 to your computer and use it in GitHub Desktop.
Save Jacajack/07326231704bc523f81fc4a8ee1cc260 to your computer and use it in GitHub Desktop.
Converts Scilab matrix to Latex
xsel --clipboard | sed 's/ //gi' | sed 's/\./ \& /gi' | sed 's/ & $/ \\\\/g' | xclip -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment