other hand, the other
`\glueexpr`, after `\myskip=`, complains about a "Illegal unit of
measure (pt inserted)". It does not seem to accept the fractional part,
everything works again if I use
\starttext
\the\glueexpr 0.0pt \relax
\newskip\myskip
\myskip=\glueexpr 0pt \relax
\stoptext
Am
The synonym "sym" defined by \definesynonyms[sym][syms][\symdesc] can take 2
entries by default:
\sym[]{}{}
For theses and whitepapers in the natural sciences and in engineering it is
needed to introduce another entry for the unit:
\sym[]{}{}{} (<-- This does of course not
com
Dear list,
I have the following sample:
\startbuffer[demo]
Unit 1
text
Unit 1
Summary
summary
Synopsis
synopsis
Unit 2
text
On Tue, 5 Feb 2019 12:22:29 +0100
Marco Patzer wrote:
> Is there a way to hook the \spaceddigits into \unit somehow?
I tried to add \spaceddigits to the \unit command, but it didn't
work. If someone has an idea how to do that, I'd greatly appre
On Thu, 31 Jan 2019 13:43:13 +0100
Otared Kavian wrote:
Sorry for the late response.
> Can this give what you wish?
>
> \define[2]\myunit{\spaceddigits{#1}\unit{#2}}
> \starttext
> \myunit{123456789}{volt}
> \stoptext
That's a way to solve it, yes. But I'd prefer
> Am 31.01.2019 um 15:00 schrieb Clyde Johnston :
>
> Maybe this should be a language specific parameter. How would you achieve a
> similar result with the Indian numbering system, for instance?
>
> Also, decimal and thousands separators vary from country to country. In
> France, for exampl
> On 31 Jan 2019, at 15:00, Clyde Johnston wrote:
>
> Maybe this should be a language specific parameter. How would you achieve a
> similar result with the Indian numbering system, for instance?
It is an additional feature that may or may not be linked to language. For
example, in Swedish or
omatic thousands separation in \unit
Hi Marco,
Can this give what you wish?
\define[2]\myunit{\spaceddigits{#1}\unit{#2}}
\starttext
\myunit{123456789}{volt}
\stoptext
On 31 Jan 2019, at 13:28, Marco Patzer wrote:
Hi!
I'm wondering if there's a way to have aut
Hi Marco,
Can this give what you wish?
\define[2]\myunit{\spaceddigits{#1}\unit{#2}}
\starttext
\myunit{123456789}{volt}
\stoptext
> On 31 Jan 2019, at 13:28, Marco Patzer wrote:
>
> Hi!
>
> I'm wondering if there's a way to have automatic thousands separati
Hi!
I'm wondering if there's a way to have automatic thousands separation in the
\unit command? \spaceddigits does that, but it doesn't work inside \unit. And
using both would be quite verbose to write. Example:
\starttext
%% no thousands separation
\unit{123456789 vol
of 946 on 1000
units,
in texgyrepagella-regular-500.ttx, M has a "width" of 946 on 500 that
looks like 2x the width of M in regular
in texgyrepagella-regular-2000.ttx, M has a "width" of 946 on 2000 that
looks like 0.5x the width of M in regular
--- under the assumption tha
{NH_3} \eTD \bTD R407C
\eTD \bTD R134a \eTD \eTR
\bTR \bTD \math{t_s} \eTD \bTD \math{p_s} \eTD \bTD
\math{p_s}\eTD \bTD \math{p_s} \eTD \eTR
\bTR \bTD \unit{Celsius} \eTD \bTD \unit{bar} \eTD \bTD
\unit{bar}\eTD \bTD \unit{bar} \eTD \eTR
\eTD \eTR
\bTR \bTD \math{t_s} \eTD \bTD \math{p_s} \eTD \bTD \math{p_s}
\eTD \bTD \math{p_s} \eTD \eTR
\bTR \bTD \unit{Celsius} \eTD \bTD \unit{bar} \eTD \bTD \unit{bar}
\eTD \bTD \unit{bar} \eTD \eTR
\bTR \bTD \unit{+35} \eTD \bTD 13,50 \eTD
e calculations
- choose better step values (Delta is about .8 so why not use 1)
- (maybe no in and scale later, not tested)
- partition the pseudo array
- avoid redundant tests
For sure it can be made faster (you know what your goal is so that is a
challenge for you).
\starttext
\startMPpage
t;
> \bTABLE [setups=tablesetups]
> \bTR
> \bTD Well depth \eTD
> \bTD 10100 ft \eTD
> \startmode [BL] \bTD \unit{3100 meter} \eTD \stopmode
> \eTR
> \bTR
> \bTD Fluid density \eTD
> \bTD 9.0 ppg \eTD
> \s
\bTABLE [setups=tablesetups]
\bTR
\bTD Well depth \eTD
\bTD 10100 ft \eTD
\startmode [BL] \bTD \unit{3100 meter} \eTD \stopmode
\eTR
\bTR
\bTD Fluid density \eTD
\bTD 9.0 ppg \eTD
\startmode [BL] \bTD \unit{1.08 kilogram per liter} \eTD
trouble...
don't use t-simplefonts, use \selectfont instead (its replacement)
\definefontfamily [Manuals] [rm] [Cambria]
\definefontfamily [Manuals] [ss] [Calibri]
\definefontfamily [Manuals] [tt] [Consolas]
\definefontfamily [Manuals] [mm] [Cambria Math]
\
0,0).
I thought origin had to be explicitly set.
> (dir angle) returns a pair on a unit circle surrounding the origin, i.e.
> (cosd angle,sind angle) where cosd is the cosine function operating on
> an angle in degrees.
Well, I need to refresh my math from high school (centuries ago :
On Thu, 24 May 2018 21:01:59 +0200
Pablo Rodriguez wrote:
> dir seems magic to me. I don’t understand how it works, not even how
> it can be used for drawing not having an origin.
All MP drawings have an origin (0,0).
(dir angle) returns a pair on a unit circle surrounding the origi
around but
%D in a more modern way.
%D
%D \startbuffer
%D \basegrid
%D [nx=8,ny=5,
%Ddx=.5,dy=.25,
%Dunit=cm,scale=2,factor=1,
%Doffset=1ex,xstep=2,ystep=1,
%Dalign=middle,style=\tt\tx]
%D \stopbuffer
%D
%D \typebuffer
%D
%D \placefigure
%D {An example of a grid.}
%D {\getbuff
SyncTeX Version:1
Input:1:G:/Z-Test/test-utf8.tex
Output:pdf
Magnification:1000
Unit:1
X Offset:0
Y Offset:0
Content:
!118
{1
[0,0:0,0:0,0,0
v0,0:0,55380990:39158276,55380990,0
)
]
!63
}1
!7
Postamble:
Count:2
!22
Post scriptum:
and the log-file says:
system > synctex functionality is enab
r((\recurselevel -1) * \textheight)" for the vertical offset is
>> wrong.
>> How can I do this calculation?
>
> You are missing a comma at the end of the voffset line
Thank you, but that’s not the core problem.
I get "Illegal unit of measure (pt inserted)"
\FrameTitle{Info}{\startFramedText[width=10cm]
> L'équivalent vingt pieds (EVP) est une unité de mesure de conteneurs
> (de longueur courante 20 pieds, soit environ \unit{6,1 meter}).
>
> 1 EVP représente environ \unit{38,5 cubic meter}.
>\stopFramedText}
>
>
> [figure]
>
> \setupfloat
> [recipe]
> [default={right,none}]
>
> \showframe
>
> \starttext
> \placerecipe{}
> {\FrameTitle{Info}{\startFramedText[width=10cm]
> L'équivalent vingt pieds (EVP) est une unité de mesure
L'équivalent vingt pieds (EVP) est une unité de mesure de
conteneurs (de longueur courante 20 pieds, soit environ
\unit{6,1 meter}).
1 EVP représente environ \unit{38,5 cubic meter}.
\stopFramedText}}
\input zapf
\stoptext
Just in case it he
t; background=color,
>>> backgroundcolor=MyColorB,
>>> ]
>>>
>>> \defineframedtext
>>> [FramedText]
>>> [
>>> offset=0.6em,
>>> toffset=\lineheight,
>>> background=color,
>>>
undstyle={\switchtobodyfont[10pt]},
>> align=verytolerant,
>> frame=off,
>> corner=01,
>> ]
>>
>>
>> \showframe
>> \starttext
>>
>> \FrameTitle{Info}{\startFramedText[width=10cm]
>> L'équivalent vingt pieds (E
foregroundstyle={\switchtobodyfont[10pt]},
>> align=verytolerant,
>> frame=off,
>> corner=01,
>> ]
>>
>>
>> \showframe
>> \starttext
>>
>> \FrameTitle{Info}{\startFramedText[width=10cm]
>> L'équivalent
ackgroundcolor=MyColorA,
> foregroundstyle={\switchtobodyfont[10pt]},
> align=verytolerant,
> frame=off,
> corner=01,
> ]
>
>
> \showframe
> \starttext
>
> \FrameTitle{Info}{\startFramedText[width=10cm]
> L'équivalent vingt pieds (EV
,
frame=off,
corner=01,
]
\showframe
\starttext
\FrameTitle{Info}{\startFramedText[width=10cm]
L'équivalent vingt pieds (EVP) est une unité de mesure de conteneurs
(de longueur courante 20 pieds, soit environ \unit{6,1 meter}).
1 EVP représente environ \unit{38,5 cubic
\showframe
\starttext
\placerecipe{}
{\startMyFrame[Title=Info,width=10cm]
L'équivalent vingt pieds (EVP) est une unité de mesure de conteneurs
(de longueur courante 20 pieds, soit environ \unit{6,1 meter}).
1 EVP représente environ \unit{38,5 cubic meter}.
\stopMyFrame
lacerecipe{}
{\startMyFrame[Title=Info,width=5cm]
L'équivalent vingt pieds (EVP) est une unité de mesure de conteneurs
(de longueur courante 20 pieds, soit environ \unit{6,1 meter}).
1 EVP représente environ \unit{38,5 cubic meter}.
\stopMyFrame
}
Le tableau ci-de
nTeXt installation with only luatex(mkiv)
and all modules (updated yesterday).
I intend to write a number of ConTeXt modules to assist in my work.
My first module is ConTests a simple wrapper around lua's lunatest
framework. ( GitHub: stephengaito/ConTests )
As I work I like to write unit
On 10/31/2016 05:30 PM, Florian Leupold wrote:
> Hello!
>
> There does not seem to be a simple solution to using \unit with
> uncertainties, see below.
>
> Could someone maybe point me to the relevant source code for the parser for
> \unit in MKIV? Then I would try to mo
Hello!
There does not seem to be a simple solution to using \unit with uncertainties,
see below.
Could someone maybe point me to the relevant source code for the parser for
\unit in MKIV? Then I would try to modify/improve the code myself.
Thanks a lot and best regards,
Florian
>
> On 06.10.16, at 10:32, Otared Kavian wrote:
>
> Hi,
>
> Maybe you should use rather
>
> $\underbar{F_C=\unit{1e2 newton}}$ or \underbar{\unit{1e2 newton}}
>
> since otherwise \underbar considers each character in the math formula as a
> word, which s
Hi,
Maybe you should use rather
$\underbar{F_C=\unit{1e2 newton}}$ or \underbar{\unit{1e2 newton}}
since otherwise \underbar considers each character in the math formula as a
word, which should be underlined separately.
Best regards: OK
> On 5 Oct 2016, at 22:01, Florian Leup
Dear list,
underbar behaves weirdly when it comes to indexes, exponents, and units:
\starttext
\underbar{$F_C=\unit{1e2 newton}$} or \underbar{\unit{1e2 newton}}
\stoptext
Am I doing something wrong? Is there maybe a setting to correct for this?
Thanks,
Florian
signature.asc
Description
Dear list
Is it possible to use the units module (in MKIV) for value plusminus
uncertainty in a way similar to the \SI command in LaTeX, like
\unit{(1.59\pm2)e-19 coulomb} or
\unit{1.59(2)e-19 coulomb}?
Thanks and best regards,
Florian
signature.asc
Description: Message signed with
Dear list,
I would like to point out the following bug: \registerunit is not case
sensitive. This means that if I register “N” for Newton, “n” for nano is
overwritten.
MWE:
\registerunit[unit][N=newton]
\starttext
Newton: \unit{1N}, nano meter: \unit{1nm}
\stoptext
Best regards,
Florian
d to set up.
>
> > i'll let mojca decide that ... (i just ship what she patches in setuptex)
>
> I'll apply the patch. Now, setuptex is not problematic, the same patch
> goes there. But mtxrun doing its own guesswork on top of this might
> be. Let's see.
patch the scripts, thank you very much. I was a bit frustrated by the
inability to support both platforms properly.
I'm now waiting for the code for the 64-bit arm binaries :)
I have one in my drawer that I still need to set up.
> i'll let mojca decide that ... (i just ship what she patc
016/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex:
! Illegal unit of measure (pt inserted)
,
0.000,
0.100
\pgfutil@emu@@unpack ...pt\pgf@xb =#2pt\pgf@xc =#3
pt
\pgfutil@emu@mix ... \string \color@ #1\endcsname
[1]
[width=.3\textwidth]
\starttext
\blank[8*big, force]
\dorecurse{10}{
\blank[2*big]
\noindentation
\startsubjectpar
{\ss\tfc ENG4U}
\subjectpar
%% Need to keep the following together as a unit.
{\ss\tfc English (Gr
tups xml:text
\indenting[{yes,first,12pt}]
\xmlflush{#1}
\stopxmlsetups
\setuptabulation[rulethickness=1pt,unit=2pt]
\ctxlua{
function xml.functions.divTabulate(t)
local format = xml.attribute(t, "", "format")
context.starttabulate( { format } )
lxml.flush(t)
context.
Pavneet Arora <mailto:pavneet_ar...@waroc.com>
9. Juni 2016 um 22:21
Related to my previous enquiry, I have the same issue with another part
of the report card that uses Natural Tables.
I'd like to keep two rows together as a unit, and not have the table
split between them. Is that po
On Thu, 9 Jun 2016, Pavneet Arora wrote:
Related to my previous enquiry, I have the same issue with another part
of the report card that uses Natural Tables.
I'd like to keep two rows together as a unit, and not have the table
split between them. Is that possible, and how?
advTHANK
stripped away most of the details as well as the application
fonts, but the issue that I am facing is related to keeping the course
header (done as a paragraph environment), \hairline, and the teacher's
comment for that course together as a unit.
At a minimum, I would like the three elements
Related to my previous enquiry, I have the same issue with another part
of the report card that uses Natural Tables.
I'd like to keep two rows together as a unit, and not have the table
split between them. Is that possible, and how?
advTHANKSance
>>>> MWE
\definefontfa
quot;.
just see how underbar is defined ... if you want fixed dimensions you
should used a fixed unit (not one derived from the current font)
Hans
-
Hans Hagen | PRAGMA ADE
rules}
\maketitle
\begin{abstract}
This file sets spaces around footnote rules, to have a uniform
\unit{3}{\milli\meter} before and after. There are three levels of paragraphed
notes. Before the first series of notes, we have \unit{0.5}{\centi\meter}.
We use \verb+\Xbeforenotes+ and \verb+\Xaft
nitsquare. Notice also
that I used the xsized transformation rather than scaled since the
textext("\externalfigure[cow]") variant returns the "natural" dimension
of the figure, not a unit-scaled box. The origin of the two images also
differs (lower-left corner vs. center); both beh
n die resultierende Kraft $\vec{F}_{\rm res}$
Null ist.}\NC\AR
\MR
\NC Drehmoment \NC\Use2[lM]{M=Fr} \NC [M]=\unit{1 Newton meter}\NC\AR
\NC \NC F \NC Kraft ($\perp$\ zur DA) \NC [F]=\unit{1 Newton}\NC\AR
\NC \NC r \NC Kraftarm (Abstand DA – Wirkungslinie) \NC [r]=\unit{1
meter}\NC\AR
\MR
\NC Momenten-
int:
english/english
...
tex error > tex error on line 25 in file
/Users/aese/Temp/ctx/split.tex: ! You can't use `\prevdepth' in
restricted horizontal mode
...
tex error > tex error on line 25 in file
/Users/aese/Temp/ctx/split.tex: ! Illegal unit of measure (pt
i
emp/ctx/split.tex: ! You can't use `\prevdepth' in
restricted horizontal mode
...
tex error > tex error on line 25 in file
/Users/aese/Temp/ctx/split.tex: ! Illegal unit of measure (pt inserted)
In reality my footer is lot more complex (huge table :-)) and I see no
bett
\NC Höhe Mittelteil \NC -- \NC \unit{12 milli meter}\NC\NR
\NC Höhe bei den Enden \NC -- \NC Vor dem Einleimen: \par
on line 570 in file
/path/to/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex: ! Illegal
unit of measure (pt inserted)
,
0.000,
0.100
\pgfutil@emu@@unpack ...pt\pgf@xb =#2pt\pgf@xc =#3
pt
\pgfutil@emu@mix ... \string \color@ #1\e
On 5/15/2015 9:43 PM, Maggyero wrote:
I've tried the unit interface today, and I've noticed two issues with
the following example:
\setupunits[alternative=text]
\starttext
$\unit{-4.6e-3 km s^-1}$
\stoptext
1. Minus superscripts for UNITS (so 's^-1' here—not 'e-3'
> Am 16.05.2015 um 11:09 schrieb henman :
>
> In the below example, used with the latest standalone ConTeXt version, I can
> only get
> \hskip to work when the parameter is 1 dimension unit. e.g. 1em or 1cm for
> example.
>
> How can I get a larger horizontal spa
In the below example, used with the latest standalone ConTeXt version, I
can only get
\hskip to work when the parameter is 1 dimension unit. e.g. 1em or 1cm
for example.
How can I get a larger horizontal space say 3em , rather that having to
write
\hskip 1em \hskip 1em \hskip 1em
I've tried the unit interface today, and I've noticed two issues with the
following example:
\setupunits[alternative=text]
\starttext
$\unit{-4.6e-3 km s^-1}$
\stoptext
1. Minus superscripts for UNITS (so 's^-1' here—not 'e-3', which is fine)
are converted t
head{Head
> A}
>
>> 2. I use a lot \Milli\Meter. When loading the module with \usemodule[units]
>> it works fine. But in the log there is a message that this is an obsolete
>> module. - This is unfortunately not true, because when not loading the
>> module th
oading the module with \usemodule[units]
> it works fine. But in the log there is a message that this is an obsolete
> module. - This is unfortunately not true, because when not loading the module
> the compilation stops with an error of an undefined control sequence.
The built-in uni
*/
display : block ;
margin-top: 1em ;
margin-bottom : 1em ;
margin-left : 2.5em ;
}
formulaset { /* todo */
display : block ;
margin-top: 1em ;
margin-bottom : 1em ;
margin-left : 2.5em ;
}
formulacaption { /* todo */
display : block ;
margin-top : 0.5em ;
c
On 3/3/2015 6:47 PM, Andrea De Michele wrote:
Romain Diss writes:
Hi,
with siunitx LaTeX package its possible to obtain physics units like m/s
printed in different way changing one option:
e.g.
\si{\metre\per\second} produce ms^{-1}
\unit{10 meter inverse second}
Thank you.
\si[per
Romain Diss writes:
> Hi,
>
>> with siunitx LaTeX package its possible to obtain physics units like m/s
>> printed in different way changing one option:
>> e.g.
>> \si{\metre\per\second} produce ms^{-1}
> \unit{10 meter inverse second}
Thank you.
>
>&
Hi,
> with siunitx LaTeX package its possible to obtain physics units like m/s
> printed in different way changing one option:
> e.g.
> \si{\metre\per\second} produce ms^{-1}
\unit{10 meter inverse second}
> \si[per-mode=symbol]{\metre\per\second} produce m/s
\unit{10 meter per
Hi,
with siunitx LaTeX package its possible to obtain physics units like m/s
printed in different way changing one option:
e.g.
\si{\metre\per\second} produce ms^{-1}
\si[per-mode=symbol]{\metre\per\second} produce m/s
\si[per-mode=fraction]{\metre\per\second} produce \frac{m}{s}
have the unit
ors, wd;
u := 1cm; % unit length
nb_vectors := 20; wd = .5;
boolean intersect; pair random_origin; color random_color; path
candidate, random_vector[];
%
vardef bb(expr p) =
save orig, extr; pair orig, extr; orig = point 0 of p; extr = point 1
of p;
pair v,w; v = wd*unitvector(extr-orig)*u;
chieved with a
table or something similar [I’m in a hurry right now]):
\starttext
\dontleavehmode\framedtext[frame=on,loffset=1em,roffset=1em,background={rightbrace}]{
La longueur est \unit{4 centimeter} ; on donne à $L$ la valeur $4$.
La largeur est \unit{3 centimeter} ; on donne à $l$
e[height=\overlayheight]{\useMPgraphic{accolade}}}]
\defineoverlay[rightbrace][\rightaligned{\mirror{\scale[height=\overlayheight]{\useMPgraphic{accolade]
\starttext
\framedtext[frame=off,loffset=1em,roffset=1em,background={rightbrace}]{
La longueur est \unit{4 centimeter} ; on donne
a solution
<http://tex.stackexchange.com/questions/225864/metapost-error-related-with-context>)
because the freelabel() function. If I disable it the result is the
expected.
What is wrong with this code?
\starttext
\startMPcode
numeric u, nb_vectors, wd;
u := 1cm; % unit length
nb_vecto
(pour 4 personnes)
\startitemize[1]
\startitem \unit{1 kg} de pommes de terre \stopitem
\startitem \unit{60 g} de fromage râpé \stopitem
\startitem \unit{25 Centiliter} de crème fraîche \stopitem
\stopitemize
\stopbuffer
\placerecipe
{}
{\myframed{\getbuffer
]
\startitem \unit{1 kg} de pommes de terre \stopitem
\startitem \unit{60 g} de fromage râpé \stopitem
\startitem \unit{25 Centiliter} de crème fraîche \stopitem
\stopitemize
\stopbuffer
\placerecipe
{}
{\myframed{\getbuffer}}
\startitemize[n][stopper
es ci-dessous afin qu'ils affichent en
\unit{square meter}, puis en hectares, la superficie d'un terrain
rectangulaire de longueur $L$ mètres et de largeur $l$ mètres, saisies
en entrée.
\stopxcell
\startxcell
\switchtobodyfont[7pt]
\startMPcode
numeric u;
u=0.7cm;
z0=(0,0) ;
=(0,2.5u) ;
z4=(-0.2u,0) ;
z5=(-0.2u,2.5u) ;
z6=(0,2.7u) ;
z7=(2.5u,2.7u) ;
z8=(1.25u,1.25u) ;
drawdblarrow z4--z5 ;
drawdblarrow z6--z7 ;
fill z0--z1--z2--z3--cycle withcolor green ;
draw z0--z1--z2--z3--cycle ;
label.top("\unit{100 meter}",0.5[z6,z7]) ;
label.lft("\unit{100 me
ext
> >> \startitemize[n][stopper={.},style=bold]
> >> \placefigure[right,none]{}{
> >> \startframedtext[
> >> width=6cm,
> >> frame=on,
> >> framecolor=H1prime,
> >> location=middle,
> >> background=color,
&g
artitemize[n][stopper={.},style=bold]
\placefigure[right,none]{}{
\startframedtext[
width=6cm,
frame=on,
framecolor=H1prime,
location=middle,
background=color,
backgroundcolor=H4]
\switchtobodyfont[10pt]
Ingrédients (pour 4 personnes)
\startitemize[1]
\item \unit{1 kg} de
style=bold]
\placefigure[right,none]{}{
\startframedtext[
width=6cm,
frame=on,
framecolor=H1prime,
location=middle,
background=color,
backgroundcolor=H4]
\switchtobodyfont[10pt]
Ingrédients (pour 4 personnes)
\startitemize[1]
\item \unit{1 kg} de pommes de terre
\item \unit{60 g} de fr
,261}{33\,957}$ \eTD
\bTD L'inverse de $\sin{\unit{30 degree}}$\eTD
\bTD\eTD
\bTD PGCD de 11\,760 et de 2\,574\eTD
\eTR
\bTR
\bTD \eTD
\bTD $\sqrt{25-9}$ \eTD
\bTD \eTD
\bTD \eTD
\bTD \eTD
\bT
Am 28.07.2014 um 08:27 schrieb Hwitloc :
> I want a degree sign so I use the other graniod.
> Below the \prime symbol getdires
>
> \starttext
>
> 77\degree ~4f4\prime
>
> \stoptext
>
> The prime character gets
Are you looking for the unit command?
%\setu
On 6/1/2014 10:48 PM, Romain Diss wrote:
Hi all,
It seems that the \unit parser doesn't recognize the 'astronomicalunit'.
Minimal exemple:
\starttext
\unit{100 astronomicalunit}
\unit { 100 astronomical unit}
works ok ... I'll add the nonspaced one
\stoptext
% Rend
On 6/1/2014 10:48 PM, Romain Diss wrote:
Hi all,
It seems that the \unit parser doesn't recognize the 'astronomicalunit'.
Minimal exemple:
\starttext
\unit{100 astronomicalunit}
\stoptext
% Rendering gives 100 as.t
% One expect 100 au
so what sho
Hi all,
It seems that the \unit parser doesn't recognize the 'astronomicalunit'.
Minimal exemple:
\starttext
\unit{100 astronomicalunit}
\stoptext
% Rendering gives 100 as.t
% One expect 100 au
Thanks for help.
or switching the line -
like \vskip would do. Is there a method to bring it in position
(relatively, using em as unit), without affecting the normal text? Maybe
as overlay or something like that?
Thanks.
Huseyin
on nearly every page).
Which unit has this offset?
\setupbars[overbar][offset=3]
I tried the font-independent unit em
\setupbars[overbar][offset=3em]
but that does not work.
as 'ex' is bad font that font, you can try 'em' :
\setupbars[overbar][offset
http://www.ntg.nl/pipermail/ntg-context/2012/070738.html
Wolfgang
Thanks Wolfgang, but this solution is not independent from the size of
the font, and so had to be adjust for each size again (bad for my
project, where the font-size changes on nearly every page).
Which unit has this offset
int:
english/english
# with mpcirc.mp ##
With this code:
\startMPinclusions
input mpcirc;
\stopMPinclusions
\starttext
%\forceMPTEXgraphictrue %%% command don't work
\startMPcode
u:=10bp; % unit of length
prepare(L,C,Vac); % mention your elements
z0=(10u,10u); % lower
dule when you use the new \unit command, you can only
use one
mechanism because both aren’t compatible.
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
Am 27.02.2014 um 19:22 schrieb Fabrice Couvreur :
> Hi,
> I see that there is no space between the words "pour"and "km".
When you use the old units module you have to insert a control space with “\ ”,
e.g.
\usemodule[units]
\starttext
6000 \Unit \Kilo \Meter \ o
etupbodyfont[me,12pt]
\starttext
Zeus désire se désaltérer avec un jus de planète pressée. La planète qu'il
va choisir dans le système solaire doit suffire à remplir à ras bord ses
deux verres de forme conique. Le premier verre a un rayon de base de 6000
\Unit \Kilo \Meter pour une hauteur égale a
On 1/9/2014 12:59 PM, Marco Patzer wrote:
Hi,
the following example exceeds TeX's capacity:
\mainlanguage [deo]
\starttext
\unit{10 square metre}
\stoptext
fixed in next beta (needs testing) but if you're in a hurry you can
patch lang-lab.mkiv
% \else\ifcsname\??la
Hi,
the following example exceeds TeX's capacity:
\mainlanguage [deo]
\starttext
\unit{10 square metre}
\stoptext
Marco
signature.asc
Description: Digital signature
___
If your question is of interest to o
e the word
the only issue i see is that this otf font has 2048 units and gets scaled
wrong (in luatex's backend probably)
It is actually a TTF font but the extension confuses ConTeXt (we
discussed this very issue before).
afaik it passes the right unit value so the backend gets confused ...
; above the word
> >>
> >>the only issue i see is that this otf font has 2048 units and gets scaled
> >>wrong (in luatex's backend probably)
> >
> >It is actually a TTF font but the extension confuses ConTeXt (we
> >discussed this very issue before).
&
's backend probably)
It is actually a TTF font but the extension confuses ConTeXt (we
discussed this very issue before).
afaik it passes the right unit value so the backend gets confused ...
okay, we could probably specify a font to be truetype when units ~= 1000
but still ... i have no probl
Am 17.11.2013 um 15:33 schrieb honyk :
> Other OTF features needs to be declared though:
> \definefontfeature[f:superscript][sups=yes]
>
> and then used as written above:
> 25 m{\feature[+][f:superscript]2}
>
> But it is not so big deal.
When you use this for units
Am 03.10.2013 um 14:19 schrieb Giuseppe Fierro :
> Hi,
> I'm a civil engineer and I like to use ConTeXt to write my report etc.
> As engineer i use a lot of units in my writing and the \unit command works
> nice with this.
>
> What I need is a new unit, a quadratic
On Thu, Oct 3, 2013 at 2:19 PM, Giuseppe Fierro wrote:
> Hi,
> I'm a civil engineer and I like to use ConTeXt to write my report etc.
> As engineer i use a lot of units in my writing and the \unit command works
> nice with this.
>
> What I need is a new unit, a quadratic
Hi,
I'm a civil engineer and I like to use ConTeXt to write my report etc.
As engineer i use a lot of units in my writing and the \unit command works
nice with this.
What I need is a new unit, a quadratic unit like this:
Area Moment of Inertia - Metric units mm4 cm4 m4
This kind of unit
201 - 300 of 730 matches
Mail list logo