1 |
On Fri, 10 Apr 2009 19:05:12 +0200 |
2 |
Christian Faulhammer <fauli@g.o> wrote: |
3 |
> > I'm using this for development: |
4 |
> > |
5 |
> > \newcommand{\featureref}[1]{\b{feat:#1} on |
6 |
> > page~\pageref{feat:#1}} |
7 |
> > \newcommand{\compactfeatureref}[1]{\b{feat:#1}~p\pageref{feat:#1}} |
8 |
> > \newcommand{\featurelabel}[1]{\label{feat:#1} |
9 |
> > \visiblelabel{feat:#1} } \newcommand{\visiblelabel}[1]{\b{[#1]}} |
10 |
> |
11 |
> What you use is not really important as long as you use the new |
12 |
> commands and they will be defined in such a way that they use the |
13 |
> \label and \ref commands. |
14 |
|
15 |
Goodgood. |
16 |
|
17 |
> Do you really want to bold the references? You will visually |
18 |
> overload the page. For proof-reading this may be ok, but the end |
19 |
> version should use \emph. |
20 |
|
21 |
I don't really mind what they look like. Those commands I wrote were |
22 |
just things I could get working quickly. I'll leave the "making it look |
23 |
pretty" to you or anyone else who feels like messing with it. |
24 |
|
25 |
> > Is this going to work, or do I need to change how I'm doing |
26 |
> > anything? Can you suggest a better \featurelabel that does the |
27 |
> > margin box thing and that will work even if placed in an \item or |
28 |
> > \table or whatever? |
29 |
> |
30 |
> \newcommand{\featurelabel}[1]{\marginpar{\framebox{feat:#1}}\label{feat:#1}} |
31 |
> was my initial idea. and kill \visiblelabel. Lists should be no |
32 |
> problem, table is...so I had a look around and my friend Markus Kohm |
33 |
> has a solution: |
34 |
> |
35 |
> \usepackage{marginnote} % written by Markus Kohm and available in |
36 |
> % TeXLive |
37 |
> |
38 |
> \newcommand{\featurelabel}[1]{\marginnote{\framebox{feat:#1}}\label{feat:#1}} |
39 |
|
40 |
Hokey, I'll start playing with those. Thanks. |
41 |
|
42 |
-- |
43 |
Ciaran McCreesh |