Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Syllabification
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== In TeX === Ports of the TeX hyphenation algorithm are available as libraries for several programming languages, including [[Haskell (programming language)|Haskell]], [[JavaScript]], [[Perl]], [[PostScript]], [[Python (programming language)|Python]], [[Ruby (programming language)|Ruby]], [[C Sharp (programming language)|C#]], and TeX can be made to show hyphens in the log by the command <code>\showhyphens</code>. In [[LaTeX]], hyphenation correction can be added by users by using: <pre>\hyphenation{words}</pre> The <code>\hyphenation</code> command declares allowed hyphenation points in which words is a list of words, separated by spaces, in which each hyphenation point is indicated by a <code>-</code> character. For example, <pre>\hyphenation{fortran er-go-no-mic}</pre> declares that in the current job "fortran" should not be hyphenated and that if "ergonomic" must be hyphenated, it will be at one of the indicated points.<ref>{{cite web |url= http://noodle.med.yale.edu/latex/latex2e-html/ltx-244.html |title= \hyphenation |work= Hypertext Help with LaTeX |publisher= Yale Image Processing and Analysis Group |first1=Sheldon |last1=Green |date=5 Jun 1995 |url-status=live |archive-url=https://web.archive.org/web/20231127043725/http://noodle.med.yale.edu/latex/latex2e-html/ltx-244.html |archive-date= Nov 27, 2023 }}</ref> However, there are several limits. For example, the stock <code>\hyphenation</code> command accepts only [[ASCII]] letters by default and so it cannot be used to correct hyphenation for words with non-ASCII characters (like ''Γ€'', ''Γ©'', ''Γ§''), which are very common in many languages. Simple workarounds exist, however.<ref>{{cite web |url= https://texfaq.org/FAQ-hyphenaccents |title=Accented words aren't hyphenated |work=TeX FAQ |url-status=live |archive-url=https://web.archive.org/web/20231128190033/https://texfaq.org/FAQ-hyphenaccents |archive-date= Nov 28, 2023 }}</ref><ref>{{cite web |url= https://texfaq.org/FAQ-hyphen |title=How does hyphenation work in TeX? |work=TeX FAQ |url-status=live |archive-url= https://web.archive.org/web/20231127043729/https://texfaq.org/FAQ-hyphen |archive-date= Nov 27, 2023 }}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)