Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
print-pattern
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
Container Registry
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fabrice Salvaire
print-pattern
Commits
d81ce494
Commit
d81ce494
authored
3 years ago
by
Fabrice Salvaire
Browse files
Options
Downloads
Patches
Plain Diff
init
parents
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mire-impression.pdf
+0
-0
0 additions, 0 deletions
mire-impression.pdf
mire-impression.tex
+136
-0
136 additions, 0 deletions
mire-impression.tex
with
136 additions
and
0 deletions
mire-impression.pdf
0 → 100644
+
0
−
0
View file @
d81ce494
File added
This diff is collapsed.
Click to expand it.
mire-impression.tex
0 → 100644
+
136
−
0
View file @
d81ce494
\documentclass
[]
{
article
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage
[]
{
fontspec
}
\usepackage
[rgb]
{
xcolor
}
% A0 841x1189 mm
% 914 mm
\usepackage
[
%
% paper=a0paper,%
paperwidth=914mm,
paperheight=914mm,
includeheadfoot,
%
margin=1cm,
headsep=0cm, footskip=0cm,
%
showcrop,
% showframe,
luatex,
]
{
geometry
}
\usepackage
{
tikz
}
\usetikzlibrary
{
calc
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\pagestyle
{
empty
}
%
%
% \setmainfont[Ligatures=TeX]{Latin Modern Sans}
\setmainfont
[Ligatures=TeX,SizeFeatures=
{
Size=16,
Size=24,
Size=32,
Size=64
}
]
{
lmsans12-regular.otf
}
% \setmainfont[Ligatures=TeX,SizeFeatures={Size=64}]{lmsans12-regular.otf}
\fontsize
{
24
}{
24
}
\selectfont
%
\begin{tikzpicture}
[remember picture, overlay]
\node
[shift=
{
(0cm,-10cm)
}
] at (current page.north west)
{
%
\begin{tikzpicture}
[remember picture, overlay]
\draw
[line width=1mm]
(0,0) rectangle (10,10);
\end{tikzpicture}
}
;
\node
[shift=
{
(-10cm,-10cm)
}
] at (current page.north east)
{
%
\begin{tikzpicture}
[remember picture, overlay]
\draw
[line width=1mm]
(0,0) rectangle (10,10);
\end{tikzpicture}
}
;
\node
[shift=
{
(0cm,0cm)
}
] at (current page.south west)
{
%
\begin{tikzpicture}
[remember picture, overlay]
\draw
[line width=1mm]
(0,0) rectangle (10,10);
\end{tikzpicture}
}
;
\node
[shift=
{
(-10cm,0cm)
}
] at (current page.south east)
{
%
\begin{tikzpicture}
[remember picture, overlay]
\draw
[line width=1mm]
(0,0) rectangle (10,10);
\end{tikzpicture}
}
;
% Draw a page border
\draw
(current page.north west) rectangle (current page.south east);
\end{tikzpicture}
%
\begin{center}
\fontsize
{
64
}{
64
}
\selectfont
Print Pattern 941
\,
mm
\\
[5mm]
\fontsize
{
24
}{
24
}
\selectfont
Done with Lua
\LaTeX\
PGF/Tikz 2021 Fabrice Salvaire
\\
[0cm]
\end{center}
%
\fontsize
{
24
}{
24
}
\selectfont
%
\begin{center}
\def\MireSize
{
80
}
\begin{tikzpicture}
\draw
[line width=1mm]
(0,0) rectangle (
\MireSize
,
\MireSize
);
\draw
[step=5cm, line width=1mm]
(0,0) grid (
\MireSize
,
\MireSize
);
\draw
[line width=1mm]
(0,0) -- (
\MireSize
,
\MireSize
);
\draw
[line width=1mm]
(0,
\MireSize
) -- (
\MireSize
,0);
\coordinate
(O) at (
\MireSize
/2,
\MireSize
/2);
%
\draw
[line width=1mm]
(O) circle [radius=1cm];
\draw
[line width=1mm]
(O) circle [radius=5cm];
\draw
[line width=1mm]
(O) circle [radius=10cm];
\draw
[line width=1mm]
(O) circle [radius=20cm];
\draw
[line width=1mm]
(O) circle [radius=25cm];
\draw
[line width=1mm]
(O) circle [radius=30cm];
\draw
[line width=1mm]
(O) circle [radius=40cm];
%
\begin{scope}
[xshift=10cm,yshift=65cm]
\foreach
\x
in
{
5,10,...,100
}
{
\draw
[xshift=5mm]
(3/10*
\x
,-1) node
{
\x
}
;
\fill
[black!\x]
(3/10*
\x
,0) rectangle ++(1,1);
\fill
[cyan!\x]
(3/10*
\x
,2) rectangle ++(1,1);
\fill
[magenta!\x]
(3/10*
\x
,4) rectangle ++(1,1);
\fill
[yellow!\x]
(3/10*
\x
,6) rectangle ++(1,1);
\fill
[red!\x]
(3/10*
\x
,8) rectangle ++(1,1);
\fill
[blue!\x]
(3/10*
\x
,10) rectangle ++(1,1);
\fill
[green!\x]
(3/10*
\x
,12) rectangle ++(1,1);
}
\end{scope}
%
\begin{scope}
[xshift=62cm,yshift=70cm]
\draw
[font=\fontsize{16}{16}\selectfont]
(0,1) node
{
A B C a p m @16pt
}
;
\draw
[font=\fontsize{24}{24}\selectfont]
(0,2) node
{
A B C a p m @24pt
}
;
\draw
[font=\fontsize{32}{32}\selectfont]
(0,4) node
{
A B C a p m @32pt
}
;
\draw
[font=\fontsize{64}{64}\selectfont]
(0,6) node
{
A B C a p m @64pt
}
;
\end{scope}
%
\begin{scope}
[xshift=60cm,yshift=60cm]
\draw
[line width=0.10mm]
(0,1) -- ++(5,0);
\draw
(6,1) node
{
0.10
}
;
\draw
[line width=0.25mm]
(0,2) -- ++(5,0);
\draw
(6,2) node
{
0.25
}
;
\draw
[line width=0.50mm]
(0,3) -- ++(5,0);
\draw
(6,3) node
{
0.50
}
;
\draw
[line width=0.75mm]
(0,4) -- ++(5,0);
\draw
(6,4) node
{
0.75
}
;
\draw
[line width=1.00mm]
(0,5) -- ++(5,0);
\draw
(6,5) node
{
1.00
}
;
\draw
[line width=1.50mm]
(0,6) -- ++(5,0);
\draw
(6,6) node
{
1.50
}
;
\draw
[line width=2.00mm]
(0,7) -- ++(5,0);
\draw
(6,7) node
{
2.00
}
;
\draw
[line width=2.50mm]
(0,8) -- ++(5,0);
\draw
(6,8) node
{
2.50
}
;
\draw
[line width=3.00mm]
(0,9) -- ++(5,0);
\draw
(6,9) node
{
3.00
}
;
\end{scope}
\end{tikzpicture}
\end{center}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
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