[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re: @Diag with coordinates is not working for me
From: |
Eric BOUCHARE |
Subject: |
re: @Diag with coordinates is not working for me |
Date: |
Sun, 1 Sep 2019 14:33:39 +0200 (CEST) |
Hello,
It seems that the actual size of the diagram is the whole horizontal extent.
Test the different cases below.
@SysInclude { diag }
@SysInclude { doc }
@Doc @Text @Begin
@LP Expand on all the width of Page
@DP @Diag {
@Box margin { 0c } 4c @Wide 5c @High
//
A:: @Square
translate { CTR to 0.5,0.67 }
{ @I A }
B:: @Circle
translate { CTR to 0.8,0.25 }
{ @I B }
@Link arrow{yes} from{A} to{B}
}
@DP Use of "@HContract" or any display symbol that tries to contract as much as
possible the horizontal extent
@DP @HContract @Diag {
@Box margin { 0c } 4c @Wide 5c @High
//
A:: @Square
translate { CTR to 0.5,0.67 }
{ @I A }
B:: @Circle
translate { CTR to 0.8,0.25 }
{ @I B }
@Link arrow{yes} from{A} to{B}
}
@DP Set the width of diagram from outside
@LP @Box margin { 0c } 4c @Wide 5c @High @Diag {
A:: @Square
translate { CTR to 0.5,0.67 }
{ @I A }
B:: @Circle
translate { CTR to 0.8,0.25 }
{ @I B }
//
@Link arrow{yes} from{A} to{B}
}
@End @Text
Eric
> Message du 31/08/19 22:50
> De : "Daniel Ajoy"
> A : "address@hidden"
> Copie à :
> Objet : @Diag with coordinates is not working for me
>
> @Diag with coordinates is not working for me
>
> I'm running these commands:
>
> lout -V
>
> Basser Lout Version 3.40 (June 2013)
> Basser Lout written by: Jeffrey H. Kingston (address@hidden)
> Free source available from: ftp://ftp.it.usyd.edu.au/jeff/lout
> This executable compiled: 20:33:59 Sep 26 2017
> System include directory: /usr/local/lib/lout.lib/include
> System database directory: /usr/local/lib/lout.lib/data
> Database index files created afresh automatically: yes
> Safe execution (disabling system()) is default: no
> strcoll() used for sorting by default: yes
> PDF compression on: no
> Debugging (-d, -dd, -ddd flags) available: no
>
> Basser Lout comes with ABSOLUTELY NO WARRANTY.
> This is free software, and you are welcome to
> redistribute it under certain conditions. For
> details on both points, consult the GNU General
> Public License (distributed with this software).
>
> lout subitizing-suma-y-resta.lout > subitizing-suma-y-resta.ps
>
>
> Which produce the attached PS.
>
> I noticed that the content of the Box is outside the box. Whereas in the
> user's manual it is inside.
>
> What am I doing wrong?
>
> Daniel
>
> [ subitizing-suma-y-resta.ps (168.5 Ko) ]
> [ subitizing-suma-y-resta.lout (0.3 Ko) ]
- re: @Diag with coordinates is not working for me,
Eric BOUCHARE <=