Search found 5 matches

by janicki
Wed Mar 24, 2010 2:17 pm
Forum: General
Topic: Hover box
Replies: 2
Views: 5548

Re: Hover box

Thank you. Pretty cool package. :)
by janicki
Tue Mar 23, 2010 2:04 pm
Forum: General
Topic: Hover box
Replies: 2
Views: 5548

Hover box

Using hyperref package it is possible to make a box, which appears after hovering text. E.g.: \href{mailto:user@domain}{user@domain}
Is it possible in Latex to make such a box over normal text, which isn't a reference, hyperlink or something like that?
by janicki
Sat Jan 16, 2010 2:59 pm
Forum: Document Classes
Topic: Command name concatenation
Replies: 5
Views: 5174

Command name concatenation


I could be wrong, but I don't think it is possible to use variables of any sort in new command declarations (...)

It is possible. I create "dynamically" commands this way:

\newcommand{\addnextcommand}[3]{
\stepcounter{counter}
\expandafter\newcommand\expandafter{\csname basename\roman ...
by janicki
Sat Jan 16, 2010 1:36 am
Forum: Document Classes
Topic: Command name concatenation
Replies: 5
Views: 5174

Re: Command name concatenation

Oh boy, READ CAREFULLY, if that was so simple, I wouldn't bother u. :P
I wrote that a set of commands theoretically can be infinite.
You solved problem for my simple example. What if there will be 200 of such defined commands? :P I can't know that number! That is why I need to concatenate command ...
by janicki
Fri Jan 15, 2010 7:19 pm
Forum: Document Classes
Topic: Command name concatenation
Replies: 5
Views: 5174

Command name concatenation

How can I concatenate a base name of my command with something returned by counter?
These are defined commands (theoretically may be an infinite set):
\basenamei
\basenameii
\basenameiii
I'd like to call one of them depending on what is returned by \roman{counter}.
How can I do it?