Search found 4 matches

by littlegolem
Mon Jun 11, 2012 10:30 pm
Forum: General
Topic: Redefining the \label macro doesn't work
Replies: 4
Views: 2787

Redefining the \label macro doesn't work

Thanks, the showlabels package was just right for me. However, I still wonder why my small invention did not work. Isn't it possible to use \renewcommand on the \label macro?
by littlegolem
Mon Jun 11, 2012 9:03 pm
Forum: General
Topic: Redefining the \label macro doesn't work
Replies: 4
Views: 2787

Redefining the \label macro doesn't work

Hi! For making it easier to find specific equations in the code, I have created a flag PRINTLABELS that enables the equation labels to be written above the equations and put this code in the preamble:

\robustify{\label}
\iftoggle{PRINTLABELS}{
\let\oldLabel\label
\renewrobustcmd{\label}[1 ...
by littlegolem
Sat May 12, 2012 12:07 am
Forum: Text Formatting
Topic: How do I: Prevent words from line break separation
Replies: 3
Views: 21005

Re: How do I: Prevent words from line break separation

Hi, I tried to use \mbox in a section title on an abbreviation I didn't want LaTeX to separate; well, it worked, but now LaTeX complains on an overfull \hbox instead since it apparently keeps the abbreviation on the same row.

Why can't it just put it on the next row? It I want to give LaTeX a hint ...
by littlegolem
Sun Apr 29, 2012 4:52 pm
Forum: LyX
Topic: More text styles
Replies: 1
Views: 1741

More text styles

I wonder why there aren't more text styles in LyX to choose from? I want to add my institution, my program, profile as well as the abbreviation "ISRN" before the title of a report I am writing, but there aren't any suitable text style to choose from. I think this should be in the before text section ...