Welcoming 2019 Pi day: How to draw the letter π?
How to draw the letter π not in the standard way (i.e.
pi
)?
I mean "draw", not "type"! Today there will be no pi
, but there will be something like this
documentclass[tikz]{standalone}
begin{document}
begin{tikzpicture}
draw (0,2)--(3,2);
draw (1,0)--(1,2);
draw (2,0)--(2,2);
end{tikzpicture}
end{document}
(inspired by David Carlisle – I draw this in TikZ just because I don't know how to use picture
;))
Or this
documentclass[tikz]{standalone}
usepackage{tikzducks}
begin{document}
begin{tikzpicture}
duck
duck[xshift=1cm,yshift=2cm]
duck[xshift=1cm,yshift=4cm]
duck[xshift=1cm,yshift=6cm]
duck[xshift=0cm,yshift=8cm]
duck[xshift=-2cm,yshift=7.5cm]
duck[xshift=2cm,yshift=8cm]
duck[xshift=4cm,yshift=8cm]
duck[xshift=6cm,yshift=8cm]
duck[xshift=8cm,yshift=8cm]
duck[xshift=5cm,yshift=6cm]
duck[xshift=5cm,yshift=4cm]
duck[xshift=5.5cm,yshift=2cm]
duck[xshift=6.5cm,yshift=0cm]
duck[xshift=8cm,yshift=1cm]
node[font=huge] at (4,11) {Happy $pi$ day with verb|tikzducks|!};
end{tikzpicture}
end{document}
They are my proudest π drawings, and as today is Pi day, I'd like to see yours!
tikz-pgf fun tikzducks tikzlings picture-environment
add a comment |
How to draw the letter π not in the standard way (i.e.
pi
)?
I mean "draw", not "type"! Today there will be no pi
, but there will be something like this
documentclass[tikz]{standalone}
begin{document}
begin{tikzpicture}
draw (0,2)--(3,2);
draw (1,0)--(1,2);
draw (2,0)--(2,2);
end{tikzpicture}
end{document}
(inspired by David Carlisle – I draw this in TikZ just because I don't know how to use picture
;))
Or this
documentclass[tikz]{standalone}
usepackage{tikzducks}
begin{document}
begin{tikzpicture}
duck
duck[xshift=1cm,yshift=2cm]
duck[xshift=1cm,yshift=4cm]
duck[xshift=1cm,yshift=6cm]
duck[xshift=0cm,yshift=8cm]
duck[xshift=-2cm,yshift=7.5cm]
duck[xshift=2cm,yshift=8cm]
duck[xshift=4cm,yshift=8cm]
duck[xshift=6cm,yshift=8cm]
duck[xshift=8cm,yshift=8cm]
duck[xshift=5cm,yshift=6cm]
duck[xshift=5cm,yshift=4cm]
duck[xshift=5.5cm,yshift=2cm]
duck[xshift=6.5cm,yshift=0cm]
duck[xshift=8cm,yshift=1cm]
node[font=huge] at (4,11) {Happy $pi$ day with verb|tikzducks|!};
end{tikzpicture}
end{document}
They are my proudest π drawings, and as today is Pi day, I'd like to see yours!
tikz-pgf fun tikzducks tikzlings picture-environment
Beat this one: ioccc.org/1989/roemer.c
– user49915
21 mins ago
@user49915 I don't think we can have the output and the code being exactly the same :))
– JouleV
12 mins ago
Though, I guess, a really useful one would be a sans-serif normalfont upright math capital Pi with xelatex and OTF fonts. You may ask "why", and the answer would be "since it's not a part of Unicode". As for for useless ones, I still seedocumentclass
,begin
,draw
,tikz
,linespread
, ...; the output is all nice anyway, and I like all the solutions here.
– user49915
11 mins ago
You can probably have the code and the output close enough; you only have to pepper the Makefile compiling the code by suitable awk or sed scripts. In theory, you can have them exactly the same, since tex is Turing-complete (en.wikipedia.org/wiki/Quine_(computing)), but it's unlikely to print Pi in any sense of the word.
– user49915
6 mins ago
add a comment |
How to draw the letter π not in the standard way (i.e.
pi
)?
I mean "draw", not "type"! Today there will be no pi
, but there will be something like this
documentclass[tikz]{standalone}
begin{document}
begin{tikzpicture}
draw (0,2)--(3,2);
draw (1,0)--(1,2);
draw (2,0)--(2,2);
end{tikzpicture}
end{document}
(inspired by David Carlisle – I draw this in TikZ just because I don't know how to use picture
;))
Or this
documentclass[tikz]{standalone}
usepackage{tikzducks}
begin{document}
begin{tikzpicture}
duck
duck[xshift=1cm,yshift=2cm]
duck[xshift=1cm,yshift=4cm]
duck[xshift=1cm,yshift=6cm]
duck[xshift=0cm,yshift=8cm]
duck[xshift=-2cm,yshift=7.5cm]
duck[xshift=2cm,yshift=8cm]
duck[xshift=4cm,yshift=8cm]
duck[xshift=6cm,yshift=8cm]
duck[xshift=8cm,yshift=8cm]
duck[xshift=5cm,yshift=6cm]
duck[xshift=5cm,yshift=4cm]
duck[xshift=5.5cm,yshift=2cm]
duck[xshift=6.5cm,yshift=0cm]
duck[xshift=8cm,yshift=1cm]
node[font=huge] at (4,11) {Happy $pi$ day with verb|tikzducks|!};
end{tikzpicture}
end{document}
They are my proudest π drawings, and as today is Pi day, I'd like to see yours!
tikz-pgf fun tikzducks tikzlings picture-environment
How to draw the letter π not in the standard way (i.e.
pi
)?
I mean "draw", not "type"! Today there will be no pi
, but there will be something like this
documentclass[tikz]{standalone}
begin{document}
begin{tikzpicture}
draw (0,2)--(3,2);
draw (1,0)--(1,2);
draw (2,0)--(2,2);
end{tikzpicture}
end{document}
(inspired by David Carlisle – I draw this in TikZ just because I don't know how to use picture
;))
Or this
documentclass[tikz]{standalone}
usepackage{tikzducks}
begin{document}
begin{tikzpicture}
duck
duck[xshift=1cm,yshift=2cm]
duck[xshift=1cm,yshift=4cm]
duck[xshift=1cm,yshift=6cm]
duck[xshift=0cm,yshift=8cm]
duck[xshift=-2cm,yshift=7.5cm]
duck[xshift=2cm,yshift=8cm]
duck[xshift=4cm,yshift=8cm]
duck[xshift=6cm,yshift=8cm]
duck[xshift=8cm,yshift=8cm]
duck[xshift=5cm,yshift=6cm]
duck[xshift=5cm,yshift=4cm]
duck[xshift=5.5cm,yshift=2cm]
duck[xshift=6.5cm,yshift=0cm]
duck[xshift=8cm,yshift=1cm]
node[font=huge] at (4,11) {Happy $pi$ day with verb|tikzducks|!};
end{tikzpicture}
end{document}
They are my proudest π drawings, and as today is Pi day, I'd like to see yours!
tikz-pgf fun tikzducks tikzlings picture-environment
tikz-pgf fun tikzducks tikzlings picture-environment
asked 1 hour ago
JouleVJouleV
5,31121242
5,31121242
Beat this one: ioccc.org/1989/roemer.c
– user49915
21 mins ago
@user49915 I don't think we can have the output and the code being exactly the same :))
– JouleV
12 mins ago
Though, I guess, a really useful one would be a sans-serif normalfont upright math capital Pi with xelatex and OTF fonts. You may ask "why", and the answer would be "since it's not a part of Unicode". As for for useless ones, I still seedocumentclass
,begin
,draw
,tikz
,linespread
, ...; the output is all nice anyway, and I like all the solutions here.
– user49915
11 mins ago
You can probably have the code and the output close enough; you only have to pepper the Makefile compiling the code by suitable awk or sed scripts. In theory, you can have them exactly the same, since tex is Turing-complete (en.wikipedia.org/wiki/Quine_(computing)), but it's unlikely to print Pi in any sense of the word.
– user49915
6 mins ago
add a comment |
Beat this one: ioccc.org/1989/roemer.c
– user49915
21 mins ago
@user49915 I don't think we can have the output and the code being exactly the same :))
– JouleV
12 mins ago
Though, I guess, a really useful one would be a sans-serif normalfont upright math capital Pi with xelatex and OTF fonts. You may ask "why", and the answer would be "since it's not a part of Unicode". As for for useless ones, I still seedocumentclass
,begin
,draw
,tikz
,linespread
, ...; the output is all nice anyway, and I like all the solutions here.
– user49915
11 mins ago
You can probably have the code and the output close enough; you only have to pepper the Makefile compiling the code by suitable awk or sed scripts. In theory, you can have them exactly the same, since tex is Turing-complete (en.wikipedia.org/wiki/Quine_(computing)), but it's unlikely to print Pi in any sense of the word.
– user49915
6 mins ago
Beat this one: ioccc.org/1989/roemer.c
– user49915
21 mins ago
Beat this one: ioccc.org/1989/roemer.c
– user49915
21 mins ago
@user49915 I don't think we can have the output and the code being exactly the same :))
– JouleV
12 mins ago
@user49915 I don't think we can have the output and the code being exactly the same :))
– JouleV
12 mins ago
Though, I guess, a really useful one would be a sans-serif normalfont upright math capital Pi with xelatex and OTF fonts. You may ask "why", and the answer would be "since it's not a part of Unicode". As for for useless ones, I still see
documentclass
, begin
, draw
, tikz
, linespread
, ...; the output is all nice anyway, and I like all the solutions here.– user49915
11 mins ago
Though, I guess, a really useful one would be a sans-serif normalfont upright math capital Pi with xelatex and OTF fonts. You may ask "why", and the answer would be "since it's not a part of Unicode". As for for useless ones, I still see
documentclass
, begin
, draw
, tikz
, linespread
, ...; the output is all nice anyway, and I like all the solutions here.– user49915
11 mins ago
You can probably have the code and the output close enough; you only have to pepper the Makefile compiling the code by suitable awk or sed scripts. In theory, you can have them exactly the same, since tex is Turing-complete (en.wikipedia.org/wiki/Quine_(computing)), but it's unlikely to print Pi in any sense of the word.
– user49915
6 mins ago
You can probably have the code and the output close enough; you only have to pepper the Makefile compiling the code by suitable awk or sed scripts. In theory, you can have them exactly the same, since tex is Turing-complete (en.wikipedia.org/wiki/Quine_(computing)), but it's unlikely to print Pi in any sense of the word.
– user49915
6 mins ago
add a comment |
3 Answers
3
active
oldest
votes
Writing π with the digits of π - using the verbatim
environment.
documentclass{article}
linespread{0.7}
begin{document}
begin{verbatim}
3.141592653589793238462643383279
5028841971693993751058209749445923
07816406286208998628034825342117067
9821 48086 5132
823 06647 09384
46 09550 58223
17 25359 4081
2848 1117
4502 8410
2701 9385
21105 55964
46229 48954
9303 81964
4288 10975
66593 34461
284756 48233
78678 31652 71
2019091 456485 66
9234603 48610454326648
2133936 0726024914127
3724587 00660631558
817488 152092096
end{verbatim}
end{document}
Based on ascii art drawing by Jorel - https://www.flickr.com/photos/jorel314/3352784321/
How did you format the code? By trial/error?
– Sigur
27 mins ago
@Sigur I did it by hand, but based off an ascii art drawing I found online. Added a reference to the original drawing.
– Milo
15 mins ago
Nice. Though, not quite: you simply draw it rather than computing it :-).
– user49915
12 mins ago
add a comment |
Happy pi
(less) day!!
documentclass{report}
begin{document}
noindent%
rule{30pt}{1pt}\[-1pt]
rule{8pt}{0pt}%
rule{1pt}{30pt}%
rule{12pt}{0pt}%
rule{1pt}{30pt}
end{document}
add a comment |
One should also honor Euler a bit.
documentclass[tikz,border=3.14mm]{standalone}
usepackage{tikzlings,amsmath}
makeatletter
tikzset{/thing/.cd,
pie/.code=thing@cheesetruedefthing@cheese{#1}, %<-pretend you didn't see that
pie/.default=pink!70!red}
makeatother
begin{document}
begin{tikzpicture}[font=sffamily]
marmot[pie,whiskers,teeth,shadow]
node[anchor=east,scale=5,transform shape] at (-0.6,1) {$picdotmathsf{e}=text{sffamily pie}$};
end{tikzpicture}
end{document}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479395%2fwelcoming-2019-pi-day-how-to-draw-the-letter-%25cf%2580%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Writing π with the digits of π - using the verbatim
environment.
documentclass{article}
linespread{0.7}
begin{document}
begin{verbatim}
3.141592653589793238462643383279
5028841971693993751058209749445923
07816406286208998628034825342117067
9821 48086 5132
823 06647 09384
46 09550 58223
17 25359 4081
2848 1117
4502 8410
2701 9385
21105 55964
46229 48954
9303 81964
4288 10975
66593 34461
284756 48233
78678 31652 71
2019091 456485 66
9234603 48610454326648
2133936 0726024914127
3724587 00660631558
817488 152092096
end{verbatim}
end{document}
Based on ascii art drawing by Jorel - https://www.flickr.com/photos/jorel314/3352784321/
How did you format the code? By trial/error?
– Sigur
27 mins ago
@Sigur I did it by hand, but based off an ascii art drawing I found online. Added a reference to the original drawing.
– Milo
15 mins ago
Nice. Though, not quite: you simply draw it rather than computing it :-).
– user49915
12 mins ago
add a comment |
Writing π with the digits of π - using the verbatim
environment.
documentclass{article}
linespread{0.7}
begin{document}
begin{verbatim}
3.141592653589793238462643383279
5028841971693993751058209749445923
07816406286208998628034825342117067
9821 48086 5132
823 06647 09384
46 09550 58223
17 25359 4081
2848 1117
4502 8410
2701 9385
21105 55964
46229 48954
9303 81964
4288 10975
66593 34461
284756 48233
78678 31652 71
2019091 456485 66
9234603 48610454326648
2133936 0726024914127
3724587 00660631558
817488 152092096
end{verbatim}
end{document}
Based on ascii art drawing by Jorel - https://www.flickr.com/photos/jorel314/3352784321/
How did you format the code? By trial/error?
– Sigur
27 mins ago
@Sigur I did it by hand, but based off an ascii art drawing I found online. Added a reference to the original drawing.
– Milo
15 mins ago
Nice. Though, not quite: you simply draw it rather than computing it :-).
– user49915
12 mins ago
add a comment |
Writing π with the digits of π - using the verbatim
environment.
documentclass{article}
linespread{0.7}
begin{document}
begin{verbatim}
3.141592653589793238462643383279
5028841971693993751058209749445923
07816406286208998628034825342117067
9821 48086 5132
823 06647 09384
46 09550 58223
17 25359 4081
2848 1117
4502 8410
2701 9385
21105 55964
46229 48954
9303 81964
4288 10975
66593 34461
284756 48233
78678 31652 71
2019091 456485 66
9234603 48610454326648
2133936 0726024914127
3724587 00660631558
817488 152092096
end{verbatim}
end{document}
Based on ascii art drawing by Jorel - https://www.flickr.com/photos/jorel314/3352784321/
Writing π with the digits of π - using the verbatim
environment.
documentclass{article}
linespread{0.7}
begin{document}
begin{verbatim}
3.141592653589793238462643383279
5028841971693993751058209749445923
07816406286208998628034825342117067
9821 48086 5132
823 06647 09384
46 09550 58223
17 25359 4081
2848 1117
4502 8410
2701 9385
21105 55964
46229 48954
9303 81964
4288 10975
66593 34461
284756 48233
78678 31652 71
2019091 456485 66
9234603 48610454326648
2133936 0726024914127
3724587 00660631558
817488 152092096
end{verbatim}
end{document}
Based on ascii art drawing by Jorel - https://www.flickr.com/photos/jorel314/3352784321/
edited 17 mins ago
answered 29 mins ago
MiloMilo
6,42221650
6,42221650
How did you format the code? By trial/error?
– Sigur
27 mins ago
@Sigur I did it by hand, but based off an ascii art drawing I found online. Added a reference to the original drawing.
– Milo
15 mins ago
Nice. Though, not quite: you simply draw it rather than computing it :-).
– user49915
12 mins ago
add a comment |
How did you format the code? By trial/error?
– Sigur
27 mins ago
@Sigur I did it by hand, but based off an ascii art drawing I found online. Added a reference to the original drawing.
– Milo
15 mins ago
Nice. Though, not quite: you simply draw it rather than computing it :-).
– user49915
12 mins ago
How did you format the code? By trial/error?
– Sigur
27 mins ago
How did you format the code? By trial/error?
– Sigur
27 mins ago
@Sigur I did it by hand, but based off an ascii art drawing I found online. Added a reference to the original drawing.
– Milo
15 mins ago
@Sigur I did it by hand, but based off an ascii art drawing I found online. Added a reference to the original drawing.
– Milo
15 mins ago
Nice. Though, not quite: you simply draw it rather than computing it :-).
– user49915
12 mins ago
Nice. Though, not quite: you simply draw it rather than computing it :-).
– user49915
12 mins ago
add a comment |
Happy pi
(less) day!!
documentclass{report}
begin{document}
noindent%
rule{30pt}{1pt}\[-1pt]
rule{8pt}{0pt}%
rule{1pt}{30pt}%
rule{12pt}{0pt}%
rule{1pt}{30pt}
end{document}
add a comment |
Happy pi
(less) day!!
documentclass{report}
begin{document}
noindent%
rule{30pt}{1pt}\[-1pt]
rule{8pt}{0pt}%
rule{1pt}{30pt}%
rule{12pt}{0pt}%
rule{1pt}{30pt}
end{document}
add a comment |
Happy pi
(less) day!!
documentclass{report}
begin{document}
noindent%
rule{30pt}{1pt}\[-1pt]
rule{8pt}{0pt}%
rule{1pt}{30pt}%
rule{12pt}{0pt}%
rule{1pt}{30pt}
end{document}
Happy pi
(less) day!!
documentclass{report}
begin{document}
noindent%
rule{30pt}{1pt}\[-1pt]
rule{8pt}{0pt}%
rule{1pt}{30pt}%
rule{12pt}{0pt}%
rule{1pt}{30pt}
end{document}
edited 57 mins ago
answered 1 hour ago
SigurSigur
25.9k457140
25.9k457140
add a comment |
add a comment |
One should also honor Euler a bit.
documentclass[tikz,border=3.14mm]{standalone}
usepackage{tikzlings,amsmath}
makeatletter
tikzset{/thing/.cd,
pie/.code=thing@cheesetruedefthing@cheese{#1}, %<-pretend you didn't see that
pie/.default=pink!70!red}
makeatother
begin{document}
begin{tikzpicture}[font=sffamily]
marmot[pie,whiskers,teeth,shadow]
node[anchor=east,scale=5,transform shape] at (-0.6,1) {$picdotmathsf{e}=text{sffamily pie}$};
end{tikzpicture}
end{document}
add a comment |
One should also honor Euler a bit.
documentclass[tikz,border=3.14mm]{standalone}
usepackage{tikzlings,amsmath}
makeatletter
tikzset{/thing/.cd,
pie/.code=thing@cheesetruedefthing@cheese{#1}, %<-pretend you didn't see that
pie/.default=pink!70!red}
makeatother
begin{document}
begin{tikzpicture}[font=sffamily]
marmot[pie,whiskers,teeth,shadow]
node[anchor=east,scale=5,transform shape] at (-0.6,1) {$picdotmathsf{e}=text{sffamily pie}$};
end{tikzpicture}
end{document}
add a comment |
One should also honor Euler a bit.
documentclass[tikz,border=3.14mm]{standalone}
usepackage{tikzlings,amsmath}
makeatletter
tikzset{/thing/.cd,
pie/.code=thing@cheesetruedefthing@cheese{#1}, %<-pretend you didn't see that
pie/.default=pink!70!red}
makeatother
begin{document}
begin{tikzpicture}[font=sffamily]
marmot[pie,whiskers,teeth,shadow]
node[anchor=east,scale=5,transform shape] at (-0.6,1) {$picdotmathsf{e}=text{sffamily pie}$};
end{tikzpicture}
end{document}
One should also honor Euler a bit.
documentclass[tikz,border=3.14mm]{standalone}
usepackage{tikzlings,amsmath}
makeatletter
tikzset{/thing/.cd,
pie/.code=thing@cheesetruedefthing@cheese{#1}, %<-pretend you didn't see that
pie/.default=pink!70!red}
makeatother
begin{document}
begin{tikzpicture}[font=sffamily]
marmot[pie,whiskers,teeth,shadow]
node[anchor=east,scale=5,transform shape] at (-0.6,1) {$picdotmathsf{e}=text{sffamily pie}$};
end{tikzpicture}
end{document}
answered 6 mins ago
marmotmarmot
108k5132248
108k5132248
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479395%2fwelcoming-2019-pi-day-how-to-draw-the-letter-%25cf%2580%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Beat this one: ioccc.org/1989/roemer.c
– user49915
21 mins ago
@user49915 I don't think we can have the output and the code being exactly the same :))
– JouleV
12 mins ago
Though, I guess, a really useful one would be a sans-serif normalfont upright math capital Pi with xelatex and OTF fonts. You may ask "why", and the answer would be "since it's not a part of Unicode". As for for useless ones, I still see
documentclass
,begin
,draw
,tikz
,linespread
, ...; the output is all nice anyway, and I like all the solutions here.– user49915
11 mins ago
You can probably have the code and the output close enough; you only have to pepper the Makefile compiling the code by suitable awk or sed scripts. In theory, you can have them exactly the same, since tex is Turing-complete (en.wikipedia.org/wiki/Quine_(computing)), but it's unlikely to print Pi in any sense of the word.
– user49915
6 mins ago