- I want to create some symbols in TikZ.
- The symbols should mimic the character set of two very specific fonts.
- The fonts are called Ultima Underworld II and Dungeon Master.
- I attached some pictures that show the look of the fonts.
- I want to use the symbols within the normal text later.
Asked
Active
Viewed 386 times
-8
Dr. Manuel Kuehner
- 22,451
linux432532
- 43
1 Answers
4
- Here's a simple code example.
- Is that what you mean?
- The code is far from optimal but maybe it helps you to ask a more specific question.
- I do not know if
baseline=(char.base)would be better/more appropriate thanbaseline=0(see here for example).
\documentclass{article}
\usepackage{tikz}
% Code is loosely based on https://tex.stackexchange.com/questions/295360/
% DRM --> Dungeon Master Runes
% 'em' is a length unit in LaTeX that is relative to the current font.
% See https://tex.stackexchange.com/questions/8260/ for (much) more information
\newcommand\DMRAn{% <-- needed
\tikz[x=0.75em,y=0.75em,baseline=0]
\draw(0,0)--(0,1)--(0.7,0.5)(0,0.5)--(0.7,0.0);% <-- needed
}
\newcommand\DMRBet{% <-- needed
\tikz[x=0.75em,y=0.75em,baseline=0]
\draw(0,0)--(0,1)--(1,0.75)--(0,0.5)--(1,0.25)--(0,0);% <-- needed
}
\begin{document}
ABC \DMRAn\ DEF \DMRBet\
\end{document}
Maybe you can later combine this with Simulating hand-drawn lines to have a handwritten look :).
Dr. Manuel Kuehner
- 22,451
-
1Exactly OK, Thank you Dr. Manuel Kuehner, It is awesome and impressive quality answer! No need to be stuborn with fonts, just Tikz method is nothing wrong or a crime. I would give all possible stars if it was possible, so much efforts you give to help people on Tex Stackexchg. Thank you for considering my post i.e. using Tikz (despite all Fonts method recommendations of many users (e.g. Xelatex,...)) Thank you a lot for your time and very high quality of answers. – linux432532 Mar 26 '18 at 16:58
-
-
Hopefully, there will be better answer quality, because you were the single accurate answer. Many thanks ! – linux432532 Mar 29 '18 at 14:32
-
6@linux432532 you might consider a) accepting the answer and b) dialing down your tone – DG' Mar 30 '18 at 07:43



tikz. But, it would be helpful if you made an attempt at doing one of them and then people here could help you when you run into specfic issues. – Peter Grill Mar 25 '18 at 21:17