Search found 3 matches

by Kreso
Wed Jul 06, 2022 9:43 pm
Forum: General
Topic: Custom macro with parameter (switch-case?)
Replies: 2
Views: 3232

Custom macro with parameter (switch-case?)

Yes! This is exactly what I had in mind. It's an excellent starting point for experimentation, I have enough to figure it out now.

Thank you so much!
by Kreso
Mon Jul 04, 2022 11:30 pm
Forum: General
Topic: Custom macro with parameter (switch-case?)
Replies: 2
Views: 3232

Custom macro with parameter (switch-case?)

I'm writing an article about Egyptian hieroglyphs and I am including individual hieroglyphs as inline graphics. Here is a minimal example:


\documentclass{article}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{scalerel}

\newcommand{\quail}{\scalerel*{\includegraphics{G43.pdf}}{\strut ...
by Kreso
Tue Jun 17, 2008 1:49 am
Forum: General
Topic: Penrose diagrammatic notation
Replies: 1
Views: 3328

Penrose diagrammatic notation

Hello.

This is my first post here. I just wanted to ask, is there any convenient way in LaTeX to write tensors in diagrammatic notation of Penrose?

Usually I draw the diagrams in Corel and import them into LaTeX as EPS, but sometimes there is the need to include diagrams in mathematical ...