Hi,
I am afraid that I do not understand why to make only 4 FakeSlant
characters instead of a FakeSlant font. Does it mean that other
characters will remain upright inside \textit?
Anyway, making a few characters active for \textit is quite simple.
Let's suppose that A and B should be active. You
Hello
I work in plain XeTeX, but I hope the following will work (and make sense)
in XeLaTeX too.
You could redefine \textit, but to keep things simple, set up a new command,
say \Textit, and change all occurrences of \textit to \Textit in your
document (or a copy thereof!).
Thus:
\def\Textit{{
@Zdenek, the point is that other characters inside `\textit` should be real
italics. I at least have tried it using a macro around the "culprit"
characters and I think it looks better than fake italics throughout, which
looks really bad (shades of low-budget publications from the early
eighties! :-
BPJ and John Was,
Please join this XeTeX list.
Otherwise I have to authorize each of your postings.
This delays them being sent out to everyone.
Cheers.
Ross
On 05/12/2018, at 22:10, "BPJ" mailto:b...@melroch.se>> wrote:
@Zdenek, the point is that other characters inside `\textit` should
Hi,
this will not work. \textit is a macro which requires a parameter,
thus \textit} will report an unbalaced brace. Returning to my solution
I forgot to write that the active characters must first be defined.
You either activate them, define them and then deactivate them which
is tedious. It is b
Hello
I didn't realize that textit took an argument, but my solution will work
(I've used the \ifitalic trick for years for different purposes!), at least
in plain XeTeX language, if one just adds the argument to the definition:
\def\Textit#1{{\italictrue \textit #1}}
Anyway, I hope that hel
Hello,
you need braces around #1, otherwise \textit takes just the first
token (character) and the rest will remain unchanged.
Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz
st 5. 12. 2018 v 15:12 odesílatel John Was napsal:
>
> Hello
>
> I didn't realize th
Ah, another quirk of LaTeX. In plain one just says e.g. (to superimpose
two characters):
\def\overstrike#1#2{\setbox0=\hbox{#1}\setbox1=\hbox{#2}\copy0
\kern -0.5\wd0 \kern -0.5\wd1 \copy1 \kern -0.5\wd1 \kern 0.5\wd0}
Maybe I'll learn LaTeX in my next life...
Best
John
On Wed, 5 Dec 2018
I think I can do the same by
\def\overstrike#1#2{\setbox0=\hbox{#1}\rlap{\copy0}\hbox to \wd0{\hss #2\hss}}
For better versatility I would also add \ifhmode \leavevmode \fi to
the beginning of the macro.
Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz
st 5. 12
On Wed, Dec 05, 2018 at 02:47:26PM +, John Was wrote:
> Ah, another quirk of LaTeX.
Of TeX. As you can see in your own example:
> \def\overstrike#1#2{\setbox0=\hbox{#1}\setbox1=\hbox{#2}\copy0
>\kern -0.5\wd0 \kern -0.5\wd1 \copy1 \kern -0.5\wd1 \kern 0.5\wd0}
the arguments are surrou
Hello
Not a good example obviously - the macros are surrounded by braces in the
definition only because they are in an \hbox there. But the braces are
certainly needed in *usage*: \overstrike{b}{p} (to give a rough impression
of a thorn). But if you wanted a simple macro, say one that reversed
John, Zdenek, thanks for your most helpful hints.
Below is what I came up with eventually, with MWE attached. The
spacing adjustments are still subject to change. I have no idea
why the spacing adjustments are required in roman! It turns out I
need to fake bold as well, and I will probably nee
Hello,
you should send a bug report to Steve White. FreeFont is huge and
Steve is unable to test everything, so he needs a response so that he
knows what to fix.
Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz
st 5. 12. 2018 v 19:50 odesílatel Benct Philip Jon
On Wed, Dec 05, 2018 at 04:06:12PM +, John Was wrote:
> But the braces are
> certainly needed in *usage*: \overstrike{b}{p}
The braces are not needed in this example. Just try
\overstrike b p
or even
\overstrike bp
>
14 matches
Mail list logo