Skip to content
Analyze the Data not the Drivel

Analyze the Data not the Drivel

Practice relentless verification

  • About Me
  • Code
  • Photos
  • Posts
    • Observations
      • Diary
      • Nostalgia
      • Presentations
    • Photography
      • Cameras/Lenses
      • EXIF/Metadata
      • Image Processing
      • Restoration
      • SmugMug
    • Programming
      • APL
      • C#
      • Haskell
      • J
      • JavaScript
      • Jupyter
      • Python
      • SQL
      • TeX/LaTeX
    • Rants
      • IT
      • Politics
    • Reviews
      • Books
      • Movies
      • Software
      • TV
    • Science
      • Astronomy
      • Mathematics
  • Download this Blog
  • The JOD Page

Fun with Farsi Text in LaTeX

John Baker Diary, TeX/LaTeX December 29, 2013August 24, 2020

Analyze the Data not the Drivel is a mouthful. This blog needs a short symbolic name. For sometime I have used ADND myself but that’s to close to ADHD for comfort. However if we treat ADND as a simple algebraic expression it becomes:

ad^2n

This is better but still not cool! If we replace Latin characters with colored Farsi equivalents and reverse the order we get:

adndsymbol
The new symbolic name and logo for Analyze the Data not the Drivel.

To generate this with LaTeX you need a version that handles UTF-8 Unicode. I used LuaLaTeX.  You also need an OTF or TTF font with Farsi or Arabic characters. The following LaTeX snippet generates my logo:

% process with LuaLaTeX file encoding is utf8

\documentclass[12pt]{article}

\usepackage{fontspec}
\setmainfont{Arial}
\setmonofont{Courier New Bold}

\usepackage{color}
\usepackage[dvipsnames]{xcolor}

\begin{document}

% unicode oriented ttf font
%\setmainfont{IranNastaliq}

% ADND blog symbol - arabic/farsi text must end
% the line or the editor will break your parentheses
\Huge

$$ \textrm{\textcolor{Red}{ن
}}^2
\textrm{\textcolor{Green}{د
}}
\textrm{\textcolor{Blue}{ا
}}
$$

\normalsize

\end{document}

Share this:

  • Click to email this to a friend (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • More
  • Click to print (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)

Like this:

Like Loading...
  • Tagged
  • Farsi text
  • LaTeX
  • logo
  • LuaLaTeX
  • symbolic name

Published by John Baker

Professional curmudgeon and relentless skeptic. "Belief" is a bullshit word. You know or you don't know! View all posts by John Baker

Published December 29, 2013August 24, 2020

Post navigation

Previous Post APL Software Archaeology .dbi Edition
Next Post Blogging Bad 2013

RSS Feed RSS - Posts

RSS Feed RSS - Comments

Follow Analyze the Data not the Drivel on WordPress.com

Recent Posts

  • My Father’s Obituary
  • New Year New Image Editors
  • Cataract Conjunction Caps Coronavirus Year
  • Woke Wildfires
  • Oscars Now as Meaningless as Nobel Peace Prizes

Recent Comments

bh on NumPy another Iverson Gho…
Brian Harvey on NumPy another Iverson Gho…
Cataract Conjunction… on The JOD Page
Woke Wildfires - Gis… on Woke Wildfires
Ian Dubin AKA Lord D… on Oscars Now as Meaningless as N…

Archives

Blogroll

  • According to Hoyt
  • Astronomy Picture of the Day
  • Captain Capitalism
  • Cartesian Product
  • Cliffle
  • Dashbit
  • David's Commonplace Book
  • Division by Zero
  • Dr. Z's Opinions
  • FiveThirtyEight
  • Formalized Mathematics
  • J Wiki
  • LaTeX Matters
  • Locklin on Science
  • Luminous Landscape
  • Market Ticker
  • Math Munch
  • Mathbabe
  • Mathematics under the Microscope
  • Richard Dawkins
  • Safe Haven
  • Science Blogs
  • Scott Adams Blog
  • Skepticblog
  • Small Dead Animals
  • SteynOnline
  • Tanya Khovanova’s Math Blog
  • TeX – LaTeX – Stack Exchange
  • TeX Aggregator
  • The Endeavour
  • The Flaming Eyeball
  • The Jungle
  • The Long Now Blog
  • The Math Less Traveled
  • The Reinvigorated Programmer
  • Theorem of the Day
  • Transterrestrial Musings
  • What's New
  • Wolfram Blog
  • Works and Days

Goodreads

Cancel

 
Loading Comments...
Comment
    ×
    loading Cancel
    Post was not sent - check your email addresses!
    Email check failed, please try again
    Sorry, your blog cannot share posts by email.
    <span>%d</span> bloggers like this: