I encountered something weird, that I cannot explain. It could be an error, but I was not able to pinpoint this.It seems as if the \rotate macro plays havoc with the macro definitions used to set the color of the frame and an outside title.Placing the outside title before the rotate proves
tal stops --,
and add commands to scale and/or rotate a character without triggering a font
switch. Again, writing this from scratch is beyond my current skill set -
although I've recently started to study CLD. Something like this -- some of the
semantics is almost certainly wrong and/or clu
we still need something like
\defineactivecharacter ʿ {\high{c}}
\defineactivecharacter ʾ {\kern.07 em
\high{\rotate[rotation=180,location=high]{c}}}
or better
\definecharacter ʿ {\high{c}}
\definecharacter ʾ {\kern.07 em \high{\rotate[rotation=180,location=high]{c}}}
The upshot is that we need
> On 27 Jun 2023, at 09:56, Denis Maier via ntg-context
> wrote:
>
> Hi,
> is it possible to override the defined orienatation for a given cell ?
\starttext
\starttabulate[|l|c|r|]
\NC this and that \NC left and right \NC here and there \NC \NR
\NC such and so \NC \rotate[
ct is a table which does not fit the width of the page. Hence I
>> need to rotate it. Rotating the table is ok, but the caption is not rotated.
>> My question is how can I instruct ConTeXt to rotate the caption and place it
>> on the right side?
>> My attempt:
>&
Am 25.03.23 um 21:39 schrieb Willi Egger via ntg-context:
Hello everybody,
in my project is a table which does not fit the width of the page. Hence I need
to rotate it. Rotating the table is ok, but the caption is not rotated. My
question is how can I instruct ConTeXt to rotate the caption
Hello everybody,
in my project is a table which does not fit the width of the page. Hence I need
to rotate it. Rotating the table is ok, but the caption is not rotated. My
question is how can I instruct ConTeXt to rotate the caption and place it on
the right side?
My attempt:
test.pdf
Am 15.03.23 um 23:27 schrieb fv leung via ntg-context:
How about using \vfill ?
\define[1]{\RtH}{\vfill\rotate{#1}}
This is actually the only version that works flawlessly.
But thanks for all answers! (I was busy over the weekend.)
Hraban
[1]{\RtH}{\rotate{#1}}
\starttext
\setupTABLE[offset=3pt]
\setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom]
\bTABLE
\bTABLEhead
\bTR \bTH\RtH{animal}\eTH \bTH\RtH{size}\eTH \bTH\RtH{weight}\eTH
\bTH\RtH{average speed}\eTH \eTR
You can change the vertical alignment
]{{\startcombination[nx=3,ny=1,distance=15mm]
{\externalfigure[cow][width=15mm]}{}
\rotate[rotation=90]{\externalfigure[cow][width=15mm]}{}
{\externalfigure[cow][width=15mm]}{}
\stopcombination}}
\null
\stoptext
BTW, A4 portrait is the default page size
]}{}
\rotate[rotation=90]{\externalfigure[dummy]}{}
{\externalfigure[dummy][]}{}
\stopcombination}
}
\flushlayer[test3]
\page
%%% Wolfgang %%%
\centerbox
{\bTABLE[frame=off,offset=7.5mm,align={middle,lohi}]
\bTR
\bTD
\externalfigure[dummy]
\eTD
\bTD
\rotate[rotation=90]{\externalfigure[dummy
gt; >
> > > [backspace=2.5cm,
> > >
> > > topspace=1cm,
> > >
> > > height=28cm,
> > >
> > > width=17cm,
> > >
> > > header=0cm,
> > >
> > > footer=0.75cm,
> > >
> > > ]
&
> > [backspace=2.5cm,
> >
> > topspace=1cm,
> >
> > height=28cm,
> >
> > width=17cm,
> >
> > header=0cm,
> >
> > footer=0.75cm,
> >
> > ]
> >
> > \useMPlibrary [dum]
> >
> > \start
grounds[page]
\setupbackgrounds[text]
[background=test3]
\starttext
\setlayer[test3][location={middle}]
\framed[offset=overlay]{{\startcombination[nx=3,ny=1,distance=15mm]
{\externalfigure[cow][width=15mm]}{}
\rotate[rotation=90]{\externalfigure[cow
,
height=28cm,
width=17cm,
header=0cm,
footer=0.75cm,
]
\useMPlibrary [dum]
\starttext
\definelayer[test3]
\setlayer[test3][x=2cm,y=15cm]
{\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle]
{\externalfigure[dummy]}{}
\rotate[rotation=90]{\externalfigure[dummy
,
]
\useMPlibrary [dum]
\starttext
\definelayer[test3]
\setlayer[test3][x=2cm,y=15cm]
{\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle]
{\externalfigure[dummy]}{}
\rotate[rotation=90]{\externalfigure[dummy]}{}
{\externalfigure[dummy][]}{}
\stopcombination}
\flushlayer[test3
find an option to do that.
> Tried \dontleavehmode or \hfill in my \RtH macro to no avail.
> Is it possible?
>
>
> \define[1]{\RtH}{\rotate{#1}}
>
> \starttext
>
> \setupTABLE[offset=3pt]
> \setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom]
>
How about using \vfill ?
\define[1]{\RtH}{\vfill\rotate{#1}}
Henning Hraban Ramm via ntg-context 於 2023年3月16日 週四
上午2:16寫道:
> Hi!
>
> In my table, I want the header texts to be 90˚ rotated and aligned to
> the bottom of their cell. I couldn’t find an option to do that.
> Tried
Hi!
In my table, I want the header texts to be 90˚ rotated and aligned to
the bottom of their cell. I couldn’t find an option to do that.
Tried \dontleavehmode or \hfill in my \RtH macro to no avail.
Is it possible?
\define[1]{\RtH}{\rotate{#1}}
\starttext
\setupTABLE[offset=3pt
[10] = "LemonYellow"; p[15] =
"MiddleGreen"; p[20] = "CadetBlue"; p[25] = "white";
maxTransp := 1;
opHeight := 2.5; %centimeters
opHeightpt := (opHeight /2.54)*72.27;
draw lmt_text [
text = "\rotate{opaque}",
color = "black&q
Here's the formal rule:
https://www.w3.org/TR/SVG11/coords.html#TransformAttribute
rotate( [ ]), which specifies a rotation by
degrees about a given point. If optional parameters and
are not supplied, the rotation is about the origin of the current user
coordinate system. The operation
ot;
> style="fill:none;fill-opacity:1;stroke:#00;stroke-opacity:1" />
> x="-48.831322"
> y="15.60547"
> id="text4933-8-6"
> transform="rotate(-90)"
>
>
> style="font-style:normal
s an embedded EXIF "Orientation"
> tag and you're using a buggy viewer. Really old versions of Firefox/pdf.js had
> this bug. If this is the case, you should be able to reproduce it with the
> following bash commands:
>
> convert -size 64x256 canvas:grey -fill black -d
" tag and you're using a buggy viewer. Really old versions
of Firefox/pdf.js had this bug. If this is the case, you should be able
to reproduce it with the following bash commands:
convert -size 64x256 canvas:grey -fill black -draw "circle 32,128 16,112"
demo1.jpg
exiftool
Thank-you Adam, Hraban and Richard for your suggestions.
In the end it was remarkably simple:
\starttext
\definecollector[example]
\setcollector [example] {\externalfigure[cow][width=6cm,frame=off]}
\setcollector [example] [corner={right,bottom},location={right,top}]
{\rotate[rotation=90
cefigure
you can have different caption texts, like for titles.
> Option 2: some magazines print the copyright credit running up the
> side of the image, independently of the caption. I'd quite like to
> do this and wondered if anyone had already written something they
> could share?
already written something they could share?
I often use \ininner{\rotate[location=fit]{Copyright notice}}, but it’s
a hassle to get the placement right, don’t use it within the caption.
Using \setlayer is most reliable.
Hraban
[pic]}
\starttabulate[|l|l|l|l|l|l|]
\NC\NC normal\NC depth\NC fit\NC broad\NC high\NC\NR
\HL
\dostepwiserecurse{0}{359}{45}{%
%\expanded{\setuprotate[rotation=\recurselevel]}
\NC{\expanded{\recurselevel}˚}%
\NC{\ruledhbox{X\rotate[location=normal,rotation=\recurselevel]{\TXT}X
On 2/7/2022 10:12 PM, Gerhard Schramm via ntg-context wrote:
Dear Hraban, Dear Hans
I'm looking for a way to automatically rotate a graphic
(DIN_A4_PDF_Pages). I try to manage technical manuals with Context.
(Which is really great!) To do this, I have to import always new
PDF-pages
Dear Hraban, Dear Hans
I'm looking for a way to automatically rotate a graphic
(DIN_A4_PDF_Pages). I try to manage technical manuals with Context.
(Which is really great!) To do this, I have to import always new
PDF-pages (technical sketches) , which can be in landscape or portrait
format
olerant\protected\def\usepgflibrary[#1]#;#2% somehow both variants are used
>> {\starttikzinput
>> \normalusepgflibrary[#1#2]%
>> \stoptikzinput}
>>
>> \usepgfmodule[shapes]
>> \usepgfmodule[plot]
>> \usepgfmodule[matrix]
>> \usepgfmodule[decoration
itikz]
>
> \def\pgfcircversion {1.4.4}
> \def\pgfcircversiondate {2021/10/31}
>
> \usetikzlibrary[calc]
> \usetikzlibrary[arrows.meta]
> \usetikzlibrary[bending]
> \usetikzlibrary[fpu] % may be needed for use fpu reciprocal (v1.0.1)
>
> \tikzi
et{ current=american}]
\processaction
[\currentmoduleparameter{label}]
[straight=>\ctikzset{label/align = straight},
align=>\ctikzset{label/align = rotate},
smart=>\ctikzset{label/align = smart}]
\processaction
[\currentmoduleparameter{resistor}]
[european=>\ctikzset{
Gauge Theory:
\startformula
S_g =
\frac{-I}{2\bar{\epsilon}} i \delta
\left(
\xi_{\delta_0} \mathring{+} \rho_\epsilon \rho_v^{abc}\cdot\eta_0
\right)
f_a^0 a\lambda(\rotate[rotation=180,location=high]{\xi})\Psi(O_a)
\stopformula
% ? I guess the first \delta should be crossed somehow?
% ? Is it possib
an}]
\processaction
[\currentmoduleparameter{current}]
[european=>\ctikzset{ current=european},
american=>\ctikzset{ current=american}]
\processaction
[\currentmoduleparameter{label}]
[straight=>\ctikzset{label/align = straight},
align=>\ctikzset{label/align = rotate},
smart=>\ctikzset{la
ean=>\ctikzset{ current=european},
american=>\ctikzset{ current=american}]
\processaction
[\currentmoduleparameter{label}]
[straight=>\ctikzset{label/align = straight},
align=>\ctikzset{label/align = rotate},
smart=>\ctikzset{label/align = smart}]
\processaction
[\current
kip4cm
\dostepwiserecurse{0}{360}{10}{
\doloopoverlist{normal,default,depth,fit,broad,high,middle}{
\ruledhbox{\rotate[rotation=\recurselevel, location=\recursestring]{%
\framed
[width=\textheight, height=\textwidth, rulethickness=5pt,
depth=0cm, foregroundstyle=\bfd]
{\recurse
}]
\starttext
\doiffile{A3page.pdf}
{\def\Doc{A3page.pdf}
\getfiguredimensions[\Doc]
\dorecurse{\noffigurepages}
{\ifodd\recurselevel
\rotate[rotation=90]
{\externalfigure[\Doc][page=\recurselevel, width=\textheight]}
\else\rotate[rotation=270
-context/2021/103909.html)?
.. it was not really a minimal example ...
\showframe
\starttext
\topskip4cm
\rotate[rotation=90]
{\externalfigure[A3page.pdf][page=1,width=\textheight]}\page
\rotate[rotation=270]{\externalfigure[A3page.pdf][page=2,width=\textheight]}\page
\rotate[rotation
]
\dorecurse{\noffigurepages}
{\ifodd\recurselevel
\rotate[rotation=90]
{\externalfigure[\Doc][page=\recurselevel, width=\textheight]}
\else\rotate[rotation=270]
{\externalfigure[\Doc][page=\recurselevel, width=\textheight]}
\fi}}
\stoptext
I’m afraid
Thank you so much, Hans, that's a neat solution! I was banging my head
against the wall, but this makes sense.
On 10/5/21 6:38 PM, Hans Hagen wrote:
Because you know how to rotate and scale:
\startuseMPgraphic{empedocless}
path p, q, r ;
pair a ;
p := fullcircle scaled 10cm ;
drawarrow p
y further explanation.
I hope you all had a wonderful meeting last week. I was sad I couldn't
come, I was in Paris for a conference, the first after 18 months, so I
couldn't skip this one.
Because you know how to rotate and scale:
\startuseMPgraphic{empedocless}
path p, q, r ;
pair a ;
p :=
.5 1.5`
echo $OUTPUT ${ROTATION}˚
# downscale, add a white border and a shadow, rotate, move down, add a piece of
tape (tesa1.png), grayscale
convert "$INPUT" \
-auto-orient \
-resize 800x800 \
-bordercolor white -border 10 \
\( +clone -background black -shadow 80x3+2+2 \) +swap \
-backgrou
uldn’t be
a problem.
BTW, here’s my script:
#!/bin/bash
#INPUT=$1
OUTPUT=${INPUT/.JPG/.png}
OUTPUT=${OUTPUT/.jpg/.png}
OUTPUT=${OUTPUT/in\//out\/}
# random rotation ±1.5˚
ROTATION=`jot -r 1 -1.5 1.5`
echo $OUTPUT ${ROTATION}˚
# downscale, add a white border and a shadow, rotate, move down, add
Here’s what I have now (result attached):
\define[1]\ÜbungNrCmd{\inmargin{\offset[y=3em]{\rotate[rotation=90]{\SectionFont
#1
\defineenumeration[Übung][
text=Übung,
title=yes,
titleleft=,
titleright=,
titledistance=-1em,
titlestyle=\SectionFont,
%numberstyle=\SectionFont
\eTD \bTD A \eTD \eTR
\bTR \bTD \rotate[rotation=90]{Two} \eTD \bTD B \eTD \eTR
\eTABLE
\stoptext
Attached is the result for ConTeXt LMTX version 2021.04.09 (and earlier)
and for version 2021.06.18. In the latter case, the white frame is missing
in the first column between row 1
and
figure floats using rotation. Lmtx-20210118 with for example:
\placetable[here,90]
results in the trashing of all subsequent body text in the PDF.
This can be corrected with something such as:
\placetable[here] ...
\framed[orientation=90]
(although one looses the ability to rotate
releases of LMTX, it is
essential that I should be able to rotate tables and images. Does
anyone know of a fix?
Richard,
a minimal sample with images would read:
\setupexternalfigures[location=default]
\starttext
\placefigure[90, here]{Rotated sample}{\externalfigure[hacker.jpg
] ...
\framed[orientation=90]
(although one looses the ability to rotate the title of the table).
The last really stable version of LMTX, which I'm finding that I'm
constantly returning to as my default, is lmtx-20200920.
This error has been occurring for some time now, and unfortunately,
while
TX, it is
> essential that I should be able to rotate tables and images. Does
> anyone know of a fix?
Richard,
a minimal sample with images would read:
\setupexternalfigures[location=default]
\starttext
\placefigure[90, here]{Rotated sample}{\externalfigure[hacker.jpg]}
\input zap
am 14.11.2020 um 20:10:
> > Hi everyone.
> > The following example works in ConTeXt MkIV but fails in ConTeXt LMTX:
> >
> > \def\rgeq{\vcenter{\rotate[rotation=270]{$>$}}}
> >
> > \definemathmatrix[void][left=,right=,simplecommand=voidmatrix]
> >
>
Jairo A. del Rio schrieb am 14.11.2020 um 20:10:
Hi everyone.
The following example works in ConTeXt MkIV but fails in ConTeXt LMTX:
\def\rgeq{\vcenter{\rotate[rotation=270]{$>$}}}
\definemathmatrix[void][left=,right=,simplecommand=voidmatrix]
\starttext
\startformula
\voidmatrix{%
G_{
Hi everyone.
The following example works in ConTeXt MkIV but fails in ConTeXt LMTX:
\def\rgeq{\vcenter{\rotate[rotation=270]{$>$}}}
\definemathmatrix[void][left=,right=,simplecommand=voidmatrix]
\starttext
\startformula
\voidmatrix{%
G_{1,1}, >, G_{1,2}, >, G_{1,3}, >, G_{1,4},
Hi,
This sounds quite complicated, really.
I am not at all sure how this page rotation should work but I assume you plan a
pdf-only document then? Otherwise, I would expect rotating the figure instead
of the whole page. Also, rotating the paper does not rotate the layout, at
least
=27.3cm, footer=0cm,
backspace=4.2cm, width=13.6cm]
\setuppapersize[default]
\setuplayout[default]
\setuppagenumbering[alternative=doublesided, location={header}]
\setupexternalfigures[location={default}]
\definepapersize[rotate][A4, landscape]
\definefloat[bigfigure
ᠳᠯᠡᠭᠰᠡᠨ ᠶᠡᠯᠡ ᠪᠡᠷ ᠭᠣᠷᠪᠠᠨ ᠵᠢᠯ ᠦᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ ᠲᠠᠢ ᠬᠣᠷᠢᠬᠣ ᠡᠷᠡᠭᠦᠦ ᠪᠡᠷ
> ᠰᠢᠳᠬᠡᠭᠰᠡᠨ ᠪᠠᠢᠨᠠ᠃
> \stopframed
>
> I realized that I already added the anchoring features long ago ...
>
> Hans
>
> > hm, only for testing, not for use
> >
> >> I can rotate boxes in ConTeXt using other
On 8/4/2020 10:32 AM, Jairo A. del Rio wrote:
http://www.mongolfont.com/en/font/mnglwhiteotf.html
hm, only for testing, not for use
I can rotate boxes in ConTeXt using other methods than those used in
LaTeX. However, my main concern is about "translating" the Lua(La)TeX
piece
ᠨᠢᠭᠡᠨ ᠬᠦᠴᠦᠷᠬᠡᠭᠯᠡᠨ ᠨᠦᠵᠢᠳᠯᠡᠭᠰᠡᠨ ᠶᠠᠯᠠᠲᠣ ᠬᠡᠷᠡᠭ ᠲᠦ
ᠰᠢᠭᠦᠯᠲᠡ ᠬᠢᠪᠡ᠃ ᠰᠢᠭᠦᠨ ᠲᠠᠰᠣᠯᠣᠯᠳᠠ ᠪᠠᠷ᠂ ᠵᠠᠭᠠᠯᠳᠣᠭᠳᠠᠭᠴᠢ ᠡᠷᠬᠢᠮᠲᠦ ᠵᠢ ᠬᠦᠴᠦᠷᠭᠡᠭᠯᠡᠨ᠂
ᠨᠦᠵᠢᠳᠯᠡᠭᠰᠡᠨ ᠶᠡᠯᠡ ᠪᠡᠷ ᠭᠣᠷᠪᠠᠨ ᠵᠢᠯ ᠦᠨ ᠬᠣᠭᠣᠴᠠᠭᠠ ᠲᠠᠢ ᠬᠣᠷᠢᠬᠣ ᠡᠷᠡᠭᠦᠦ ᠪᠡᠷ
ᠰᠢᠳᠬᠡᠭᠰᠡᠨ ᠪᠠᠢᠨᠠ᠃
\end{flushleft}
\stopmongolian
}
}
\end{document}
I can rotate boxes in ConTeXt using other
[{\framed
[frame=off,
orientation=20,
foregroundcolor=gray]
{\scale[width=\textwidth]{Draft}}}]
Also, if you set \rotate[rotation=0.0]{Draft} it will disappear...
I see, there are still problems with decimal values for rotation.
On 11/06/2020 22:31, Jairo A. del Rio wrote:
> The watermark is partially outside the page, whereas the Wiki result is
> more "centered". Is that an intended behaviour?
>
Also, if you set \rotate[rotation=0.0]{Draft} it will disappear...
pEpkey.asc
Description: a
imension now
>>> In which way? Did you get the desired result or was there just no
>>> error message.
>>>> \starttext
>>>> \rotate[rotation=-0.2]{Rotation}
>>>> \stoptext
>>>>
>>>> No such problems with integer rotati
Hans Hagen schrieb am 27.05.2020 um 17:39:
On 5/27/2020 5:30 PM, Wolfgang Schuster wrote:
Peter Rolf schrieb am 27.05.2020 um 16:38:
Hi,
this used to work, but wants a dimension now
In which way? Did you get the desired result or was there just no
error message.
\starttext
\rotate[rotation
On 5/27/2020 5:30 PM, Wolfgang Schuster wrote:
Peter Rolf schrieb am 27.05.2020 um 16:38:
Hi,
this used to work, but wants a dimension now
In which way? Did you get the desired result or was there just no error
message.
\starttext
\rotate[rotation=-0.2]{Rotation}
\stoptext
No such problems
Peter Rolf schrieb am 27.05.2020 um 16:38:
Hi,
this used to work, but wants a dimension now
In which way? Did you get the desired result or was there just no error
message.
\starttext
\rotate[rotation=-0.2]{Rotation}
\stoptext
No such problems with integer rotation numbers.
ConTeXt expects
Hi,
this used to work, but wants a dimension now
\starttext
\rotate[rotation=-0.2]{Rotation}
\stoptext
No such problems with integer rotation numbers.
Peter
T:\tmp>context --version
mtx-context | ConTeXt Process Management 1.03
mtx-context |
mtx-context | main context file
I try to introduce a per character rotation using lua.
But a negative rotation angle seems to introduce a vertical offset to
the base line.
It might be intended, but how to get it gone?
Any hints?
.Floris
\def\streepA{%
\rotate[rotation=\ctxlua{context(math.random(1,15))}]{\|}%
}
\def\streepB
ibility, performance ...), this is only possible with
> \startframed.
> >>
> >> 3. ConTeXt uses different mechanism to draw rectangular (unless you
> draw a
> >> closed frame) and rounded frame and the mechanism for rounded frames
> doesn't
> >> work with o
a) use MetaPost to draw the
complete card (letter plus frame) or b) use only TeX to put the letter in a
frame and rotate it.
begin tex example
\usecolors[svg]
\defineframed
[frameletter]
[width=1.25em,
height=1.75em,
foregroundstyle=\ssbfc,
corner=round,
radius=0.1
t; work with outlinetext.
>
> 4. To achieve the desired result you can now a) use MetaPost to draw the
> complete card (letter plus frame) or b) use only TeX to put the letter in a
> frame and rotate it.
>
> begin tex example
> \usecolors[svg]
>
> \defineframed
&
in a frame and rotate it.
begin tex example
\usecolors[svg]
\defineframed
[frameletter]
[width=1.25em,
height=1.75em,
foregroundstyle=\ssbfc,
corner=round,
radius=0.1\bodyfontsize,
rulethickness=1pt]
\starttext
\startTEXpage[offset=\linewidth]
\dontleavehmode
\rotate
> >>>> ymajorgrids=true,
> >>>> grid style={cyan!30},
> >>>> ymin=0,
> >>>> ymax=22,
> >>>> xmin=0,
> >>>> xmax=14,
> >>>> x=1cm,
> >>>> y=0.3cm,
&
dth=0.12cm,
tick style=very thick,
xtick={\empty},
ytick={0,2,...,18,20},
extra x ticks={2,5,7,9,11,13},
extra x tick labels={octobre,novembre,janvier,mars,avril, juin},
extra x tick style={tick label style={rotate=45}},
extra tick style={tick style={draw=none}},
xlabel={D
ide,
tickwidth=0.12cm,
tick style=very thick,
xtick={\empty},
ytick={0,2,...,18,20},
extra x ticks={2,5,7,9,11,13},
extra x tick labels={octobre,novembre,janvier,mars,avril, juin},
extra x tick style={tick label style={rotate=45}},
extra tick style={tick style={draw=n
x line =bottom,
> > axis y line =left,
> > axis on top=true,
> > axis line style =very thick,
> > tick align=outside,
> > tickwidth=0.12cm,
> > tick style=very thick,
> > xtick={\empty},
> > ytick={0,2,...,18,20},
> >
t,
> axis on top=true,
> axis line style =very thick,
> tick align=outside,
> tickwidth=0.12cm,
> tick style=very thick,
> xtick={\empty},
> ytick={0,2,...,18,20},
> extra x ticks={2,5,7,9,11,13},
> extra x tick labels={octobre,novembre,janvier,
={2,5,7,9,11,13},
extra x tick labels={octobre,novembre,janvier,mars,avril, juin},
extra x tick style={tick label style={rotate=45}},
extra tick style={tick style={draw=none}},
xlabel={Date},ylabel={Note},
xlabel={Date},ylabel={Effectif},
every axis x label/.style
On 2/15/2020 12:25 PM, Fabrice Couvreur wrote:
Hi Henri,
Why does the blue path not rotate 90 with the draw command but rotate
with the fill command?
compare
draw origin -- (0,0.2cm) -- (4cm,0.2cm) -- (4cm,0) --
(4.1cm,-0.05cm) -- (0.1cm,-0.05cm) -- cycle rotated alpha withcolor red
On 15-02-2020 12:25, Fabrice Couvreur wrote:
> Hi Henri,
> Why does the blue path not rotate 90 with the draw command but rotate
> with the fill command?
>
Why not draw the match as a picture first, then rotate and shift that
picture?
Also, if you use a local scale unit, it wi
Hi Henri,
Why does the blue path not rotate 90 with the draw command but rotate with
the fill command ?
\startMPcode
def match (expr alpha, pos) =
fill unitsquare xscaled 4cm yscaled 0.2cm rotated alpha shifted pos
withcolor yellow ;
fill origin -- (4cm,0) -- (4.1cm,-0.05cm
\stopframedtext
\stopbuffer
\starttext
%~ \showframe
\rotate[rotation=180]{\getbuffer[tblcard]}
\page
\getbuffer[tblcard]
\stoptext
I hope it goes on time ;-),
Pablo
--
http://www.ousia.tk
_
}
}
\setlayer[LAY][x=210pt,y=0pt]%
{%
\definedfont[Serif at 82pt]
\rotate[rotation=90,frame=on,offset=2pt]{\hbox{JOURNEY}}
}
\setlayer[LAY][x=360pt,y=50pt]%
{%
\vbox
{%
\hsize=200pt
\input ward
\vskip\lineheight
\externalfigure[hacker]
height]
>> % \setlayerframed[WatermarkOverlay]
>> %[preset=center]
>> %[foregroundcolor=red,frame=off]
>> %{\scale[factor=max]{\rotate[rotation=60.0]{~Oops!~}}}
>>
>> \defineoverl
=center]
% [foregroundcolor=red,frame=off]
% {\scale[factor=max]{\rotate[rotation=60.0]{~Oops!~}}}
\defineoverlay [WatermarkOverlay]
[{\framed[frame=off,
foregroundcolor=red
,
% width=\paperwidth,
% height=\paperheight]
% \setlayerframed [WatermarkOverlay]
% [preset=center]
% [foregroundcolor=red,frame=off]
% {\scale[factor=max]{\rotate[rotation=60.0]{~Oops!~}}}
\defineoverlay
On 10/16/2019 5:02 PM, cont...@vivaldi.net wrote:
Hello,
the following code stopped working after today's Ctx update:
\setupexternalfigures[location=default]
\starttext
%\externalfigure[hacker]
\getrandomnumber\t{0}{20}
\rotate[rotation=\numexpr\t-10\relax]{\externalfigure[dummy
Hello,
the following code stopped working after today's Ctx update:
\setupexternalfigures[location=default]
\starttext
%\externalfigure[hacker]
\getrandomnumber\t{0}{20}
\rotate[rotation=\numexpr\t-10\relax]{\externalfigure[dummy]}
\stoptext
with:
"
tex error
> don't care.
> Then it's good to have "xpdf" which is simpler than "okular" but works
> especially in
> this case. And before sending pdf-data to a printing-house I use "qpdf" not
> to view,
> but to transform my pdf files as rotate them to get th
the moment it doesn't work with my context-pdfs, I don't know why, but I
don't care.
Then it's good to have "xpdf" which is simpler than "okular" but works
especially in
this case. And before sending pdf-data to a printing-house I use "qpdf" not to
view,
but to transform
uot;,
xlabels = "yes",
ylabels = "yes",
ycaption = "\strut\tfd \rotate[rotation=90]{vertical}",
xcaption = "\strut\tfd horizontal",
pointsymbol = "dot", pointsize = 4, pointcolor = "orange",
sx = 2mm, sy = 4mm, li
yticks = "left", ysmall = 40, ylarge = 4,
code = "1.5 * math.sin(2*x^2)",
xlabels = "yes",
ylabels = "yes",
ycaption = "\strut\tfd \rotate[rotation=90]{vertical}",
xcaption = "\strut\tfd horizontal&q
all = 40, ylarge = 4,
code = "1.5 * math.sin(2*x^2)",
xlabels = "yes",
ylabels = "yes",
ycaption = "\strut\tfd \rotate[rotation=90]{vertical}",
xcaption = "\strut\tfd horizontal",
pointsymbol = "dot&qu
ge = 4,
code = "1.5 * math.sin(2*x^2)",
xlabels = "yes",
ylabels = "yes",
ycaption = "\strut\tfd \rotate[rotation=90]{vertical}",
xcaption = "\strut\tfd horizontal",
pointsymbol = "dot", poin
][2,3][width=30mm]
\setupTABLE[r][1][height= 50mm,align={lohi}]
\bTABLE
\bTR
\bTD \dontleavehmode{\rotate{1. a bit more text again, entering the age of long
sentences}} \eTD
\bTD \hbox to \dimexpr(.5\lineheight+.5\hsize){\hss{\rotate{2. a bit more text
again, and
see if linebreaking works}}} \eTD
\bTD
-context | current version: 2019.05.18 10:42
PDF of my output is attached.
MWE:
\starttext
\setupTABLE[c][1][width=7mm]
\setupTABLE[c][2][width=30mm]
\setupTABLE[r][each][align={lohi,middle},height= 50mm]
\bTABLE
\bTR
\bTD \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD
\bTD
Hi Willi,
thanks for the quick reply. I have the [align=lohi] as part of the setupTABLE
statement.
Now I tried adding it into the particular cell -- again no effect even if I add
"middle".
\bTD[align=lohi] \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD
I suspect the rotate
gt; \setupTABLE[r][each][align={lohi,middle},height= 50mm]
>
> \bTABLE
> \bTR
> \bTD \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD
> \bTD blah \eTD
> \eTR
>
> \eTABLE
> \stoptext
> _
of my output is attached.
MWE:
\starttext
\setupTABLE[c][1][width=7mm]
\setupTABLE[c][2][width=30mm]
\setupTABLE[r][each][align={lohi,middle},height= 50mm]
\bTABLE
\bTR
\bTD \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD
\bTD blah \eTD
\eTR
\eTABLE
\stoptext
rotate-test.pdf
rotation, maybe there is a better
> solution for this?
I want to avoid enabling auto rotate in the screens where these
documents are viewed.
In any case, as long as I use "\setupinteractionscreen[option={none,
max}]", everything works as expected.
May thank
includes calculations
for the different box types. Part of these calculations are the width
and height of the document and paper but when you rotate one of them you
get unexpected values for them.
Many thanks for your reply, Wolfgang.
I see that a more complex method is deployed to get the box sizes
ions
> for the different box types. Part of these calculations are the width
> and height of the document and paper but when you rotate one of them you
> get unexpected values for them.
Many thanks for your reply, Wolfgang.
I see that a more complex method is deployed to get
1 - 100 of 399 matches
Mail list logo