ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

La​Te​X Accents

by kpym ALL

Decode and encode letters with accents in LaTeX

Details

  • 2018.04.02
  • github.​com
  • github.​com
  • 7 years ago
  • 2 weeks ago
  • 12 years ago

Installs

  • Total 3K
  • Win 1K
  • Mac 1K
  • Linux 786
Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

LaTeXAccents for Sublime Text 2 and 3

This is a plugin for Sublime Text 2 and Sublime Text 3. It decode and encode letters with accents in LaTeX files.

Installation

Using Package Control, install “LaTeX Accents”.

Or manualy:

1a. open the Sublime Text Packages folder

  • for ST2
    • OS X: ~/Library/Application Support/Sublime Text 2/Packages/
    • Windows: %APPDATA%/Sublime Text 2/Packages/
    • Linux: ~/.Sublime Text 2/Packages/
  • for ST3
    • OS X: ~/Library/Application Support/Sublime Text 3/Data/Packages/
    • Windows: %programfiles%/Sublime Text 3/Data/Packages/
    • Linux: ~/.Sublime Text 3/Data/Packages/
  1. clone this repo (git clone git://github.com/kpym/SublimeLaTeXAccents LaTeXAccents).

How to use

To transform all letters with accents (like é,à,î, …) to LaTeX accents (\'e, `a, \^\i, … ) :

  1. open Command Pannel (Ctrl+Shift+P by default);
  2. select “LaTeXAccents: Encode accents” ( hint : you can type something shorter like “ltxenc”).

To transform all letters with LaTeX accents (\'e, `a, \^\i, …) to letters with accents (like é,à,î, …):

  1. open Command Pannel (Ctrl+Shift+P by default);
  2. select “LaTeXAccents: Decode accents” ( hint : you can type something shorter like “ltxdec” )

To remove accents from all letters (letters é,à,î,… became e,a,i,… ) :

  1. open Command Pannel (Ctrl+Shift+P by default);
  2. select “LaTeXAccents: Remove accents” ( hint : you can type something shorter like “ltxrmv”).

Hint : If your file contains accents you should :

  1. save the file using appropriate encoding (for example ISO 8859-1 or UTF-8);
  2. use : \usepackage[...]{inputenc} with the corresponding encoding (for example latin or utf8}.

Commands

  • encode_latex_accents: Encode all letters with accents to latex accents.
  • decode_latex_accents: Decode all letters with latex accents to 'normal' letters with accents.
  • remove_accents: Remove all accents from 'normal' letters with accents.