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
    • Stories
  • Download this Blog
  • The JOD Page

Fun with Farsi Text in LaTeX

Bakerjd 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 print (Opens in new window) Print
  • Click to email a link to a friend (Opens in new window) Email
  • More
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Post
Like Loading...
  • Tagged
  • Farsi text
  • LaTeX
  • logo
  • LuaLaTeX
  • symbolic name
Unknown's avatar

Published by Bakerjd

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

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

  • Franks
  • How The Only One from No Egg Made the World
  • Gonggone Gone — Parts 11 & 12
  • Gonggone Gone — Parts 9 & 10
  • Gonggone Gone — Parts 7 & 8

Recent Comments

PETER HOLLADAY's avatarPETER HOLLADAY on The JOD Page
Bakerjd's avatarBakerjd on Last Schoolboy Standing
owenh's avatarowenh on Last Schoolboy Standing
owenh's avatarowenh on Last Schoolboy Standing
Bakerjd's avatarBakerjd on Math Eras

Archives

Blogroll

  • According to Hoyt
  • Adaptive Curmudgeion
  • Astronomy Picture of the Day
  • Captain Capitalism
  • Cartesian Product
  • Cliffle
  • Combinatorics and more
  • David's Commonplace Book
  • Division by Zero
  • Dr. Z's Opinions
  • Fastidious Elegance
  • FiveThirtyEight
  • Formalized Mathematics
  • History of Information
  • Indexed by Jessica Hagy
  • Internet Archive Blogs
  • J Wiki
  • Jigger Wit
  • LaTeX Matters
  • Lean Community
  • Lean community blog
  • Locklin on Science
  • Luminous Landscape
  • Market Ticker
  • Math Munch
  • Mathbabe
  • Mathematics under the Microscope
  • Mathspp Blog
  • NJwildberger: tangential thoughts
  • Pat's Blog
  • Power Overwhelming
  • Probably Overthinking It
  • Richard Dawkins
  • RobertLovesPi.net
  • Science Blogs
  • Skepticblog
  • Small Dead Animals
  • SteynOnline
  • Tanya Khovanova’s Math Blog
  • TeX – LaTeX – Stack Exchange
  • TeX Aggregator
  • The Endeavour
  • The Jungle
  • The Long Now Blog
  • The Math Less Traveled
  • The Physics Hypertextbook
  • The Reinvigorated Programmer
  • Theorem of the Day
  • What's New
  • Wolfram Blog
  • Works and Days
  • Xena Mathematicians learning Lean by doing

Goodreads

  • Reblog
  • Subscribe Subscribed
    • Analyze the Data not the Drivel
    • Join 27 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Analyze the Data not the Drivel
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    %d