LaTeX forum ⇒ Text Formatting\showhyphens

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

\showhyphens

Postby Gilza » Mon Apr 11, 2011 3:20 pm

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.

User avatar
localghost
Site Moderator
Posts: 9203
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Mon Apr 11, 2011 5:09 pm

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
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

Gilza
Posts: 5
Joined: Sun Feb 06, 2011 9:45 pm

Postby Gilza » Tue Apr 12, 2011 1:19 pm

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

\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: 9705
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue Apr 12, 2011 5:33 pm

Hi Gilza,

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

Stefan
LaTeX.org admin

User avatar
localghost
Site Moderator
Posts: 9203
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Tue Apr 12, 2011 5:41 pm

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.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 8 guests