Tag Info

Hot answers tagged

120

Well someone has to go first.... ! I have partially completed my PhD, and, use this on the inside cover of my submissions to add some 'artistic-flair', however, the source for the word-cloud is actually my BibTeX Database, so the cloud is relevant to each document, and, the sample above is effectively the last one that I produced. In terms of ...


88

Here's a nineteenth century-style advertisement for TeX, demonstrating XeTeX's OpenType support and the power of OpenType fonts. A single font, Phaeton, was used to produce this file: all the text, the abbreviations, the banners, the ornaments used in the background and the image of the man on the horse are glyphs in the font. % save this document as ...


77

A very simple demonstration of using LaTeX fonts with pdfLaTeX. A pamphlet with a powerful message from George Orwell. Code \documentclass{article} \usepackage[landscape,a4paper,hmargin=1.5cm,vmargin=1.5cm]{geometry} \usepackage[osf]{garamondx} \usepackage[T1]{fontenc} \usepackage[cmyk,dvipsnames]{xcolor} \usepackage{tikz} \usepackage{multicol} ...


67

I'm not a type designer or a typographer, but I thought use TikZ to illustrate a type design. Here is my idea: I add a text to right side to complement the figure and show typography with a Sans Serif font, the numbers can be used in a pretty good cover :). The output can be downloaded here. Code \documentclass{article} ...


66

Well, it is Christmas: % save this document as example.tex % compile this document with: xelatex example.tex on a machine which has the Zapfino Extra LT Pro font (or edit the font declaration) --- you'll also need a background graphic, or comment it out \documentclass{article} % Needed to make sure your page dimensions % are the same as that of the ...


58

Here's a demonstration of TeX's hyphenation and justification algorithm. Apart from changing a few \sfcodes and using character protrusion with microtype, this is TeX's default output with no manual line breaks or hyphenation points. % save this document as example.tex % compile this document with: xelatex -shell-escape example.tex \documentclass{article} ...


48

Last summer I taught a cryptography course. Next summer I will again, but I'll use PythonTex! The example below shows off PythonTex, TeX, and a little bit of tikz. Good for March? % save this document as example.tex % compile this document with: pdflatex -shell-escape example.tex \documentclass[11pt]{article} \usepackage{tikz} \usepackage{pythontex} ...


48

For February, there are many possibilities at Can we make a love heart with LaTeX? Here’s my heart with one of the few poems I could stand seeing every day for a month: % Compile with lualatex \documentclass[svgnames,12pt]{article} \usepackage{fontspec,microtype,shapepar,xcolor} ...


28

The following solution is from Peter Wilson, who couldn't post this himself. A pdf of Peter's contribution may be found here. As I don't want to get reputation for his work, I promise I'll translate all reputation credited to bounties. % calconc.tex A Concrete poem typeset in Palatino by Peter Wilson \documentclass[a5paper]{memoir} \usepackage{fixltx2e} ...


25

This is a wine bottle label originally from Showcase of beautiful wine bottle labels made with LaTeX/TikZ and friends: % save this document as example.tex % compile this document with: pdflatex -shell-escape example.tex \documentclass{article} % Needed to make sure your page dimensions % are the same as that of the calendar. ...


24

LaTeX has some nice title page designs but we need some tools to produce them. The following is a case study to see what is needed to build title pages from some basic building blocks. I improved the first submission by adding coordinate transformations. An on line pdf may be found here. The following is the source code. Compiling it may take a while. The ...


23

A typography sample with the free ebgaramond font, lettrine, and the venerable tikzmark. The text is a poem called Black March by Stevie Smith; the original text is available here. Complete .tex source for download is available here; compile with pdflatex twice to sync page locations. The .pdf output is available for download here. ...


23

Birthday card About a month ago it was my boyfriend's 22nd birthday. I bought him the absolutely cutest stuffed bear evur and made a childish birthday card with gimp/inkscape. I know it's not a masterpiece, but he liked it anyway, so please don't be mean. I decided to replicate it with lualatex for this challenge. No real reason for lualatex over xelatex, ...


21

This is an example of automated environment using stringstrings and parselines packages to separate plain contents and a complex format, so the first word and the second word are aligned in two parallel diagonals, whereas the remaining text is right-aligned, and the three parts of each line also are formatted distinctly with color gradients across the rows. ...


19

The trick was to use the command \pgfkeys. Here is the full code: \documentclass{scrartcl} \usepackage[T1]{fontenc} \usepackage{libertine} \usepackage[margin=5pt,a5paper,landscape]{geometry} \setlength{\parindent}{0pt} \usepackage{tikz} \usetikzlibrary{calendar} \usepackage{expl3} \ExplSyntaxOn %% Knuth's AoCP, vol 1, 2nd ed, pp 155--156 \int_new:N ...


18

I use termcal for planning lessons and creating syllabi. I usually start by creating a blank calendar for one semester for just specific days of the week, with holidays marked etc. When I finish the plan, I fill in topics, quizzes and exams, homework info and other details for individual days. A great advantage is that when I teach the same class again, ...


17

I couldn't resist: Here is one way to draw this with TikZ. To make it nicer to use, there should be some additional wrapper around it, that automatically calculates the horizontal placement of the nodes. Besides that, the code is astonishingly non-verbose. \documentclass{article} \usepackage{tikz} \begin{document} % These set the width of a day and the ...


16

A CD design for a friend. This design was never used. \documentclass[article]{article} \usepackage{euler} \usepackage{beton} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{decorations} \usetikzlibrary{decorations.text} \usetikzlibrary{external} \tikzexternalize \newcommand{\CdOuterRadius}[0]{6.0cm} \newcommand{\CdInnerRadius}[0]{1.6cm} ...


16

Just a small last-minute entry. I find XeLaTeX exceedingly well-suited for East Asian characters and their attendant phonetic descriptions. I realize this entry is quite elementary, but the clean, crisp presentation of vector glyphs, simply & portably executed, is what drew me to TeX in the first place. And so I celebrate that here. (In a (pathetic) ...


15

Here's a few dictionary entries (accuracy unknown) for uncommon words as listed in this AskReddit thread. The text is typeset in Baskerville Ten Pro and Baskerville 120 Pro by Štorm František of the Storm Type Foundry. % save this document as example.tex % compile this document with: xelalatex -shell-escape example.tex \documentclass{article} % Needed to ...


14

[I hope my contribution fits the format.] One of the things I like most about LaTeX is the ability to typeset really pleasing bibliographies without much effort. The most customisable solution I encountered so far is the biblatex package and I use it in all my documents where I have to cite any references. I hope you like my styling of the list of ...


14

I wanted to play with the new(ish) package for drawing celtic knots and thought the Mabinogion (y Mabinogi), a collection of stories from middle Welsh manuscripts, would make a good subject. Although the Mabinogion itself is a nineteenth century creation, the original manuscripts are medieval - around the twelfth century. The image below shows the ...


13

https://gist.github.com/holtzermann17/34912a66cdfae3a28ca8 ...using code from Sticky notes image. Compiles with pdflatex. Dunno if this is quite within bounds for copyright reasons, or if submissions are still open, but I was pretty pleased with how it turned out.


13

TikZ/PGF has a nice Calendar library and an example of using it to produce a course schedule.


13

A small shortcut to what David has provided (which is fantastic considering he doesn't even use PGF :D ). \documentclass{article} \usepackage[paperwidth=300cm, paperheight=50cm, left=1cm,right=1cm,top=5cm,bottom=5cm]{geometry} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{pgfgantt} \usetikzlibrary{calendar} ...


13

This seems to work \documentclass[a4paper]{article} \usepackage{pgfgantt} \usepackage{pgfcalendar} \usepackage[a4paper,landscape,left=1cm,top=1cm,% bottom=1.5cm,right=1cm]{geometry} \begin{document} \newcount\startdate \pgfcalendardatetojulian{2012-011-03}{\startdate} \protected\def\zzz{\ ...


13

I replaced your if-if-if-if construct with a simple \ifcase test. \moon works just fine now. Though the actual problem was another one. The counter assignments \global\advance\<counter> by 1 should be finished with a \relax. This also applies to the \ifnum but in this instance, it is not needed as math-mode is introduces right away. Without the \relax ...


12

\documentclass{article} \usepackage[paperwidth=300cm, paperheight=50cm,left=1cm,right=1cm,top=5cm,bottom=5cm]{geometry} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{pgfgantt} \usepackage{pgfcalendar} \newcount\startdate \newcount\daynum \pgfcalendardatetojulian{2012-01-01}{\startdate} \protected\def\zzz{% ...


12

You can use the execute after day scope to execute some code to extract the number of days in the current month and perform a \pgftransformxshift accordingly: \documentclass[11pt]{article} \usepackage[showframe]{geometry} \usepackage{tikz} \usetikzlibrary{calendar} \setlength{\parindent}{0pt} \pagestyle{empty} \definecolor{gold}{RGB}{199,147,22} ...


12

The TeX family evolved and adapted over the years. The image produced below with pdfLaTeX represents where I would like to see (all)TeX evolve one day. Some of my new year wishes: Output routines that enable two page grid typesetting. Output routines that are easily accessed via LuaTeX or LaTeX3. The image is typeset with custom code. The 35 lines of ...



Only top voted, non community-wiki answers of a minimum length are eligible