LyXRemoving hyphenation, adding superscript refs

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Complex Buttons
Posts: 1
Joined: Sun Oct 21, 2007 1:11 am

Removing hyphenation, adding superscript refs

Post by Complex Buttons »

Hi,
I need to remove hyphenation from the document I am working on. I read that I have to add the string \hyphenpenalty=100000 to the LaTeX preamble in LyX, but I did so, and it had no effect on anything. How do I do it?

Also, I'd like to have my reference numbers in superscript. In case I am not using the correct terminology, I'll give an example. I get this:

Blah blah blah.[1]

[1] Blah.

But I want this:

Blah blah blah.^[1].

[1] Blah.

--

EDIT: Found solution to the latter problem. The string \def\@cite#1{\textsuperscript{[#1]}} must be added to LaTeX preamble.

Recommended reading 2024:

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

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

bektom
Posts: 1
Joined: Thu Nov 08, 2007 1:56 pm

Re: Removing hyphenation, adding superscript refs

Post by bektom »

Hi,

I don't know about hyphenation, but I had the same problem with references:

The official lyx website has a solution (I think JMArc is the one who posted it), but I put here
the lyx 1.5.1 solution, which worked:


Documents/Settings/Latex Preamble and write in the box> \usepackage{overcite}


Good Luck
Post Reply