Jean-Marc Lasgouttes wrote:

>>>>>>"Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes:
>>>>>>
> 
> Herbert> it's not ttfamily, you can delete it and get the same in
> Herbert> roman it's the
> 
> Herbert> \expandafter\strip@prefix\meaning\@tempa
> 
> Herbert> which scans the string for each character.
> 
> Ahh. Here lies the magic, then. 


a view into the magic is attached ... :-)

Herbert




-- 
http://www.lyx.org/help/
#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\begin_preamble
\newcommand{\jmarc}[1]{%
      \hb@xt@200pt{%
        \vrule\hss
        \vbox to 100pt{%
           \hrule \@width 200pt
           \vss
           \edef\@tempa{#1}%
           \rlap{ \ttfamily\expandafter\strip@prefix\meaning\@tempa}%
           \vss
           \hrule%
        }%
        \hss\vrule
      }%
}
\newcommand{\jmarcroman}[1]{%
      \hb@xt@200pt{%
        \vrule\hss
        \vbox to 100pt{%
           \hrule \@width 200pt
           \vss%
           \edef\@tempa{#1}%
           \rlap{ \expandafter\strip@prefix\meaning\@tempa}%
           \vss
           \hrule%
        }%
        \hss\vrule
      }%
}
\newcommand{\jmarcc}[1]{%
      \hb@xt@200pt{%
        \vrule\hss
        \vbox to 100pt{%
           \hrule \@width 200pt
           \vss%
           \rlap{ #1}%
           \vss
           \hrule%
        }%
        \hss\vrule
      }%
}
\end_preamble
\language ngerman
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

test for some filenames
\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
jmarc{fi_let
\backslash 
 $e{}s.eps}
\end_inset 


\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
jmarc{fi_let
\backslash 
 $e{}s.eps}
\end_inset 


\layout Standard


\begin_inset ERT
status Open

\layout Standard

\backslash 
jmarcc{filet
\backslash 
 es.eps}
\end_inset 


\the_end

Reply via email to