Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
b4cb48f1
Commit
b4cb48f1
authored
22 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
Minor fixes
parent
11758ffb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/texinfo/gmsh.texi
+15
-15
15 additions, 15 deletions
doc/texinfo/gmsh.texi
with
15 additions
and
15 deletions
doc/texinfo/gmsh.texi
+
15
−
15
View file @
b4cb48f1
\input
texinfo.tex @c -*-texinfo-*-
\input
texinfo.tex @c -*-texinfo-*-
@c
$
Id: gmsh.texi,v
1
.
2
4
2003
-
04
-
16
08
:
11
:
17
geuzaine Exp
$
@c
$
Id: gmsh.texi,v
1
.
2
5
2003
-
04
-
16
08
:
23
:
28
geuzaine Exp
$
@c
@c
@c Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
@c Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
@c
@c
...
@@ -803,7 +803,7 @@ while affecting a value to an existing @var{expression-id}, using:
...
@@ -803,7 +803,7 @@ while affecting a value to an existing @var{expression-id}, using:
@cindex Expression, character
@cindex Expression, character
@cindex Strings
@cindex Strings
Character expressions are defined as
follows
:
Character expressions are defined as:
@example
@example
@var
{
expression-char
}
:
@var
{
expression-char
}
:
...
@@ -823,8 +823,8 @@ formatting characters: @code{%e}, @code{%g}, etc.).
...
@@ -823,8 +823,8 @@ formatting characters: @code{%e}, @code{%g}, etc.).
Character expressions are mostly used to specify non-numeric options and
Character expressions are mostly used to specify non-numeric options and
input/output file names. See @ref
{
t8.geo
}
, for an intersting usage of
input/output file names. See @ref
{
t8.geo
}
, for an intersting usage of
@w
{
@var
{
expression-char
}
s
}
in an animation script. Altough there exists no
@w
{
@var
{
expression-char
}
s
}
in an animation script. Altough there exists no
character expression identifier
at the moment
, @w
{
@var
{
expression-char
}
s
}
character expression identifier, @w
{
@var
{
expression-char
}
s
}
can be affected
can be affected
to @w
{
@var
{
string-option
}
s
}
:
to @w
{
@var
{
string-option
}
s
}
:
@example
@example
@var
{
string-option
}
= @var
{
expression-char
}
;
@var
{
string-option
}
= @var
{
expression-char
}
;
...
@@ -844,9 +844,8 @@ The various @w{@var{string-option}s} are listed in @ref{General options},
...
@@ -844,9 +844,8 @@ The various @w{@var{string-option}s} are listed in @ref{General options},
@cindex Expression, color
@cindex Expression, color
@cindex Colors
@cindex Colors
The last type of expressions encountered in Gmsh is color expression, which
Colors expressions are hybrids between fixed-length bracketted
is an hybrid between a bracketted @var
{
expression-list
}
with three or four
@w
{
@var
{
expression-list
}
s
}
and a @w
{
@var
{
string
}
s
}
:
elements, and a @var
{
string
}
:
@example
@example
@var
{
expression-color
}
:
@var
{
expression-color
}
:
...
@@ -855,15 +854,16 @@ elements, and a @var{string}:
...
@@ -855,15 +854,16 @@ elements, and a @var{string}:
@
{
@var
{
expression
}
, @var
{
expression
}
, @var
{
expression
}
, @var
{
expression
}
@
}
@
{
@var
{
expression
}
, @var
{
expression
}
, @var
{
expression
}
, @var
{
expression
}
@
}
@end example
@end example
@noindent The first case in this definition permits to use usual color
@noindent The first case permits to use the X Windows names to refer to colors,
names as defined by the X Window system, e.g. @code
{
Red
}
,
e.g. @code
{
Red
}
, @code
{
SpringGreen
}
, @code
{
LavenderBlush3
}
,@w
{
}
@dots
{}
(see
@code
{
SpringGreen
}
, @code
{
LavenderBlush3
}
,@w
{
}
@dots
{}
(see
@file
{
Common/Colors.h
}
in the sources). The second case permits to define
@file
{
Common/Colors.h
}
). The second case permits to define colors by using
colors by using three expressions to specify their red, green and blue
three expressions to specify their red, green and blue components (with
components (with values comprised between 0 and 255). The last case permits
values comprised between 0 and 255). The last case permits to define colors
to define colors by using the red, green, blue color components as well as
by using the red, green, blue color components as well as the alpha channel.
the alpha channel. See @ref
{
t3.geo
}
, for an example of the use of color
expressions.
Altough there exists no color expression identifier
at the moment
,
Altough there exists no color expression identifier,
@w
{
@var
{
expression-color
}
s
}
can be affected to @w
{
@var
{
color-option
}
s
}
:
@w
{
@var
{
expression-color
}
s
}
can be affected to @w
{
@var
{
color-option
}
s
}
:
@example
@example
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment