Tag Info

Hot answers tagged

106

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 ...


77

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 ...


62

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} ...


59

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} ...


57

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 ...


51

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} ...


41

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} ...


40

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} ...


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 ...


17

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 ...


17

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 ...


14

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. ...


14

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. ...


14

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} ...


13

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


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{\ ...


12

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} ...


12

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

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

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} ...


11

\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{% ...


10

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, ...


10

[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 ...


9

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 ...


9

Here is a manually adjusted example. Most of the complications came from supplying the mindmap option to the TikZ picture instead of a scope and also using \tiny a little improperly (inside the TikZ environment, TikZ rulaz!). \documentclass{article} \usepackage{tikz} ...


9

If you modify the placement of the days slightly, you can easily add shapes without having to place the shapes using trial and error to find the right coordinates. By adding every day/.style={anchor=base}, day text={\%d=},rounded corners=0,anchor=base,text height=1ex,text depth=-0.5ex to the calendar options you align the days in such a way that you ...


9

http://www.diyplanner.com/node/6270 Requires Python to generate the calendar data for the selected year. I wanted something to look 'modern' 'light' and 'open plan'. Can be easily internationalized to most European languages (e.g. French, German, Spanish, etc.)


9

There's no way of doing this with a single option, but the following code is a way of getting the weekday headings in a way that keeps all options of the week list calendar. It adds the style day letter headings (which in this form only makes sense to use with the week list style). The style of the headings can be set with the option day headings. ...


8

You can use the if(weekend) [<do something with this weekend>] syntax. For example, you could set the weekend's color to red: \calendar[dates=2012-01-01 to 2012-01-last] if(weekend) [red]; or, if you want it to disappear, to white. But this still prints out the actual node text. Or, even worse, you have white text on a colored background. With the ...



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