Text Formatting\showhyphens

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Gilza
Posts: 5
Joined: Sun Feb 06, 2011 9:45 pm

\showhyphens

Post by Gilza »

I´m studying latex and try, as exercice, the command

\showhyphens{summation reductile latticord}

that did not work as expected. Why?
The packages I´m using:

\usepackage{amsmath,amsthm,amsfonts,amssymb,amscd}
\usepackage{indentfirst}
\usepackage{graphicx}
\usepackage{color}
\usepackage{longtable}
\usepackage[latin1]{inputenc}
\usepackage[portuges]{babel}

Thanks a lot for the attention.

Gilza
Last edited by Gilza on Tue Apr 12, 2011 10:15 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

\showhyphens

Post by localghost »

Please clarify what you expect by a full but minimal example [1]. Possible hyphenations are shown on the terminal during compilation and in the log file.

[1] View topic: Avoidable mistakes


Best regards and welcome to the board
Thorsten
Gilza
Posts: 5
Joined: Sun Feb 06, 2011 9:45 pm

\showhyphens

Post by Gilza »

I need typeset:
sum-ma-tion re-ducible lat-ti-coid
and didn´t get with the code bellow
Thanks for the attention

Code: Select all

\documentclass[11pt,openany,brazil,reqno]{article}
%\usepackage{showidx}
\usepackage{amsmath,amsthm,amsfonts,amssymb,amscd}
\usepackage{indentfirst}
\usepackage{graphicx}
\usepackage{color}
\usepackage{longtable}
\usepackage[latin1]{inputenc}
\usepackage[portuges]{babel}
\usepackage{verbatim}
%
begin{document}
\showhyphens{summation reductile latticord}
%
\end{document}
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

\showhyphens

Post by Stefan Kottwitz »

Hi Gilza,

you could use the command \hypenation to achieve the desired hyphenation.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

\showhyphens

Post by localghost »

Gilza wrote:I need typeset:
sum-ma-tion re-ducible lat-ti-coid
and didn´t get with the code bellow […]
As I already said possible hyphenations are shown in the terminal and log file and not in the document. The provided code does not produce output because the actual document has no content. Nevertheless the hyphenations are shown in the log file.
Post Reply