LaTeX forum ⇒ Text FormattingTypeset logo similar to "LaTeX" Topic is solved

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am
Location: Aarhus, Denmark

Typeset logo similar to "LaTeX"

Postby svend_tveskaeg » Sat Nov 17, 2012 12:47 am

Hi all.

I would like to typeset the logo in the attached picture.

How do I do this when some of the letters are both rotated and shifted vertically?

I know that the "LaTeX" logo i typeset using

  1. \DeclareRobustCommand{\LaTeX}{L\kern-.36em
  2. {%
  3. \sbox\z@ T%
  4. \vbox to\ht0{\hbox{$\m@th$%
  5. \csname S@\f@size\endcsname
  6. \fontsize\sf@size\z@
  7. \math@fontsfalse\selectfont
  8. A}%
  9. \vss}%
  10. }%
  11. \kern-.15em
  12. \TeX}


but I cannot figure out how to do this when the letters have to be rotated too. I would like something similar to what is achieved in this post on {TeX} SX but this is for boxes only and, furthermore, it cannot be shiftede vertically.

P.S. The background color is not important. I would, however, like the last three letters to be printed in the faint yellow but that is not especially important.
Attachments
MatematikTak.jpg
Logo.
MatematikTak.jpg (66.41 KiB) Viewed 1404 times
Last edited by svend_tveskaeg on Sat Nov 17, 2012 3:46 am, edited 2 times in total.
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)

User avatar
Stefan Kottwitz
Site Admin
Posts: 8253
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sat Nov 17, 2012 12:50 am

You could use \rotatebox and \raisebox for boxes with a single letter.

Stefan
Site admin

User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am
Location: Aarhus, Denmark

Postby svend_tveskaeg » Sat Nov 17, 2012 1:34 am

Okay. What if I want the letters to be typed in yellow?

Thank you!
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)

User avatar
Stefan Kottwitz
Site Admin
Posts: 8253
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sat Nov 17, 2012 2:24 am

Use \textcolor of the color or xcolor package. For shading effects TikZ could be used.

Stefan
Site admin

User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am
Location: Aarhus, Denmark

Postby svend_tveskaeg » Sat Nov 17, 2012 3:44 am

Of course. :oops:

Thank you.

Here is what I ended up with:

  1. \newcommand*{\bogstav}[4]{\kern #1pt \rotatebox[origin=c]{#2}{\raisebox{#3pt}{#4}}}
  2. \newcommand*{\bog}[1]{\textsf{\textup{%
  3. \textcolor{blue!90}{MATEMA}%
  4. \textcolor{yellow!90}{%
  5. \bogstav{-1.3}{-5}{-0.8}{T}%
  6. \bogstav{-0.8}{5}{-2.3}{I}%
  7. \bogstav{-0.8}{-10}{0.5}{K}}%
  8. \textcolor{red!90}{%
  9. \bogstav{-2.3}{15}{-1.8}{T}%
  10. \bogstav{-2.8}{-10}{0.5}{A}%
  11. \bogstav{-2.3}{15}{-1.8}{K}}\,%
  12. -- #1.~klasse}}
  13. }
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 3 guests