14

Thesis can have some sort of thank you thing in the beginning and perhaps something at the end. Instead of writing something specific, I would like to start a thesis with a flower-top and end it to its flower-end in ASCII art. I would like to make the flower from some lyrics in the following shape

enter image description here

so the reader would require almost a microscope to read the lyrics -- and it would be cool also to write something hovering in some point. Is this possible to do this kind of creative thing in LaTex and is there something already builtin to embed ASCII art to formal papers?

Perhaps related

  1. How to compose figure from text with latex?
2
17
+50

Why not just find your ASCII art by using an external package and include it verbatim, perhaps using listings's \lstinputlisting:

enter image description here

\documentclass{article}
\usepackage{filecontents,listings,graphicx,varwidth}% http://ctan.org/pkg/{filecontents,listings,graphicx,varwidth}

% Source: http://www.chris.com/ascii/index.php?art=animals/birds%20(water)
\begin{filecontents*}{duck.txt}
                                       .;;;..
                                    ;<!!!!!!!!;
                                 .;!!!!!!!!!!!!>
                               .<!!!!!!!!!!!!!!!
                              ;!!!!!!!!!!!!!!!!'
                            ;!!!!!!!!!!!!!!!!!'
                           ;!!!!!!!!!!!!!!!''
                         ,!!!!!!!!!!!!!'` .::
                  ,;!',;!!!!!!!!!!!'` .::::''  .,,,,.
                 !!!!!!!!!!!!!!!'`.::::' .,ndMMMMMMM,
                !!!!!!!!!!!!!' .::'' .,nMMP""',nn,`"MMbmnmn,.
                `!!!!!!!!!!` :'' ,unMMMM" xdMMMMMMMx`MMn
             _/  `'!!!!''`  ',udMMMMMM" nMMMMM??MMMM )MMMnur=
,.... ......--~   ,       ,nMMMMMMMMMMnMMP".,ccc, "M MMMMP' ,,
 `--......--   _.'        " MMP??4MMMMMP ,c$$$$$$$ ).MMMMnmMMM
     _.-' _..-~            =".,nmnMMMM .d$$$$$$$$$L MMMMMMMMMP
 .--~_.--~                  '.`"4MMMM  $$$$$$$$$$$',MMMMMPPMM
`~~~~                      ,$$$h.`MM   `?$$$$$$$$P dMMMP , P
                           <$""?$ `"     $$$$$$$$',MMMP c$
                           `$c c$h       $$$$$$$',MMMM  $$
                            $$ $$$       $$$$$$',MMMMM  `?
                            `$.`$$$c.   z$???"  "',,`"
                             3h $$$$$cccccccccc$$$$$$$$$$$=r
                             `$c`$$$$$$$$$$$$$$$??$$$$F"$$ "
                           ,mr`$c`$$$$$$$$$$$$$$c 3$$$$c$$
                        ,mMMMM."$.`?$$$$$$$$$$$$$$$$$$$$$$h,
;.   .               .uMMMMMMMM "$c,`"$$$$$$$$$$$$$$$$C,,,,cccccc,,..
!!;,;!!!!> .,,...  ,nMMMMMMMMMMM.`?$c  `"?$$$$$$$$$$$$$$$$$$$$$$$$$$$$h.
!!!!!!!!! uMM" <!!',dMMMMMMMMMMPP" ?$h.`::..`""???????""'..  -==cc,"?$$P
!!!!!!!!'.MMP <!',nMMMMMMMMP" .;    `$$c,`'::::::::::::'.$F
!!!!!!!! JMP ;! JMMMMMMMP" .;!!'      "?$hc,.````````'.,$$
!!!!'''' 4M(;',dMMMP""" ,!!!!` ;;!!;.   "?$$$$$?????????"
!!! ::. 4b ,MM" .::: !''`` <!!!!!!!!;
 `!::::.`' 4M':::::'',mdP <!!!!!!!!!!!;
! :::::: ..  :::::: ""'' <!!!!!!!!!!!!!!;
!! ::::::.::: .::::: ;!!> <!!!!!!!!!!!!!!!!!;.
!! :::::: `:'::::::!!' <!!!!!!!!!!!!!!!!!!!!!;;.
! ::::::' .::::' ;!' .!!!!!!!!!!!!!!'`!!!!!!!!!!!;.
; `::';!>  ::' ;<!.;!!!!!!!''''!!!!' <!! !!!!!!!!!!!>
\end{filecontents*}
\newsavebox{\asciiart}
\newcommand{\duck}{\raisebox{.8\height}{\resizebox{1.5ex}{!}{\usebox{\asciiart}}}}

