}
numeric u;
u:=1in;
draw (0,0)--(4u,0) withpen pencircle scaled 2pt withcolor blue;
\stopuseMPgraphic
\placefigure[here]{Two figures next to each other}
\startcombination[both][2*1]
{\scale[width=\dimexpr
0.5\textwidth-0.5\measure
;
\stopuseMPgraphic
\placefigure[here]{Two figures next to each other}
\startcombination[both][2*1]
{\scale[width=\dimexpr
0.5\textwidth-0.5\measure{textgap}\relax]{\useMPgraphic{firstFig}}}{(a)}
{\scale[width=\dimexpr
0.5\textwidth-0.5\measure
Luigi,
Thank you for bringing to our attention the command \scale
allowing the easy rescaling of MP graphics.
On Wednesday 25 November 2009 03:20:09 luigi scarso wrote:
\definemeasure[textgap] [\dimexpr 1em\relax]
Why the \dimexpr?
\definemeasure[textgap] [1em]
works just fine.
Alan
be
defined similar to mathml fences,
\definemathfence[average][left=\langle, right=\rangle, scale=auto|none]
etc. Should we be really supporting this in MKIV?
i don't know.
what i observe is that when we use \left\langle always (which is what we
do in mathml in order to play safe) the first
Taco Hoekwater wrote:
Aditya Mahajan wrote:
I personally do not like this behavior of plain tex, with \left being
same as \left\langle. In the long run, all such delimiters should be
defined similar to mathml fences,
\definemathfence[average][left=\langle, right=\rangle, scale=auto|none
to mathml fences,
\definemathfence[average][left=\langle, right=\rangle, scale=auto|none]
etc. Should we be really supporting this in MKIV?
Aditya
___
If your question is of interest to others as well, please add an entry
Aditya Mahajan wrote:
I personally do not like this behavior of plain tex, with \left being
same as \left\langle. In the long run, all such delimiters should be
defined similar to mathml fences,
\definemathfence[average][left=\langle, right=\rangle, scale=auto|none]
etc. Should we be really
In MKII (with the latest MKIV),
“!” no longer seems to produce underdots (sublinear dots).
\usemodule[ancientgreek]
[font=GreekDioxipe,scale=1.15,altfont=GreekCanonica,altscale=0.9]
\starttext
\localgrk{a!n!'h!r}
\stoptext
One can work around this this \d{\grk
, 2009, at 10:09 PM, Bowen Alan C. wrote:
In MKII (with the latest MKIV),
“!” no longer seems to produce underdots (sublinear dots).
\usemodule[ancientgreek]
[font=GreekDioxipe,scale=1.15,altfont=GreekCanonica,altscale=0.9]
\starttext
\localgrk{a!n!'h!r}
\stoptext
This has never worked
Hi!
I could compile the following document (part of it givne here):
==
\starttext
\startlinenumbering
Thus, I came to the conclusion that the designer of a new system
must not only be the implementer and first large--scale user;\someline[here]
the designer should also write
wrong with the \mksomelinereference command
and 'ctxlua' with it's argument appears in the text.
\starttext
\startlinenumbering
Thus, I came to the conclusion that the designer of a new system
must not only be the implementer and first large--scale user;\someline
[here]
the designer should also
minerals cristalitzats
\item Si l'estrucura interna no es manifesta exteriorment, aleshores diem que
el mineral és un {\em \bf cos cristal·lÃ}.
\stopitemize
%\stopsimplecolumns
\eTD
\bTD[width=.5cm]
\quad
\eTD
\bTD[width=4cm]
{\externalfigure[figs/Cubic.png][scale=1000]}
\eTD
\eTR
\eTABLE
Hello,
I am struggling to get something equivalent to this in ConTeXt:
-
\begin{figure}
\resizebox{\hsize}{!}{\includegraphics[scale=1,bb=0 0 0 0,clip]
{MyFigure.eps}}
\caption{My Caption
\label{fig.mylabel}
}
\end{figure
Pau wrote:
Hello,
I am struggling to get something equivalent to this in ConTeXt:
-
\begin{figure}
\resizebox{\hsize}{!}{\includegraphics[scale=1,bb=0 0 0 0,clip]
{MyFigure.eps}}
\caption{My Caption
\label{fig.mylabel}
}
\end
:
\placefigure
[here]
[figura-area]
{Camins sobre $w$}
{\startcombination[2*1]
{ \starttikzpicture[scale=1]
% Els punts
\filldraw (0,-4) circle (2pt);
\filldraw (0.4216,3.9603) circle (2pt); % primer punt: avaluo ({3*sin(\t
r)},{4*cos(\t r)}); a t = 0.141
\filldraw (-0.4216,3.9603) circle (2pt
, but graphic 3 puts me in left
[graphic 1] [graphic 2]
[graphic 3]
How can I solve that?
Thanks in advance,
Xan.
PS: Please, CCme. I put the code:
\placefigure
[here]
[figura-area]
{Camins sobre $w$}
{\startcombination[2*1]
{ \starttikzpicture[scale=1]
% Els punts
\filldraw (0,-4) circle (2pt
texexec --make --all
manually, I get this error:
...TEXROOTDIR/tex/texmf-linux-64/bin/mtxrun:8707: attempt to
concatenate a nil value
It's counter-intuitive, but I'm afraid that stable might be a bi
broken at the moment.
Hans has recently (for ConTeXt time scale that would be iron
that stable might be a bi
broken at the moment.
Hans has recently (for ConTeXt time scale that would be iron-age)
replaced some ruby scripts by lua scripts (texmfstart by mtxrun) and
now even mkii depends on luatex, but since we only provide a single
luatex binary at the moment, it either breaks
, g_5)$, respectivament (tal com es representa a la figura).
\placefigure
[none,here]
[fig:figura-de-6]
{Esquema dels 6 punts}
{\startcombination[1*1]
{ \starttikzpicture[scale=1]
% Els punts
\filldraw (0,0) circle (2pt);
\filldraw (2,0) circle (2pt);
\filldraw (4,0) circle (2pt);
\filldraw
we don't scale here, we just add an entry
to the shared data as that's where we hook in; the real implementation
would look slightly different as an optimization is possible
\starttext
\startluacode
table.insert(fonts.triggers,itlc)
local function itlc(tfmdata,value)
if value
with a rather new mechanism
Hans wrote for me.
\definepapersize[fake][SW] [SW]
\definepapersize[real][A5,landscape][A5,landscape]
\setuppapersize[fake]
\installpagehandler{deform}%
{\dowithnextbox
{\setuppapersize[real]
\actualshipout{\scale[width=\paperwidth,height=\paperheight
]
\actualshipout{\scale[width=\paperwidth,height=\paperheight]{\flushnextbox}}
\setuppapersize[fake]}
\normalhbox}
\setuppaper[method=deform]
\starttext
\subject{Tufte}
\input tufte
\page
\subject{Knuth}
\input knuth
\stoptext
Wolfgang
][features=myfontfea]
\setupbodyfont[Libertine,12pt]
2. Is there an eqivalent code to the following XeLaTeX code.
\defaultfontfeatures{Scale=MatchLowercase}
3. How to use Cambria Math font to typeset math
Libertine
O][default][features=myfontfea]
\setupbodyfont[Libertine,12pt]
\definefontfeature[myfontfea][onum=yes]
2. Is there an eqivalent code to the following XeLaTeX code.
\defaultfontfeatures{Scale=MatchLowercase}
i have no clue what that is supposed to do
3. How to use Cambria Math
.
\defaultfontfeatures{Scale=MatchLowercase}
3. How to use Cambria Math font to typeset math.
___
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
things at that
end, or you could disable bigmath (that follows the sizes) and then end
up with mails to this list why math does not scale in titles, etc etc
what's worse, this will occur on every real fonts in the definition.
So in fact TeX will switching dozens of fonts into the *current* font
][features=myfontfea]
\setupbodyfont[Libertine,12pt]
2. Is there an eqivalent code to the following XeLaTeX code.
\defaultfontfeatures{Scale=MatchLowercase}
3. How to use Cambria Math font to typeset math
.
\defaultfontfeatures{Scale=MatchLowercase}
Only when you port the fontspec package to ConTeXt.
3. How to use Cambria Math font to typeset math.
MkII (XeTeX): Write the code to use OpenType math fonts and send it to
Hans.
MkIV (LuaTeX): \definetypeface[Libertine][mm][math][cambria
Wolfgang Schuster wrote:
2. Is there an eqivalent code to the following XeLaTeX code.
\defaultfontfeatures{Scale=MatchLowercase}
Only when you port the fontspec package to ConTeXt.
i can not even imagine what it is supposed to mean -)
3. How to use Cambria Math font to typeset math
Am 11.05.2009 um 09:37 schrieb Hans Hagen:
Wolfgang Schuster wrote:
2. Is there an eqivalent code to the following XeLaTeX code.
\defaultfontfeatures{Scale=MatchLowercase}
Only when you port the fontspec package to ConTeXt.
i can not even imagine what it is supposed to mean -)
Write
]
\definelayer
[Watermark-Left]
[width=\paperwidth,
height=\paperheight,
state=stop]
\setlayer
[Watermark-Left]
[hoffset=1cm, voffset=1cm]
{\scale[sx=2,sy=3]{\rotate[rotation=-90.0]{margintext}}}
*Project File:*
\startbodymatter
\setupbackgrounds[lefttpage][state=repeat]
\stopbodymatter
,r,list)
local c = {}
repeat
c = third.generate(x,y,r)
until third.feasible(c,list)
return c
end
function third.fill_circles(n,x,y,r)
local list = {}
for i=1,n do
table.insert(list, third.add_circle(x,y,r, list))
end
return list
end
function third.toMP(c, scale)
local
Thank you all guys,
To Aditya: Clearly I over-emphasized the randomness. Actually, what I
meant is a little more complex: identical objects on random
coordinates and they don't intersect with each other. We can rotate
them but we can't re-size them and scale them. Your code is very
interesting
On Wed, 6 May 2009, Zhichu Chen wrote:
To Aditya: Clearly I over-emphasized the randomness. Actually, what I
meant is a little more complex: identical objects on random
coordinates and they don't intersect with each other. We can rotate
them but we can't re-size them and scale them
with log scale as well.
If it is not possible with MP graph, I ask the same question for pgfplots.
If it is not possible either, would anybody have another idea ?
Thanks and goodbye,
Stéphane.
___
If your question
function tfm.make(specification)
-- currently fonts are scaled while constructing the font, so we
-- have to do scaling of commands in the vf at that point using
-- e.g. local scale = g.factor or 1 after all, we need to work
-- with copies anyway and scaling needs to be done at some
\definefont[SomeFont][SerifBold sa 1.5]
boils down to 'take the bold serif that we use in the bodyfont and scale
it to 1.5 times the bodyfontsize'
so, if you then choose another bodyfont (say times instead of palatino)
you don't need to adapt all your definitions
(there's also Normal, Bold etc
to the conclusion that the designer of a new
system must not only be the implementer and first large-- scale user; the
designer should also write
the first user manual.
\stoptext
___
If your question is of interest to others
2pt;
numeric u;
u=2cm;
draw (0,0) -- dir(0)*u -- dir(60)*u --cycle rotated 60;
fill (0,0) -- dir(0)*u -- dir(60)*u --cycle rotated 60 withcolor
(0.58,0.94,0.9);
\stopuseMPgraphic
\useMPgraphic{Dir}
(2) Is there a command to scale the whole picture...not the components?
Thanks very much
(2) Is there a command to scale the whole picture...not the components?
Parse error. In my view, the whole picture *is* the components.
Best wishes,
Taco
___
If your question is of interest to others as well
Albrecht Kauffmann alkauffm at rz.uni-potsdam.de writes:
only to (1): try
draw (((0,0) -- dir(0)*u -- dir(60)*u --cycle) rotated 60);
Thanks Albrecht. That worked great.
___
If your question is of interest to
Taco Hoekwater taco at elvenkind.com writes:
(2) Is there a command to scale the whole picture...not the components?
Parse error. In my view, the whole picture *is* the components.
Best wishes,
Taco
Hi Taco,
Sorry for the typo and for not being clear. I meant the following. I know
On Fri, Mar 13, 2009 at 2:39 PM, Curious Learn curiousle...@gmail.com wrote:
Taco Hoekwater taco at elvenkind.com writes:
(2) Is there a command to scale the whole picture...not the components?
Parse error. In my view, the whole picture *is* the components.
Best wishes,
Taco
Hi Taco
Curious Learn wrote:
Taco Hoekwater taco at elvenkind.com writes:
(2) Is there a command to scale the whole picture...not the components?
Parse error. In my view, the whole picture *is* the components.
Best wishes,
Taco
Hi Taco,
Sorry for the typo and for not being clear. I meant
Taco Hoekwater taco at elvenkind.com writes:
You want this, I think:
beginfig(1);
... do stuff ...
currentpicture := currentpicture scaled X;
endfig;
Awesome!! This is exactly what I was looking for.
Thanks Taco and Mikael.
(0.58,0.94,0.9);
\stopuseMPgraphic
\useMPgraphic{Dir}
(2) Is there a command to scale the whole picture...not the components?
Thanks very much.
I have said this before but want to say this again. Thanks so much to the
developers of Context who have given us this wonderful system. Thanks also to
all
Alan BRASLAU wrote:
Anything :)
(for example:
\usemodule[chemic]
\starttext
\startchemical[size=small,scale=200,width=fit,frame=off]
\chemical[SIX,B,C,R,RZ][R,R,R,R,R,R]
\stopchemical
\stoptext
see attached result.)
ok, typo in the mp/tex bits ... (side effect to otf tracing using
Anything :)
(for example:
\usemodule[chemic]
\starttext
\startchemical[size=small,scale=200,width=fit,frame=off]
\chemical[SIX,B,C,R,RZ][R,R,R,R,R,R]
\stopchemical
\stoptext
see attached result.)
On Saturday 07 March 2009 13:29:23 Hans Hagen wrote:
Alan BRASLAU wrote:
I uploaded
}{\scale[width=\textwidth]{\useMPgraphic{figure}}}
\stoppproduct
Thanks in Advance!
Janneman
using Minimals
current version: 2009.01.18 14:39
This is LuaTeX, Version snapshot-0.35.0-2009022416 (Web2C 7.5.7)
___
If your
]
{ }
{
\starttable[|l|xw(4.5cm)p(4.5cm)|l]
\HL
\NC
% Una relació que no és funció 1
\starttikzpicture[scale=0.8]
\draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
\draw[-] (-0.2,0) -- (4.2,0) node[right] {$x$};
\draw[-] (0,-1.2) -- (0,4.2) node[above] {$y$};
\path
coordinate (start
,10.5pt][rm][default]
\definebodyfont[9.5pt,10.5pt][mm][default]
\stoptypescript
\setupbodyfont[lmodern,rm,10.5pt]
\usemodule[ancientgreek]
[font=GreekDioxipe,scale=2.15,altfont=GreekCanonica,altscale=0.9]
\setupfootnotes
[conversion
=numbers,way=bytext,location=page,rule=on,bodyfont=9.5pt
=GreekDioxipe,scale=2.15,altfont=GreekCanonica,altscale=0.9]
\setupfootnotes
[conversion
=
numbers,way=bytext,location=page,rule=on,bodyfont=9.5pt,style=normal]
\starttext
This Greek should be scaled at 2.15 its design size
\localgreek{'alfa ka`i b~hta}
This is more sample text
Thomas—
Before I turn to your other messages (which I will follow up on, since
I prefer very much to be current).
\usemodule[oldgreek]
[font=GreekDioxipe,scale=2.15,altfont=GreekCanonica,altscale=0.9]
instead of \usemodule[ancientgreek]...
gives the desired output.
Alan
On Feb 24
,10.5pt]
\usemodule[ancientgreek]
[font=GreekDioxipe,scale=2.15,altfont=GreekCanonica,altscale=0.9]
%\usemodule[oldgreek]
[font=GreekDioxipe,scale=2.15,altfont=GreekCanonica,altscale=0.9]
\setupfootnotes
[conversion
=numbers,way=bytext,location=page,rule=on,bodyfont=9.5pt,style=normal
[ancientgreek]
[font=GreekDioxipe,scale=1.15,altfont=GreekCanonica,altscale=0.9]
\def\grk{\localgreek}
\def\altgrk{\localaltgreek}
\setupfontsynonym[GreekDioxipe][handling=greekpure]
\setupfontsynonym[GreekCanonica][handling=greekpure]
and this does work with all the bells and whistles.
Alan
On Feb
[9.5pt] [rm] [default]
\stoptypescript
\setupbodyfont[lmodern,rm,10.5pt]
\usemodule[ancientgreek][font=GreekDioxipe,scale=1.15,altfont=GreekCanonica,altscale=0.9]
\def\grk{\localgreek}
\def\altgrk{\localaltgreek}
\setupfontsynonym[GreekDioxipe][handling=greekpure]
\setupfontsynonym
,10.5pt]
%\setupfontsynonym[Serif][handling=normal]
% install Greek Font
\usemodule[ancientgreek]
[font=GreekDioxipe,scale=1.15,altfont=GreekCanonica,altscale=0.9]
\setupfontsynonym[GreekDioxipe][handling=greekpure]
\setupfontsynonym[GreekCanonica][handling=greekpure]
If I run
Yue Wang schrieb:
\starttext
Thus, I came to the conclusion that the designer of a new system
must not only be the implementer and first large||scale user; the
designer should also write the first user manual.
\setcharacterkerning[extrakerning]
Thus, I came to the conclusion
Yue Wang wrote:
Hi, Wolfgang:
\starttext
Thus, I came to the conclusion that the designer of a new system
must not only be the implementer and first large||scale user; the
designer should also write the first user manual.
\setcharacterkerning[extrakerning]
Thus, I came to the conclusion
to the conclusion that the designer of a new system
must not only be the implementer and first large||scale user; the
designer should also write the first user manual.
\setcharacterkerning[extrakerning]
Thus, I came to the conclusion that the designer of a new system
must not only be the implementer
Hi, Wolfgang:
\starttext
Thus, I came to the conclusion that the designer of a new system
must not only be the implementer and first large||scale user; the
designer should also write the first user manual.
\setcharacterkerning[extrakerning]
Thus, I came to the conclusion
with the the first \usepackage{mp-ch-de}. Can you provide a link
to a HOWTO-use-PPCHTEX-with-LaTeX?
Best regards,
Helge
End of encapsulated message
As an example:
\documentclass[a4paper,12pt]{article}
\usepackage{m-pictex,m-ch-en}
\begin{document}
\setupchemical[size=small,scale=200,width=fit
to a
HOWTO-use-PPCHTEX-with-LaTeX?
Best regards,
Helge
End of encapsulated message
As an example:
\documentclass[a4paper,12pt]{article}
\usepackage{m-pictex,m-ch-en}
\begin{document}
\setupchemical[size=small,scale=200,width=fit,frame=off]
\startchemical
\chemical[SIX,B,C,R,RZ][R,R,R,R,R,R
system \UnderlineA{must not only be the implementer and first} large--scale
user; the designer should also write the first user manual.
Thus, I came to \UnderlineB{the conclusion} that the designer of a new
system \UnderlineB{must not only be the implementer and first} large--scale
user; the designer
Pablo Rodríguez wrote:
Willi Egger wrote:
Hi Pablo,
The problem is that the filius-page is higher than the width of an A4.
So there is no way other than to scale the original pages down to a
height of 210mm. For this action you can use something like
Thanks for your fast reply. I thought
paper size, but all that I
got is a scaled down PDF. I would like to avoid scaling the document if
that were possible.
Is there any way, given the example above, to impose the filius paper
size on a real landscape A4 without having to scale down the PDF document?
Thanks for your help,
Pablo
Hi Pablo,
The problem is that the filius-page is higher than the width of an
A4. So there is no way other than to scale the original pages down to
a height of 210mm. For this action you can use something like
The following code in a tex-file.
\definepapersize[Mypaper][height=210mm,width
Willi Egger wrote:
Hi Pablo,
The problem is that the filius-page is higher than the width of an A4.
So there is no way other than to scale the original pages down to a
height of 210mm. For this action you can use something like
Thanks for your fast reply. I thought it was possible to set
][text=ss]
\quittypescriptscanning
\stoptypescript
ok, added; is mono scaled ok or is a rscale (reative scale) needed?
The typewriter font is too small, add 'rscale=1.05'.
Wolfgang
___
If your question
\stoptypescript
ok, added; is mono scaled ok or is a rscale (reative scale) needed?
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53
:
Hi, Mojca,
The key line in my preamble is
\usemodule[ancientgreek]
[font=Alkaios,scale=1,altfont=GreekOxoniensis,altscale=0.9]
I get the same error message no matter what Greek font I call for
(e.g.
GreekKerkis, GreekOxoniensis, etc).
I would check the docs but there are none with the module
On Dec 19, 2008, at 10:45 PM, Mojca Miklavec wrote:
On Fri, Dec 19, 2008 at 10:26 PM, Alan Bowen wrote:
Hi, Mojca,
The key line in my preamble is
\usemodule[ancientgreek]
[font=Alkaios,scale=1,altfont=GreekOxoniensis,altscale=0.9]
I get the same error message no matter what Greek font I call
if it is worthwhile for the community.
As Dr Dobb's says, Single core systems are history
(http://www.ddj.com/hpc-high-performance-computing/207100560). Software
that can take advantage of multiple cores (or threads, or distributed
nodes) will continue to scale. Of course some effort, and often some
adjustment
withpen pencircle scaled 0.1000x;
% set_line_color 0.00, 0.00, 0.00
draw (7.411901x,24.200793y)--(7.913661x,23.954345y)--(7.786891x,24.203452y)--(7.910115x,24.454333y)--cycle
withpen pencircle scaled 0.1000x;
\stopuseMPgraphic
\starttext
\scale[width=\textwidth]{\useMPgraphic{mag
withpen pencircle scaled 0.1000x;
\stopuseMPgraphic
\starttext
\scale[width=\textwidth]{\useMPgraphic{mag2}}
\scale[width=\textwidth]{\useMPgraphic{mag2}}
\stoptext
___
If your question is of interest to others
pencircle scaled 0.1000x;
\stopuseMPgraphic
\starttext
\scale[width=\textwidth]{\useMPgraphic{mag2}}
\scale[width=\textwidth]{\useMPgraphic{mag2}}
\stoptext
___
If your question is of interest to others as well, please add
. My Master thesis, on the other hand, I
wrote in word.. and although I remember not having too many
difficulties, there were some nasty obstacles to be overcome.
Obstacles which I simply do not want to risk having repeated a second
time on a much bigger scale.
I this mailing list I read several
hand, I
wrote in word.. and although I remember not having too many
difficulties, there were some nasty obstacles to be overcome.
Obstacles which I simply do not want to risk having repeated a second
time on a much bigger scale.
I this mailing list I read several reports of people who either had
a second
time on a much bigger scale.
I this mailing list I read several reports of people who either had
written their thesis in Latex or ConTeXt. There was a mention of Latex
beeing designed for mathematic purposes, while ConTeXt was said to be
better suited for the intergration of graphics or larger
do not want to risk having repeated a second
time on a much bigger scale.
I this mailing list I read several reports of people who either had
written their thesis in Latex or ConTeXt. There was a mention of Latex
beeing designed for mathematic purposes, while ConTeXt was said to be
better suited
, there were some nasty obstacles to be overcome.
Obstacles which I simply do not want to risk having repeated a second
time on a much bigger scale.
I this mailing list I read several reports of people who either had
written their thesis in Latex or ConTeXt. There was a mention of Latex
beeing
difficulties, there were some nasty obstacles to be overcome.
Obstacles which I simply do not want to risk having repeated a second
time on a much bigger scale.
I this mailing list I read several reports of people who either had
written their thesis in Latex or ConTeXt. There was a mention of Latex
obstacles to be overcome.
Obstacles which I simply do not want to risk having repeated a second
time on a much bigger scale.
I this mailing list I read several reports of people who either had
written their thesis in Latex or ConTeXt. There was a mention of Latex
beeing designed for mathematic
] [Serif]
\definefontsynonym [SerifBoldItalic] [Serif]
\stoptypescript
The main font definition is of this form:
\starttypescript[greek]
\definetypeface[greek][rm][serif][\currentmoduleparameter{font}]
[default][rscale=\currentmoduleparameter{scale}]
\stoptypescript
\usetypescript[greek]
So I'm just
=\currentmoduleparameter{scale}]
\stoptypescript
\usetypescript[greek]
So I'm just wondering: must the features= be included into the
\definetypeface as well? I have the impression that the different
features I define are not used at all...
it binds to Serif i.e. the left part
\cosEl{#2} % elevation
\pgfmathsinandcos\sint\cost{#3} % latitude
\pgfmathsetmacro\yshift{\cosEl*\sint}
\tikzset{#1/.estyle={cm={\cost,0,0,\cost*\sinEl,(0,\yshift)}}} %
}
\def\DrawLongitudeCircle#1#2{
\LongitudePlane{current plane}{\angEl}{#2}
\tikzset{current plane/.prefix style={scale=#1
} % elevation
\pgfmathsinandcos\sint\cost{#3} % latitude
\pgfmathsetmacro\yshift{\cosEl*\sint}
\tikzset{#1/.estyle={cm={\cost,0,0,\cost*\sinEl,(0,\yshift)}}} %
}
\def\DrawLongitudeCircle#1#2{
\LongitudePlane{current plane}{\angEl}{#2}
\tikzset{current plane/.prefix style={scale=#1
\yshift{\cosEl*\sint}
\tikzset{#1/.estyle={cm={\cost,0,0,\cost*\sinEl,(0,\yshift)}}} %
}
\def\DrawLongitudeCircle#1#2{
\LongitudePlane{current plane}{\angEl}{#2}
\tikzset{current plane/.prefix style={scale=#1}}
% angle of visibility
\pgfmathsetmacro\angVis{atan(sin(#2)*cos(\angEl)/sin(\angEl
Hi!
Is there a command to place text on the grid again, if it is shifted
by a graphic or something like this?
\setuplayout[grid=yes]
\showgrid
\starttext
\input knuth
\framedtext
[height=fit,autowidth=force,offset=0pt]
{
\externalfigure[cow][scale=830]
}
\input knuth
\stoptext
\framedtext
[height=fit,autowidth=force,offset=0pt]
{
\externalfigure[cow][scale=830]
}
\input knuth
\stoptext
Best regards,
Eyke
___
If your question is of interest to others as well, please add an entry
)
\startlinecorrection
...
\stoplinecorrection
Aditya
\setuplayout[grid=yes]
\showgrid
\starttext
\input knuth
\framedtext
[height=fit,autowidth=force,offset=0pt]
{
\externalfigure[cow][scale=830]
}
\input knuth
\stoptext
Best regards,
Eyke
a layer ...
You might also try pgf/tikz, according to your taste:
\usemodule[tikz]
\starttikzpicture[scale=]
\pgftext{\externalfigure[kuh][width=1cm]};
\draw (x,y) node {label};
\stoptikzpicture
Thanks for the tip but I won't rely on external packages, before this
will happen I write
:
\usemodule[tikz]
\starttikzpicture[scale=]
\pgftext{\externalfigure[kuh][width=1cm]};
\draw (x,y) node {label};
\stoptikzpicture
___
If your question is of interest to others as well, please add an entry to the
Wiki
\starttext
\usemodule[chemic]
\setupchemical[size=small,scale=200,width=fit,frame=off]
\starttable[|c|]
\HL
\VL chemical formula \VL\AR
\HL
\VL
\startchemical
\chemical[SIX,B,C,R,RZ][R,R,R,R,R,R
I have not understood how tables and \chemical interact.
The second case in the minimal example below
demonstrates unexpected/incorrect centering
when using \chemical and \bTABLE.
Am I missing something?
Thanks.
Alan
\starttext
\usemodule[chemic]
\setupchemical[size=small,scale=200,width=fit
Thomas A. Schmitz wrote:
Hi all,
cleaning up the code in my module, I run into a very interesting
problem. I want to pass a user-defined value to Metapost. Until now,
the value scale had to be numeric, and I used it like this:
draw fullcircle scaled \MPvar{scale}mm
and Metapost
Marcin Borkowski wrote:
Dnia Wed, Aug 27, 2008 at 11:14:26AM +0200, Marcin Borkowski napisa#322;(a):
Why this does not center the figure horizontally? What should I do to
center it?
\placefigure{none}{
\starttikzpicture[scale=0.3]
\draw (0,0) -- (5,0) -- (4.5,6) -- (1.5,6
Hey!
Seems I'm going to ask lots of questions here - I'm starting to _really_
use ConTeXt;).
Why this does not center the figure horizontally? What should I do to
center it?
\placefigure{none}{
\starttikzpicture[scale=0.3]
\draw (0,0) -- (5,0) -- (4.5,6) -- (1.5,6) -- cycle
Dnia Wed, Aug 27, 2008 at 11:14:26AM +0200, Marcin Borkowski napisa#322;(a):
Why this does not center the figure horizontally? What should I do to
center it?
\placefigure{none}{
\starttikzpicture[scale=0.3]
\draw (0,0) -- (5,0) -- (4.5,6) -- (1.5,6) -- cycle
Marcin Borkowski wrote:
Dnia Wed, Aug 27, 2008 at 11:14:26AM +0200, Marcin Borkowski napisa#322;(a):
Why this does not center the figure horizontally? What should I do to
center it?
\placefigure{none}{
\starttikzpicture[scale=0.3]
\draw (0,0) -- (5,0) -- (4.5,6) -- (1.5,6
801 - 900 of 1224 matches
Mail list logo