FancyLaTeXLogo

Summary: How to make a fancy LaTeX logo (as it appears in typeset documents)
Version: 2012-09-19
Prerequisites: V2.0+
Status: Stable
Maintainer:
License: GPL2+
Categories: Markup
Users: (view? / edit)

Questions answered by this recipe

How can I display a nice LaTeX logo in my wiki page that looks like the typeset version?

Description

How to make a fancy LaTeX logo (as it appears in typeset documents).

This is a pretty simple Markup expression, but results in a fairly long html string.

Installation

Add the following to local/config.php:


/*  Copyright (c) 2012-2015, Tamara Temple <tamouse@gmail.com>. 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published
    by the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version. See pmwiki.php for full details
    and lack of warranty.
*/

Markup('latex','inline',
       '/{{LaTeX}}/',
       Keep('<span class="texhtml" style="font-family:cmr10, LMRoman10-Regular, Times, serif;">L<span style="text-transform: uppercase; font-size: 70%; margin-left: -0.36em; vertical-align: 0.3em; line-height: 0; margin-right: -0.15em;">a</span>T<span style="text-transform: uppercase; margin-left: -0.1667em; vertical-align: -0.5ex; line-height: 0; margin-right: -0.125em;">e</span>X</span>'));

Configuration

None to speak of.

Usage

Place the following in your wiki page:

 {{LaTeX}}

where you want the logo to appear.

Notes

Change log / Release notes

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

See also

Contributors

Comments

See discussion at FancyLaTeXLogo-Talk?

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.