\begin{document}
\begin{lrbox}{\asciiart}
\begin{varwidth}{\maxdimen}
\noindent\lstinputlisting[basicstyle=\ttfamily]{duck.txt}
\end{varwidth}
\end{lrbox}%

We love to see \duck{} duck.

\end{document}

Zooming in reveals...

enter image description here

There seems to be a number of ASCII generators out there...

1
  • 3
    A duck! Yes, yes, YES!!!! :) – Paulo Cereda Nov 13 '13 at 19:59
0

International Women's day

120 White-on-Black ASCII art

:~~~~~=~~~~~::::,,,,,,,,,,,,::,:~~~~~===========~~:::~::::,,,,,,,,,:::~==+++=++++++++++++++=~,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
~~=====~~~~::::::,,,,,,,,,,,:,,:~~~~~=========~~~:::,,,,,,,,,,,,,:::::::~~===+++++++++++++++~:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
~======~~~~::::::,,,,,,,,,,,,,,:~~~~~=====~~~~:,:::::,,,,,,,,,,,,::::::::::::~~===+++++++++=~:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
~=======~~~:::,,,,,,,,,,,,,,,,,:~~~~~~~~~~::::,::::::,,,,,,,,,,,,,:::::::::::::::~~~~~======~,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
=======~~~~:::,,,,,,,,,,,,,,,,,::::::~~::~~~::::::::,,,,,,,,,,,,,,::::::::::::::::::::::::~~::,,,::::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
~======~~~~:::,,,,,,,,,,,,,,,,,::::::::~~~::::::::::,,,,,,,,,,,,,,::::::::::::::::::::::::,::,:::::~~~~~~::::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
~=====~~~~~:::,,,,,,,,,,,,,,,,,:::::~:~~::::::::::::,,,,,,,,,,,,,,:,:::::::::::::::::,,::,,,:::::~~=========~~::,,,,,,,,,,,,,,,,,,,,,,,,,,,,
~===~~~~~~::::,,,,,,,,,,,,,,,,,,,::::::::::::::::::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,:::::~~~~===+++++++++=~::,,,,,,,,,,,,,,,,,,,,,,,,,,
~~~~~~~~::::::,,,,,,,,,,,,,,,,,,:::,,:::::::::::::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,::III=====+++++++++++=~::,,,,,,,,,,,,,,,,,,,,,,,,,
:::::::::::::,,,,,,,,,,,,,,,,,,:::,,,:,:::::::::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,::?III==+++===++++++=++++=:,,,,,,,,,,,,,,,,,,,,,,,
::::::::::::,,,,,,,,,,,,,,,,,,,:::,,::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,??III===+=====+????????????~,,,,,,,,,,,,,,,,,,,,
:::::::::::,,,,,,,,,,,,,,,,,,,,:::::::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,I???????~~~~===????????????????:,,,,,,,,,,,,,,,,,,
::::::::::,,,,,,,,,,,,,,,,,,,,,::::::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,:???????,,,::~?????????I?II??????,,,,,,,,,,,,,,,,,
,,:::::,,,,,,,,,,,,,,,,,,,,,::::::::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,????????,,,,,??????III????II??????:,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,:::::::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,:???????++I++?IIIIII?++?????I??????:::,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,:::::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,?????+??????IIIIII??++=++?????????~~:::,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,::::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,???++++???????I???++?===++??++++?~~~~~~::,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,+??+=+++??????I??+=+======+++++++:::~~~~~~::,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,++?==+++++???????======~=====++~~~~~~~~~~~~::,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,?I+==II??~,,,,,,,,,77I~+III:,,:,,,,,,,,,,,,,,,,,,,,,+??===++++++?????===~==~~===+=~=====~~~~~~~~::,,,,
:,,,,,,,,......,,,,,,,,,,,,,,,,,,,,,,?IIIIIIIII7IIII77IIIIIIIIIIIII:,:,,,,:,,,,,,,,,,,,,,,+??+===+++++++??I=====~~~==+~~~======~~~~~~~~::,,,
::,,,,,,,.......,,,,,,,,,,,,,,,,,,,IIIII7777777IIII7IIII?IIIIIII??II?:,,:,,,::::::::::::,:~+??====+++++++??====~~~~=+++++?~~~~~======~~::,,,
:::,,,,,,.........,,,,,,,,,,,,,,,,?III77777777IIIIIIIIII?IIIIII????III=?~:::::::::::::::::~+??======++++++?????~~========++?:::~~~~~~:::,,,,
:::,,,,,,.........,,,,,,,,,,,,,,,~??I777777IIIIIIIII???????IIII??????IIII?::::::::::::::~=~=++==============+????=========++?:::::::::,,,,,,
:::,,,,,,.........,,,,,,,,,,,,::,+?II7777IIIII?III?????+++???IIIIII???IIIII:::::::::::~+===+++==~=============+++?==+++++++?II:::::,,,,,,,,,
:::,,,,,,......,,,,,,,,,,,,,,,::,+??777IIIII??III????++++++++++??III???IIII?:::,:::::+==++++===~:~=============++++++++++++???::::,,,,,,,,,,
:::,,,,,,,..,,,,,,,,,,,,,,,,,,,,:?II77III??????+?+++=+?==?++++++??I???????III:,:::::+????+=:::::~~~~============+++++++++++???I::::::::::,,,
:::,,,,,,,,,,,,,,,,,,,,,,,,,,,I77777IIIII??????++++==+?+I??????????????????III:~~~~?~~~~:::::~:,:~:=======+?+++?+???????+++????========~~:,,
:::,,,,,,,,,,,,,,,:,,,,,,,,:7777777IIIII????++======??+?==+++++++++++????????II?==+======~~~~:::~~:,=======++++??+?????I+++????+++++====~~:,
:::,,,,,,,,,,,,::~=~~~:::?7777777IIII??????++=====+I?=++=~===+?+====++??I?????IIIIII+======~:~~~~:,,,,~,?+++++++?++????II+????+++++++++====~
:::,,,,,,,:~===~=~~~~~~~7777777III?I?????+++=====+???++==++~~==+?====++?????????????+======:~==~~::,,,::,,???????III???II+??+===============
:::,,,,,,~==~~~~~~~~~~~:=777IIII?????????++=====++??+?==+??+~~=+==+===++??????????++=~====::+===~~:,,,,~,,,,??I???IIII?I???+::::::::~~~~~~::
:::,,,:==+++++==~=====~:?IIIIII??+++????++=====++++?+?=++???~~++==~===++??????????++~~~~~::=====~~:::::::::::,,,,,,~III???+::::::::::::::,,,
:::,,,:=++???+??I+==+??+????IIII?+++???++++====++++++?+????+=~+=~+~~~==+??????????++~~~~~:~~==~~:::~~~~~~~~::::,,,,,:?II+:,::::::::::,,,,,,,
::,,,::::~=+????III+++II??IIIIIII??+???+++?I===+++?=+?=++++===+=~=~=~==??????????++===~~::===~::~~~~========~~::,,,,,,:,,,,,:::::::::::,,,,,
,:,,,:::::~~~~?I?IIII??I?IIIIIIIIII?+??+==+?7==++++=++==========+=+~~==++++??I???++~===~:~~=~:::~====+++++++==~~:,,,,,,,,,,,,:::::::::::,,,,
:::,,,,::~~~~~=?II?IIII?I77IIIIIIIII??++==++?7==++===+==++++?++??=~~~=++++++?????+~~~==::==~::::~==+===+=++===~~::::::,,,,,,,,:::::::::::,,,
::::,,,,,,,,::::~=+???II777IIIIIIIII???+==+++?I==+===+========+===~==+++++++?????+,:~=~:~=+~:::~++++=======~~~::~~~~~~~~:::,,,,:::::::::,,,,
:::::,,,,,,,,,,,,,,,::~=+??IIIII??II?++===~++++I++?==+==========~~===+++++???????I,,:~::===~::~+??+====~~::::,,::~~~~~~~~~~~::,::::::::::::,
,::::,,,,,,,,,,,,,,,,,,,,~???????????++===~=+++II==+???+=~~====+?+?+++?+++?????II?I,,::~++=::=+?+==+++~:,,,,,,,,,:::::~~~~~~~::,,,:::::::::~
,,::::,,,,,,,,,,,,,,,,,,,,:??????I???+++===~===III~++++??~?++======+++++++?????????,:~:~++=:=+++=~==~:,,,,,,,::::::::::::::::::,,,,::,,,,::~
,,::::,,,,,,,,,,,,,,,,,,,,,,=??????I?+++=========??=~===========+====++++++????????,,::~==~=++=~~::::,,,,,::::~~~~~:::,,,,,,:::,,,,,,,,,,,,,
,,,:::,,,,,,,,,,,,,,,,,,,,,,,:=???????+++==========?+==~=============+++++???????I?:,::==~~~~::::::::::,,:::~~~~~~~::,,,,,,,,,,,,,,:,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,:++???++++=====~~===??====~=====++++++++????????I??~::~==::,,:::::::::::::::::~~~~~::,,,,,,,,,,,,,,,,,,:,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,===+++=~~~========+=======+++++???????????????~~::~~:,:::~~~~=~~~::,,,,,:::::::::::,,,,,,,,,,,,,,,,::::,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,+====~==========~======+===++?????????+??IIII,,~~:::,,::::::~~:,,,,,,,,,:::::::::::,,,,,,,,,,,,,,,,,,,::
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,~+++=============~====+===+++++??I?IIIII?I?I+~:~~:,,,:::,,,,,::~~:,,,,,,,:::::::::::,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,??+++============~~=++++++++++?IIIIIIIII~=?::~~~~,:~:,,,,,,,,,,:~:,,,,,,::::::::::,,,,,,,,,,,,,,,,,,...,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,????++++=========~~~~~~+??????~~=~===+====~~~~~~:~:,,,,,,,,,,,,,,,,,,,,,:::::::::,,,,,,,,,,,,,,,,,,,.,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,??????++++++++=+============~~:~~~~~:~::::::~~~~~~=,,,,,,,,,,,,,,,,,,,,,:::::::,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.??????++++++++++++++=====+===:::~~~~~~=======~~~~=~,,,,,,,,,,,,,::~~~~~::::,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,??????????++++++++++++++++++=:,::~~=======~~~~~~~==:::::,,,,,,,::~====~~~:::,,,,,,,,::::::,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,???????????+?+??+++++??++++===,,::~~~~~~~~~~=~~~~=::::~~::,,,::~~=====~~~::::,,,,:::~~~~~:,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,:?????????+???+??????????+~===~~~:::::~~~~==~~~~~::::~~~::,,::~~~~~~==~~~:::::,:::~~~===~:,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,~???????++?????????????:::~::~=~:~~~~=~~~~~~~~~::::::::,,:~~==~~=~===~~~::::::::::~~~::,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,~+???????????+,=:,,=~:~=+=::~~~~~~~~~:,:::::::::::~===========~~~::~:::::::::,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,???????????,,,,,,,,,~======::~~::~~~,,,,,:::::::~~=======~~~~~~~~~~~~~~:::::,,,,,,,,,,,,,..
,,,,,,,,:::::~~~:::::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,~?+++::,,,,,,,,,::=~======:::::=,,,,:::::::::::~~~~~~:::::::::::::::~~~::,,,,,,,,,,,,,,,
,,,,,,,::~~~~~=====~~~::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,:,,,,:,:~=~~=~~===~:~:::~~::::::~~~~:::::::,,,,:::::::::::~~~:::,,,,,,,:~~:,,.
,,,,,,:::~~============~~::,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,::~:::~:::~~~~:~~~~~~~:::~~~~~::::::,:::::::::::::~~~~::,,....,,:~~~~:

Source image which is given to the generator here [Werner]

enter image description here

1
  • I guess the question was how to use that in LaTeX. There are enough ascii images to find/there are enough generators to create ones. The issue was how to include it in LaTeX. – rugk Mar 26 '20 at 18:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.