1 |
Hi, |
2 |
|
3 |
Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>: |
4 |
|
5 |
> I'm using this for development: |
6 |
> |
7 |
> \newcommand{\featureref}[1]{\b{feat:#1} on page~\pageref{feat:#1}} |
8 |
> \newcommand{\compactfeatureref}[1]{\b{feat:#1}~p\pageref{feat:#1}} |
9 |
> \newcommand{\featurelabel}[1]{\label{feat:#1} |
10 |
> \visiblelabel{feat:#1} } \newcommand{\visiblelabel}[1]{\b{[#1]}} |
11 |
|
12 |
What you use is not really important as long as you use the new |
13 |
commands and they will be defined in such a way that they use the |
14 |
\label and \ref commands. <- Great sentence. Do you really want to |
15 |
bold the references? You will visually overload the page. For |
16 |
proof-reading this may be ok, but the end version should use \emph. |
17 |
|
18 |
> Is this going to work, or do I need to change how I'm doing anything? |
19 |
> Can you suggest a better \featurelabel that does the margin box thing |
20 |
> and that will work even if placed in an \item or \table or whatever? |
21 |
|
22 |
\newcommand{\featurelabel}[1]{\marginpar{\framebox{feat:#1}}\label{feat:#1}} |
23 |
was my initial idea. and kill \visiblelabel. Lists should be no |
24 |
problem, table is...so I had a look around and my friend Markus Kohm |
25 |
has a solution: |
26 |
|
27 |
\usepackage{marginnote} % written by Markus Kohm and available in |
28 |
% TeXLive |
29 |
|
30 |
\newcommand{\featurelabel}[1]{\marginnote{\framebox{feat:#1}}\label{feat:#1}} |
31 |
|
32 |
V-Li |
33 |
|
34 |
-- |
35 |
Christian Faulhammer, Gentoo Lisp project |
36 |
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode |
37 |
|
38 |
<URL:http://gentoo.faulhammer.org/> |