Simple Newbie Question.
I'm hoping the answer to this question should be obvious, but I'm having no luck with it. I'm trying to do a layout for a 1-page datasheet. At the very bottom of the page, in some tiny font, I need to put a copyright notice and datasheet ID number. Ideally I'd like to define some fixed text block containing the text (as its exact size and font have not yet been finalized), and then somehow define the height of the footer to be exactly equal to the height of the text block. Once I've done that, I need to place the text in the footer. I've been going back and forth through the scattered bits of ConTeXt manual and the wiki, but I'm having no luck in figuring out how one might do this. -- Stirling Westrup Programmer, Entrepreneur. https://www.linkedin.com/e/fpf/77228 http://www.linkedin.com/in/swestrup http://technaut.livejournal.com
On Wed, Jul 8, 2009 at 2:57 AM, Stirling Westrup
I'm hoping the answer to this question should be obvious, but I'm having no luck with it.
I'm trying to do a layout for a 1-page datasheet. At the very bottom of the page, in some tiny font, I need to put a copyright notice and datasheet ID number.
Ideally I'd like to define some fixed text block containing the text (as its exact size and font have not yet been finalized), and then somehow define the height of the footer to be exactly equal to the height of the text block. Once I've done that, I need to place the text in the footer.
I've been going back and forth through the scattered bits of ConTeXt manual and the wiki, but I'm having no luck in figuring out how one might do this.
Doesn't http://wiki.contextgarden.net/Visuals help you ? -- luigi
Hi all, I want to give the references in the appendix of my work a prefix "A", e.g. eq. (\in[eq:A-somewhat]) referencing to \placeformula[eq:A-somewhat] should produce "eq. (A-1)" if this is the first equation in the appendix. Does ConTeXt have this feature? Thanks for any hint, Albrecht
Albrecht Kauffmann wrote:
Hi all,
I want to give the references in the appendix of my work a prefix "A", e.g. eq. (\in[eq:A-somewhat]) referencing to \placeformula[eq:A-somewhat] should produce "eq. (A-1)" if this is the first equation in the appendix.
Does ConTeXt have this feature?
If you don't mind using a slighty different command: \definereferenceformat [inAeq] [left={eq.~(A-},right={)}] \starttext \placeformula[eq:A-somewhat] \startformula a=b \stopformula See \inAeq[eq:A-somewhat] \stoptext Best wishes, Taco
Hi is this what you want? \setuplayout [topspace=2.5cm, backspace=1.5cm, header=0pt, margin=0pt, footer=1.5\bodyfontsize, height=middle, width=middle] \mainlanguage[nl] \setupcolors[state=start] \setupframed \startbuffer[Footer] \framedtext[align=right,frame=on, width= \textwidth,offset=3pt,framecolor=red]{\tfxx Datasheet:} \stopbuffer \setupfootertexts[{\getbuffer[Footer]}] %\showframe \starttext Here is a Datasheet \stoptext Kind regards Willi On Jul 8, 2009, at 2:57 AM, Stirling Westrup wrote:
I'm hoping the answer to this question should be obvious, but I'm having no luck with it.
I'm trying to do a layout for a 1-page datasheet. At the very bottom of the page, in some tiny font, I need to put a copyright notice and datasheet ID number.
Ideally I'd like to define some fixed text block containing the text (as its exact size and font have not yet been finalized), and then somehow define the height of the footer to be exactly equal to the height of the text block. Once I've done that, I need to place the text in the footer.
I've been going back and forth through the scattered bits of ConTeXt manual and the wiki, but I'm having no luck in figuring out how one might do this.
-- Stirling Westrup Programmer, Entrepreneur. https://www.linkedin.com/e/fpf/77228 http://www.linkedin.com/in/swestrup http://technaut.livejournal.com ______________________________________________________________________ _____________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ______________________________________________________________________ _____________
participants (5)
-
Albrecht Kauffmann
-
luigi scarso
-
Stirling Westrup
-
Taco Hoekwater
-
Willi Egger