Latex Accents Help
Name:Latex Accents
Version:1.5
Last update:2019-11-27 14:12:50






Introduction

This feature allows you to convert between international symbols (available from the keyboard in use) and LaTeX codes. This can be done in two different ways. First, activating the feature adds two new items to the TeX Menu ↣ LaTeX Utilities submenu to convert all of the accented characters in the current window to/from LaTeX codes. Second, key presses that would normally insert accented characters can instead automatically insert the LaTeX code.
This feature is available for both TeX and BibTeX modes, although you must activate it for each mode in order to use the bindings.
Click here to display the TeX Mode Features Preferences and the Bib Mode Features Preferences to activate the package for the corresponding mode.

Latex Accents Preferences

Note that all of the preferences described below are 'attached' to TeX mode, and can only be changed when the current window is in TeX mode, although the preferences do apply to both TeX and BibTeX. All of these prefs can be changed using the Alpha ↣ TeX Mode Setup ↣ Mode Preferences dialog. Here is the signification of the preferences:
Accent Syntax
A choice between different possible syntax for accents and ligatures (i.e. é replaced by \'{e} or \'e, and œ by \oe{}, {\oe} or \oe ) is available via the Accent Syntax preference.
Bind LaTeX Accents
Key-presses for accented characters can be bound to their LaTeX form depending on the above preference: typing é yields \'e (or \'{e}) (set by the Bind LaTeX Accents preference, default is ON).
Accents In Comments
The accented characters can be kept when they appear in comments according to the Accents In Comments preference -- turning the preference on allows the characters to remain undisturbed. Note that this option does not work with the conversion procedures called from the LaTeX Utilities menu.
Accent Smart Escape
When the Accent Smart Escape preference is ON, the LaTeX accents are deleted at once using the backspace key. A single character deletion is bound to Shift+Backspace. Presently works with any character for the
\', \^, \`, \", \~, \c and \v
accents, but not for the
\=, \., \u, \H, \r, \t, \d, \b, and \k
ones.

Known problems

WARNING! this feature deletes several characters at once and uses a general syntax to find accent or ligature patterns; it is not restricted to the syntax chosen in Accent Syntax or the character set used in the conversion procedures. For instance,
\^ { v }
will be recognized as a legal accented v and will be deleted at once. If you are impatient and press the backspace key several time, you will delete extra characters (possibly critical ones such as curly braces), BE CAREFUL if you use this feature!.
Please report any problem or bug you encounter to Alpha's Bug Tracker.

License and Disclaimer

Copyright (c) 1998-2019, Dominique d'Humières.
All rights reserved.
The latexAccents package is free software and distributed under the terms of the new BSD license:
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DOMINIQUE D'HUMIÈRES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.