Search found 16 matches

by Herder
Sat Aug 16, 2008 10:04 am
Forum: General
Topic: General floating object with caption
Replies: 17
Views: 8856

Re: General floating object with caption

Yes, it is a non-standard class, I know. Unforunately, I have to use this class.
I tidied up the class-file a little bit (e. g. including the hyperref-package after all the other packages) and now, the references seem to work.

Thank you very much for your help! :D
by Herder
Fri Aug 15, 2008 11:57 pm
Forum: General
Topic: General floating object with caption
Replies: 17
Views: 8856

General floating object with caption

This example works well. Reference and link are correctly set up. Sorry for confusing references with links in my last posts.

I attached a listing of all files included in my document. I also noticed some warnings like

pdfTeX warning (dest): name{MyFloatObject.4.5} has been referenced but does ...
by Herder
Fri Aug 15, 2008 7:48 pm
Forum: General
Topic: General floating object with caption
Replies: 17
Views: 8856

Re: General floating object with caption

Your example doesn't work for me, there is no link when referencing the label. Attached is the log-file. Strange ... In my document, there are links, but all leading to the beginning of the document.
by Herder
Fri Aug 15, 2008 5:07 pm
Forum: General
Topic: General floating object with caption
Replies: 17
Views: 8856

Re: General floating object with caption

That did it! I reinstalled the caption-package and now it works like a charm.

By the way, is there any special thing i need to pay attention when using labels in self-defined floating objects? Because these labels are the only ones left causing undefined references.
by Herder
Fri Aug 15, 2008 11:10 am
Forum: General
Topic: General floating object with caption
Replies: 17
Views: 8856

Re: General floating object with caption

I figured out, that it has something to do with the caption-package. Using the caption2-package solves the problem of having undefined references, but there is no way to format the captions of my freshly generated floating objects. Thus, the captions of the standard floats figure/table have another ...
by Herder
Fri Aug 15, 2008 10:37 am
Forum: General
Topic: General floating object with caption
Replies: 17
Views: 8856

Re: General floating object with caption

I just noticed, that all my references are undefined since I added the caption/float stuff.

Any ideas, why?
by Herder
Fri Aug 15, 2008 8:43 am
Forum: General
Topic: General floating object with caption
Replies: 17
Views: 8856

General floating object with caption

That is exactly the way I use these packages. Is there a problem with setting references before the use of such a floating object? Example:


Just a test. As you see in \ref{myf:test1}...

\begin{Myfloat}
\centering
\fbox{\parbox{8cm}{\lipsum[1]}}
\caption{another simple example}
\label{myf ...
by Herder
Thu Aug 14, 2008 4:23 pm
Forum: General
Topic: General floating object with caption
Replies: 17
Views: 8856

Re: General floating object with caption

Another drawback: the \label{} command doesn't seem to work in self-defined floats. There will be undefined references when referencing a label of such a float. Any idea how to fix this?
by Herder
Thu Aug 14, 2008 4:00 pm
Forum: General
Topic: General floating object with caption
Replies: 17
Views: 8856

General floating object with caption

Ok, combining the caption and float packages works well. There is only one little thing left, I don't get managed:

When i define my own floating object using the floatstyle "boxed", this boxed object always spans the whole site width. But i want it to dynamically adjust to its content, so that i ...
by Herder
Thu Aug 14, 2008 10:35 am
Forum: General
Topic: General floating object with caption
Replies: 17
Views: 8856

General floating object with caption

Hi Stefan_K,

this is exactly what I searched for, thanks.

But: Is there a way to omit the automatically generated prefix of the caption (e. g. "figure 1.3: text ...")? And can i define a own tag that will be used when referencing that figure?