[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Handle kbd in LaTeX more like other similar comma
From: |
Patrice Dumas |
Subject: |
branch master updated: Handle kbd in LaTeX more like other similar commands |
Date: |
Thu, 11 Aug 2022 10:10:26 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new aaa94938e1 Handle kbd in LaTeX more like other similar commands
aaa94938e1 is described below
commit aaa94938e1a2b3e482eafd5885d9b43196bd7bbc
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Aug 11 16:10:14 2022 +0200
Handle kbd in LaTeX more like other similar commands
* tp/Texinfo/Convert/LaTeX.pm (_xtable_description_command_format)
(%LaTeX_style_brace_commands, _convert): register distinct style
kbd formatting LaTeX macro in %LaTeX_style_brace_commands. Use
code @-command style to format kbd just before the formatting instead
of using a specific processing for kbd.
---
ChangeLog | 10 ++
tp/Texinfo/Convert/LaTeX.pm | 118 ++++++++------------
.../results/converters_tests/at_commands_in_raw.pl | 4 +-
tp/t/results/coverage_braces/nested.pl | 2 +-
tp/t/results/latex_tests/combined_fonts.pl | 4 +-
.../combined_fonts/res_latex/combined_fonts.tex | 7 +-
tp/t/results/latex_tests/kbdinputstyle_and_kbd.pl | 10 +-
tp/t/results/misc_commands/kbdinputstyle.pl | 12 +-
.../misc_commands/kbdinputstyle_in_table.pl | 12 +-
.../res_parser/formatting_latex/formatting.tex | 122 ++++++++++-----------
10 files changed, 144 insertions(+), 157 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 21c252eb4f..774757e7fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2022-08-11 Patrice Dumas <pertusus@free.fr>
+
+ Handle kbd in LaTeX more like other similar commands
+
+ * tp/Texinfo/Convert/LaTeX.pm (_xtable_description_command_format)
+ (%LaTeX_style_brace_commands, _convert): register distinct style
+ kbd formatting LaTeX macro in %LaTeX_style_brace_commands. Use
+ code @-command style to format kbd just before the formatting instead
+ of using a specific processing for kbd.
+
2022-08-11 Patrice Dumas <pertusus@free.fr>
Remove empty lines in inter item when processing the inter_item
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index cd86c5bd03..ef34d712c3 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -591,11 +591,13 @@ sub register_style_format_command($$$$$)
my $style_ref = shift;
my $new_commands_ref = shift;
- my $specific_style_command
- = "\\${style_command_new_commands_prefix}${formatting_context}$command";
+ my $specific_style_command_name
+ = "${style_command_new_commands_prefix}${formatting_context}$command";
+ my $specific_style_command = '\\'.$specific_style_command_name;
$style_ref->{$formatting_context}->{$command} = $specific_style_command;
$new_commands_ref->{$formatting_context}->{$command}
= "$specific_style_command\[1]{{$formatting\{#1}}}";
+ return $specific_style_command_name;
}
# @-commands that stop code context
@@ -604,7 +606,9 @@ my %roman_style_commands = (
);
# All those commands run with the text.
-# math, verb and kbd are special and implemented separately
+# math and verb are special and implemented separately.
+# There is specific code for some commands, such as kbd, r
+# in addition to using this hash.
my %LaTeX_style_brace_commands = (
'text' => {
'hyphenation' => '\\hyphenation',
@@ -646,6 +650,12 @@ foreach my $always_slanted_roman_commands ('cite', 'var') {
$roman_style_commands{$always_slanted_roman_commands} = 1;
}
+# specific style for kbd: slanted and typewriter. code @-command
+# formatting is used instead if needed, see _kbd_code_style.
+register_style_format_command('text', 'kbd',
+ '\\ttfamily\\textsl', \%LaTeX_style_brace_commands,
+ \%style_brace_format_command_new_commands);
+
# FIXME headitemfont
my @asis_commands = ('asis', 'clicksequence', 'headitemfont');
@@ -696,12 +706,6 @@ foreach my $quoted_command (@quoted_commands) {
$quotes_map{$quoted_command} = ["`", "'"];
}
-# for the distinct kbd style.
-# use \ttfamily to have a cumulative effect with \textsl.
-# FIXME it seems that there is a cumulative effect with
-# \texttt{\textsl{...}}
-my $kbd_formatting_latex = '\ttfamily\textsl';
-
# Format in description for @*table argument
# note that if each command was formatted with format= option of
@@ -717,27 +721,20 @@ my $description_command_new_commands_prefix =
'GNUTexinfotablestyle';
# if new commands are setup for descriptions, they are in this hash
my %description_command_new_commands = ();
-foreach my $command (keys(%{$LaTeX_style_brace_commands{'text'}}), 'kbd') {
+foreach my $command (keys(%{$LaTeX_style_brace_commands{'text'}})) {
# avoids hyphenation @-command
next if ($unformatted_brace_command{$command});
my $description_format = $LaTeX_style_brace_commands{'text'}->{$command};
- if ($command eq 'kbd' or
- ($description_format ne ''
+ if ($description_format ne ''
and $description_format !~ /\\text[a-z]{2}$/
- and not $style_brace_format_command_new_commands{'text'}->{$command})) {
+ and not $style_brace_format_command_new_commands{'text'}->{$command}) {
my $specific_format_command
= "\\${description_command_new_commands_prefix}$command";
my $command_definition;
- if ($command eq 'kbd') {
- # used for the distinct style
- $command_definition
- = "$specific_format_command\[1]{{$kbd_formatting_latex\{#1}}}";
- } else {
- # use \normalfont to avoid default bold if not already a font switching
- # command (useful for emph in practice).
- $command_definition =
- "$specific_format_command\[1]{{\\normalfont$description_format\{#1}}}";
- }
+ # use \normalfont to avoid default bold if not already a font switching
+ # command (useful for emph in practice).
+ $command_definition =
+ "$specific_format_command\[1]{{\\normalfont$description_format\{#1}}}";
$description_command_new_commands{$command} = $command_definition;
$description_command_format{$command} = $specific_format_command;
} else {
@@ -2005,14 +2002,11 @@ sub _xtable_description_command_format($$)
and $element->{'extra'}->{'command_as_argument'}) {
my $command_as_argument
= $element->{'extra'}->{'command_as_argument'}->{'cmdname'};
- if ($command_as_argument eq 'kbd') {
- if (_kbd_code_style($self)) {
- $command_as_argument = 'code';
- }
- }
+ $command_as_argument = 'code' if ($command_as_argument eq 'kbd'
+ and _kbd_code_style($self));
if (exists($description_command_format{$command_as_argument})
and $description_command_format{$command_as_argument} ne '') {
- # only gather if associated to a new command
+ # gather for outputting in the preamble if associated to a new command
if (exists($description_command_new_commands{$command_as_argument})) {
$self->{'description_format_commands'}->{$command_as_argument} = 1;
} elsif
($style_brace_format_command_new_commands{'text'}->{$command_as_argument}) {
@@ -2435,23 +2429,31 @@ sub _convert($$)
my $did_stop_embrac = 0;
($result, $did_stop_embrac) = _stop_embrac($self, $result)
if ($cmdname eq 'r');
- if ($self->{'quotes_map'}->{$cmdname}) {
- $result .= $self->{'quotes_map'}->{$cmdname}->[0];
+ my $formatted_cmdname;
+ if ($cmdname eq 'kbd' and _kbd_code_style($self)) {
+ # use code for kbd formatting if needed
+ $formatted_cmdname = 'code';
+ } else {
+ $formatted_cmdname = $cmdname;
}
- my $remove_code_context;
if ($code_style_commands{$cmdname}) {
push @{$self->{'formatting_context'}->[-1]->{'code'}}, 1;
} elsif ($roman_style_commands{$cmdname}) {
push @{$self->{'formatting_context'}->[-1]->{'code'}}, 0;
}
+ if ($self->{'quotes_map'}->{$formatted_cmdname}) {
+ $result .= $self->{'quotes_map'}->{$formatted_cmdname}->[0];
+ }
my $formatting_context = $command_context;
- if
($style_brace_format_command_new_commands{$formatting_context}->{$cmdname}) {
+ # gather for outputting in the preamble if associated to a new command
+ if ($style_brace_format_command_new_commands{$formatting_context}
+ ->{$formatted_cmdname}) {
$self->{'style_brace_format_commands'}->{$formatting_context}
- ->{$cmdname} = 1;
+ ->{$formatted_cmdname} =
1;
}
- if ($LaTeX_style_brace_commands{$formatting_context}->{$cmdname}) {
+ if
($LaTeX_style_brace_commands{$formatting_context}->{$formatted_cmdname}) {
my $LaTeX_style_command
- = $LaTeX_style_brace_commands{$formatting_context}->{$cmdname};
+ =
$LaTeX_style_brace_commands{$formatting_context}->{$formatted_cmdname};
if ($need_known_embrac{$LaTeX_style_command}
and $self->{'formatting_context'}->[-1]->{'embrac'}
and $self->{'formatting_context'}->[-1]->{'embrac'}->[-1]
@@ -2470,17 +2472,17 @@ sub _convert($$)
if ($element->{'args'}) {
$result .= _convert($self, $element->{'args'}->[0]);
}
- if ($LaTeX_style_brace_commands{$formatting_context}->{$cmdname}) {
+ if
($LaTeX_style_brace_commands{$formatting_context}->{$formatted_cmdname}) {
$result .= '}';
}
+ if ($self->{'quotes_map'}->{$formatted_cmdname}) {
+ $result .= $self->{'quotes_map'}->{$formatted_cmdname}->[1];
+ }
if ($code_style_commands{$cmdname}) {
pop @{$self->{'formatting_context'}->[-1]->{'code'}};
} elsif ($roman_style_commands{$cmdname}) {
pop @{$self->{'formatting_context'}->[-1]->{'code'}};
}
- if ($self->{'quotes_map'}->{$cmdname}) {
- $result .= $self->{'quotes_map'}->{$cmdname}->[1];
- }
$result = _restart_embrac_if_needed($self, $result, $did_stop_embrac);
return $result;
} elsif ($cmdname eq 'dmn') {
@@ -2488,34 +2490,6 @@ sub _convert($$)
if ($element->{'args'}) {
$result .= _convert($self, $element->{'args'}->[0]);
}
- } elsif ($cmdname eq 'kbd') {
- # 'kbd' is special, distinct font is typewriter + slanted
- # @kbdinputstyle
- # 'code' Always use the same font for @kbd as @code.
- # 'example' Use the distinguishing font for @kbd only in @example
- # and similar environments.
- # 'distinct' (the default) Always use the distinguishing font for @kbd.
- my $code_font = _kbd_code_style($self);
- if ($code_font) {
- if ($LaTeX_style_brace_commands{$command_context}->{'code'}) {
- $result .=
"$LaTeX_style_brace_commands{$command_context}->{'code'}\{";
- }
- } else {
- $result .= "{$kbd_formatting_latex\{";
- }
- if ($element->{'args'}) {
- push @{$self->{'formatting_context'}->[-1]->{'code'}}, 1;
- $result .= _convert($self, $element->{'args'}->[0]);
- pop @{$self->{'formatting_context'}->[-1]->{'code'}};
- }
- if ($code_font) {
- if ($LaTeX_style_brace_commands{$command_context}->{'code'}) {
- $result .= '}';
- }
- } else {
- $result .= '}}';
- }
- return $result;
} elsif ($cmdname eq 'verb') {
# FIXME \verb is forbidden in other macros
$result .= "\\verb" .$element->{'extra'}->{'delimiter'};
@@ -3743,10 +3717,10 @@ sub _convert($$)
# LaTeX environments do not accept text before the first item, add an
item
if ($result =~ /\S/) {
# FIXME if there is only an index element it is content and
- # triggers an empty \item. It is mitigates by
- # move_index_entries_after_items but not for @*table
- # for which there is relate_index_entries_to_table_entries
- # but it has no obvious role
+ # triggers an empty \item. It is mitigated by
+ # move_index_entries_after_items for enumerate and itemize, but not
+ # for @*table. For @*table there is
relate_index_entries_to_table_entries
+ # but it has no obvious use here
if ($item_line_commands{$element->{'parent'}->{'cmdname'}}) {
# it is important to have an empty optional argument otherwise
# a quoted command will output the quotes, even with a detection
diff --git a/tp/t/results/converters_tests/at_commands_in_raw.pl
b/tp/t/results/converters_tests/at_commands_in_raw.pl
index 798e864b91..37a9ac211c 100644
--- a/tp/t/results/converters_tests/at_commands_in_raw.pl
+++ b/tp/t/results/converters_tests/at_commands_in_raw.pl
@@ -1575,14 +1575,14 @@ $result_converted{'latex'}->{'at_commands_in_raw'} =
'\\label{anchor:Top}%
<b>in b\\footnote{in footnote}.</b>
\\label{anchor:anchor-in-html}%
-{\\ttfamily\\textsl{in kbd before tex}}\\footnote{second footnote}.
+\\GNUTexinfocommandstyletextkbd{in kbd before tex}\\footnote{second footnote}.
\\{No value for `flag\'\\}.
-{\\ttfamily\\textsl{in kbd after tex}}.
+\\GNUTexinfocommandstyletextkbd{in kbd after tex}.
See \\hyperref[anchor:anchor-in-html]{[anchor in html],
page~\\pageref*{anchor:anchor-in-html}}.
diff --git a/tp/t/results/coverage_braces/nested.pl
b/tp/t/results/coverage_braces/nested.pl
index dbdfc3b4b9..843b24c2a2 100644
--- a/tp/t/results/coverage_braces/nested.pl
+++ b/tp/t/results/coverage_braces/nested.pl
@@ -104,6 +104,6 @@ $result_converted{'plaintext'}->{'nested'} = 'type the
characters ‘l o g o u t
$result_converted{'html_text'}->{'nested'} = '<p>type the characters <kbd
class="kbd">l o g o u t <kbd class="key">RET</kbd></kbd>.</p>';
-$result_converted{'latex'}->{'nested'} = 'type the characters
{\\ttfamily\\textsl{l o g o u t \\texttt{RET}}}.';
+$result_converted{'latex'}->{'nested'} = 'type the characters
\\GNUTexinfocommandstyletextkbd{l o g o u t \\texttt{RET}}.';
1;
diff --git a/tp/t/results/latex_tests/combined_fonts.pl
b/tp/t/results/latex_tests/combined_fonts.pl
index 9d821e9013..a7f0e0aedf 100644
--- a/tp/t/results/latex_tests/combined_fonts.pl
+++ b/tp/t/results/latex_tests/combined_fonts.pl
@@ -1519,12 +1519,12 @@ $result_converted{'latex'}->{'combined_fonts'} = '
\\chapter{{chapter}}
\\label{anchor:chapter}%
-\\texttt{code}, \\textsl{dfn}, \\GNUTexinfocommandstyletextvar{var},
\\textbf{strong}, {\\ttfamily\\textsl{kbd}}, `\\texttt{samp}\'.
+\\texttt{code}, \\textsl{dfn}, \\GNUTexinfocommandstyletextvar{var},
\\textbf{strong}, \\GNUTexinfocommandstyletextkbd{kbd}, `\\texttt{samp}\'.
\\texttt{\\textsl{dfn in code}}
\\GNUTexinfocommandstyletextvar{\\texttt{code in var}}
\\texttt{\\GNUTexinfocommandstyletextvar{var in code}}
-\\textbf{{\\ttfamily\\textsl{kbd in strong}}}
+\\textbf{\\GNUTexinfocommandstyletextkbd{kbd in strong}}
`\\texttt{\\textbf{strong in samp}}\'
\\textbf{`\\texttt{samp in strong}\'}
diff --git
a/tp/t/results/latex_tests/combined_fonts/res_latex/combined_fonts.tex
b/tp/t/results/latex_tests/combined_fonts/res_latex/combined_fonts.tex
index 5b23fd1d40..e66f970469 100644
--- a/tp/t/results/latex_tests/combined_fonts/res_latex/combined_fonts.tex
+++ b/tp/t/results/latex_tests/combined_fonts/res_latex/combined_fonts.tex
@@ -18,6 +18,9 @@
% style command for cite in text
\newcommand\GNUTexinfocommandstyletextcite[1]{{\normalfont{}\textsl{#1}}}%
+% style command for kbd in text
+\newcommand\GNUTexinfocommandstyletextkbd[1]{{\ttfamily\textsl{#1}}}%
+
% style command for var in text
\newcommand\GNUTexinfocommandstyletextvar[1]{{\normalfont{}\textsl{#1}}}%
@@ -70,12 +73,12 @@
\chapter{{chapter}}
\label{anchor:chapter}%
-\texttt{code}, \textsl{dfn}, \GNUTexinfocommandstyletextvar{var},
\textbf{strong}, {\ttfamily\textsl{kbd}}, `\texttt{samp}'.
+\texttt{code}, \textsl{dfn}, \GNUTexinfocommandstyletextvar{var},
\textbf{strong}, \GNUTexinfocommandstyletextkbd{kbd}, `\texttt{samp}'.
\texttt{\textsl{dfn in code}}
\GNUTexinfocommandstyletextvar{\texttt{code in var}}
\texttt{\GNUTexinfocommandstyletextvar{var in code}}
-\textbf{{\ttfamily\textsl{kbd in strong}}}
+\textbf{\GNUTexinfocommandstyletextkbd{kbd in strong}}
`\texttt{\textbf{strong in samp}}'
\textbf{`\texttt{samp in strong}'}
diff --git a/tp/t/results/latex_tests/kbdinputstyle_and_kbd.pl
b/tp/t/results/latex_tests/kbdinputstyle_and_kbd.pl
index 1927da9f66..037c4b1fa3 100644
--- a/tp/t/results/latex_tests/kbdinputstyle_and_kbd.pl
+++ b/tp/t/results/latex_tests/kbdinputstyle_and_kbd.pl
@@ -761,10 +761,10 @@ $result_floats{'kbdinputstyle_and_kbd'} = {};
$result_converted{'latex'}->{'kbdinputstyle_and_kbd'} = '\\begin{document}
-{\\ttfamily\\textsl{default kbdinputstyle}}
+\\GNUTexinfocommandstyletextkbd{default kbdinputstyle}
\\begin{GNUTexinfopreformatted}
\\leftskip=2em\\relax\\ttfamily%
-{\\ttfamily\\textsl{in example default kbdinputstyle}}
+\\GNUTexinfocommandstyletextkbd{in example default kbdinputstyle}
\\end{GNUTexinfopreformatted}
\\texttt{code kbdinputstyle}
@@ -773,16 +773,16 @@ $result_converted{'latex'}->{'kbdinputstyle_and_kbd'} =
'\\begin{document}
\\texttt{in example code kbdinputstyle}
\\end{GNUTexinfopreformatted}
-{\\ttfamily\\textsl{example kbdinputstyle}}
+\\GNUTexinfocommandstyletextkbd{example kbdinputstyle}
\\begin{GNUTexinfopreformatted}
\\leftskip=2em\\relax\\ttfamily%
\\texttt{in example example kbdinputstyle}
\\end{GNUTexinfopreformatted}
-{\\ttfamily\\textsl{distinct kbdinputstyle}}
+\\GNUTexinfocommandstyletextkbd{distinct kbdinputstyle}
\\begin{GNUTexinfopreformatted}
\\leftskip=2em\\relax\\ttfamily%
-{\\ttfamily\\textsl{in example distinct kbdinputstyle}}
+\\GNUTexinfocommandstyletextkbd{in example distinct kbdinputstyle}
\\end{GNUTexinfopreformatted}
';
diff --git a/tp/t/results/misc_commands/kbdinputstyle.pl
b/tp/t/results/misc_commands/kbdinputstyle.pl
index 1bea0828d6..a6c2bc0abc 100644
--- a/tp/t/results/misc_commands/kbdinputstyle.pl
+++ b/tp/t/results/misc_commands/kbdinputstyle.pl
@@ -1722,8 +1722,8 @@ in example
\\texttt{in code out of example \\texttt{in nested code}}.
-{\\ttfamily\\textsl{kbd out of example}}.
-\\texttt{kbd {\\ttfamily\\textsl{in code}}}.
+\\GNUTexinfocommandstyletextkbd{kbd out of example}.
+\\texttt{kbd \\GNUTexinfocommandstyletextkbd{in code}}.
in example
\\begin{GNUTexinfopreformatted}
@@ -1737,15 +1737,15 @@ in example
\\texttt{in code out of example \\texttt{in nested code}}.
-{\\ttfamily\\textsl{kbd out of example}}.
-\\texttt{kbd {\\ttfamily\\textsl{in code}}}.
+\\GNUTexinfocommandstyletextkbd{kbd out of example}.
+\\texttt{kbd \\GNUTexinfocommandstyletextkbd{in code}}.
in example
\\begin{GNUTexinfopreformatted}
\\leftskip=2em\\relax\\ttfamily%
\\texttt{in code in example \\texttt{in nested code}}.
-{\\ttfamily\\textsl{kbd in example}}.
-\\texttt{kbd {\\ttfamily\\textsl{in code}} in example}.
+\\GNUTexinfocommandstyletextkbd{kbd in example}.
+\\texttt{kbd \\GNUTexinfocommandstyletextkbd{in code} in example}.
\\end{GNUTexinfopreformatted}
';
diff --git a/tp/t/results/misc_commands/kbdinputstyle_in_table.pl
b/tp/t/results/misc_commands/kbdinputstyle_in_table.pl
index 80bd2df668..e653cd34c3 100644
--- a/tp/t/results/misc_commands/kbdinputstyle_in_table.pl
+++ b/tp/t/results/misc_commands/kbdinputstyle_in_table.pl
@@ -2447,12 +2447,12 @@ in example
\\begin{description}
\\item[{\\parbox[b]{\\linewidth}{%
-\\GNUTexinfotablestylekbd{i{-}{-}tem out of example}}}]
+\\GNUTexinfocommandstyletextkbd{i{-}{-}tem out of example}}}]
\\end{description}
\\begin{description}
\\item[{\\parbox[b]{\\linewidth}{%
-\\GNUTexinfotablestylekbd{braced i{-}{-}tem out of example}}}]
+\\GNUTexinfocommandstyletextkbd{braced i{-}{-}tem out of example}}}]
\\end{description}
in example
@@ -2470,22 +2470,22 @@ in example
\\begin{description}
\\item[{\\parbox[b]{\\linewidth}{%
-\\GNUTexinfotablestylekbd{i{-}{-}tem out of example}}}]
+\\GNUTexinfocommandstyletextkbd{i{-}{-}tem out of example}}}]
\\end{description}
\\begin{description}
\\item[{\\parbox[b]{\\linewidth}{%
-\\GNUTexinfotablestylekbd{braced i{-}{-}tem out of example}}}]
+\\GNUTexinfocommandstyletextkbd{braced i{-}{-}tem out of example}}}]
\\end{description}
in example
\\begin{description}
\\item[{\\parbox[b]{\\linewidth}{%
-\\GNUTexinfotablestylekbd{i{-}{-}tem in example}}}]
+\\GNUTexinfocommandstyletextkbd{i{-}{-}tem in example}}}]
\\end{description}
\\begin{description}
\\item[{\\parbox[b]{\\linewidth}{%
-\\GNUTexinfotablestylekbd{braced i{-}{-}tem in example}}}]
+\\GNUTexinfocommandstyletextkbd{braced i{-}{-}tem in example}}}]
\\end{description}
';
diff --git a/tp/tests/layout/res_parser/formatting_latex/formatting.tex
b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
index 4ec38991b4..ef29bb2de3 100644
--- a/tp/tests/layout/res_parser/formatting_latex/formatting.tex
+++ b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
@@ -31,15 +31,15 @@
% command used in \description format for emph
\newcommand\GNUTexinfotablestyleemph[1]{{\normalfont\emph{#1}}}%
-% command used in \description format for kbd
-\newcommand\GNUTexinfotablestylekbd[1]{{\ttfamily\textsl{#1}}}%
-
% command used in \description format for samp
\newcommand\GNUTexinfotablestylesamp[1]{\ifstrempty{#1}{}{{`\texttt{#1}'}}}%
% style command for cite in text
\newcommand\GNUTexinfocommandstyletextcite[1]{{\normalfont{}\textsl{#1}}}%
+% style command for kbd in text
+\newcommand\GNUTexinfocommandstyletextkbd[1]{{\ttfamily\textsl{#1}}}%
+
% style command for var in text
\newcommand\GNUTexinfocommandstyletextvar[1]{{\normalfont{}\textsl{#1}}}%
@@ -134,7 +134,7 @@ In titlepage
code: \texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}
\leavevmode{}\\
asis: ``simple-double--three---four----'' \leavevmode{}\\
strong: \textbf{``simple-double--three---four----''} \leavevmode{}\\
-kbd:
{\ttfamily\textsl{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}}
\leavevmode{}\\
+kbd:
\GNUTexinfocommandstyletextkbd{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}
\leavevmode{}\\
`\hbox{}`simple-double-\hbox{}-three---four----'\hbox{}'\leavevmode{}\\
@@ -261,7 +261,7 @@ but , ,\@
\texttt{@env\{{-}{-}a\}} \texttt{{-}{-}a}
\texttt{@file\{{-}{-}a\}} \texttt{{-}{-}a}
\texttt{@i\{{-}{-}a\}} \textit{--a}
-\texttt{@kbd\{{-}{-}a\}} {\ttfamily\textsl{{-}{-}a}}
+\texttt{@kbd\{{-}{-}a\}} \GNUTexinfocommandstyletextkbd{{-}{-}a}
\texttt{@key\{{-}{-}a\}} \texttt{{-}{-}a}
\texttt{@math\{{-}{-}a \{\textbackslash{}frac\{1\}\{2\}\} @minus\{\}\}} $--a
{\frac{1}{2}} -$
\texttt{@option\{{-}{-}a\}} \texttt{{-}{-}a}
@@ -368,20 +368,20 @@ $$
\mathbf{b} \mathit{i} \mathrm{r} sc \mathsf{sansserif} slanted
$$
-{\ttfamily\textsl{default kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{default kbdinputstyle}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem default kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem default kbdinputstyle}
\index[cp]{vtable i--tem default kbdinputstyle@\texttt{vtable i{-}{-}tem
default kbdinputstyle}}%
}}]
\end{description}
\begin{GNUTexinfopreformatted}
\leftskip=2em\relax\ttfamily%
-{\ttfamily\textsl{in example default kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{in example default kbdinputstyle}
\end{GNUTexinfopreformatted}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem in example default kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem in example default
kbdinputstyle}
\index[cp]{vtable i--tem in example default kbdinputstyle@\texttt{vtable
i{-}{-}tem in example default kbdinputstyle}}%
}}]
\end{description}
@@ -404,10 +404,10 @@ $$
}}]
\end{description}
-{\ttfamily\textsl{example kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{example kbdinputstyle}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem example kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem example kbdinputstyle}
\index[cp]{vtable i--tem example kbdinputstyle@\texttt{vtable i{-}{-}tem
example kbdinputstyle}}%
}}]
\end{description}
@@ -422,20 +422,20 @@ $$
}}]
\end{description}
-{\ttfamily\textsl{distinct kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{distinct kbdinputstyle}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem distinct kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem distinct kbdinputstyle}
\index[cp]{vtable i--tem distinct kbdinputstyle@\texttt{vtable i{-}{-}tem
distinct kbdinputstyle}}%
}}]
\end{description}
\begin{GNUTexinfopreformatted}
\leftskip=2em\relax\ttfamily%
-{\ttfamily\textsl{in example distinct kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{in example distinct kbdinputstyle}
\end{GNUTexinfopreformatted}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem in example distinct kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem in example distinct
kbdinputstyle}
\index[cp]{vtable i--tem in example distinct kbdinputstyle@\texttt{vtable
i{-}{-}tem in example distinct kbdinputstyle}}%
}}]
\end{description}
@@ -1482,7 +1482,7 @@ In copying
code: \texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}
\leavevmode{}\\
asis: ``simple-double--three---four----'' \leavevmode{}\\
strong: \textbf{``simple-double--three---four----''} \leavevmode{}\\
-kbd:
{\ttfamily\textsl{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}}
\leavevmode{}\\
+kbd:
\GNUTexinfocommandstyletextkbd{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}
\leavevmode{}\\
`\hbox{}`simple-double-\hbox{}-three---four----'\hbox{}'\leavevmode{}\\
@@ -1609,7 +1609,7 @@ but , ,\@
\texttt{@env\{{-}{-}a\}} \texttt{{-}{-}a}
\texttt{@file\{{-}{-}a\}} \texttt{{-}{-}a}
\texttt{@i\{{-}{-}a\}} \textit{--a}
-\texttt{@kbd\{{-}{-}a\}} {\ttfamily\textsl{{-}{-}a}}
+\texttt{@kbd\{{-}{-}a\}} \GNUTexinfocommandstyletextkbd{{-}{-}a}
\texttt{@key\{{-}{-}a\}} \texttt{{-}{-}a}
\texttt{@math\{{-}{-}a \{\textbackslash{}frac\{1\}\{2\}\} @minus\{\}\}} $--a
{\frac{1}{2}} -$
\texttt{@option\{{-}{-}a\}} \texttt{{-}{-}a}
@@ -1713,20 +1713,20 @@ $$
\mathbf{b} \mathit{i} \mathrm{r} sc \mathsf{sansserif} slanted
$$
-{\ttfamily\textsl{default kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{default kbdinputstyle}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem default kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem default kbdinputstyle}
\index[cp]{vtable i--tem default kbdinputstyle@\texttt{vtable i{-}{-}tem
default kbdinputstyle}}%
}}]
\end{description}
\begin{GNUTexinfopreformatted}
\leftskip=2em\relax\ttfamily%
-{\ttfamily\textsl{in example default kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{in example default kbdinputstyle}
\end{GNUTexinfopreformatted}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem in example default kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem in example default
kbdinputstyle}
\index[cp]{vtable i--tem in example default kbdinputstyle@\texttt{vtable
i{-}{-}tem in example default kbdinputstyle}}%
}}]
\end{description}
@@ -1749,10 +1749,10 @@ $$
}}]
\end{description}
-{\ttfamily\textsl{example kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{example kbdinputstyle}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem example kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem example kbdinputstyle}
\index[cp]{vtable i--tem example kbdinputstyle@\texttt{vtable i{-}{-}tem
example kbdinputstyle}}%
}}]
\end{description}
@@ -1767,20 +1767,20 @@ $$
}}]
\end{description}
-{\ttfamily\textsl{distinct kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{distinct kbdinputstyle}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem distinct kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem distinct kbdinputstyle}
\index[cp]{vtable i--tem distinct kbdinputstyle@\texttt{vtable i{-}{-}tem
distinct kbdinputstyle}}%
}}]
\end{description}
\begin{GNUTexinfopreformatted}
\leftskip=2em\relax\ttfamily%
-{\ttfamily\textsl{in example distinct kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{in example distinct kbdinputstyle}
\end{GNUTexinfopreformatted}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem in example distinct kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem in example distinct
kbdinputstyle}
\index[cp]{vtable i--tem in example distinct kbdinputstyle@\texttt{vtable
i{-}{-}tem in example distinct kbdinputstyle}}%
}}]
\end{description}
@@ -2848,7 +2848,7 @@ In copying
code: \texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}
\leavevmode{}\\
asis: ``simple-double--three---four----'' \leavevmode{}\\
strong: \textbf{``simple-double--three---four----''} \leavevmode{}\\
-kbd:
{\ttfamily\textsl{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}}
\leavevmode{}\\
+kbd:
\GNUTexinfocommandstyletextkbd{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}
\leavevmode{}\\
`\hbox{}`simple-double-\hbox{}-three---four----'\hbox{}'\leavevmode{}\\
@@ -2975,7 +2975,7 @@ but , ,\@
\texttt{@env\{{-}{-}a\}} \texttt{{-}{-}a}
\texttt{@file\{{-}{-}a\}} \texttt{{-}{-}a}
\texttt{@i\{{-}{-}a\}} \textit{--a}
-\texttt{@kbd\{{-}{-}a\}} {\ttfamily\textsl{{-}{-}a}}
+\texttt{@kbd\{{-}{-}a\}} \GNUTexinfocommandstyletextkbd{{-}{-}a}
\texttt{@key\{{-}{-}a\}} \texttt{{-}{-}a}
\texttt{@math\{{-}{-}a \{\textbackslash{}frac\{1\}\{2\}\} @minus\{\}\}} $--a
{\frac{1}{2}} -$
\texttt{@option\{{-}{-}a\}} \texttt{{-}{-}a}
@@ -3079,20 +3079,20 @@ $$
\mathbf{b} \mathit{i} \mathrm{r} sc \mathsf{sansserif} slanted
$$
-{\ttfamily\textsl{default kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{default kbdinputstyle}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem default kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem default kbdinputstyle}
\index[cp]{vtable i--tem default kbdinputstyle@\texttt{vtable i{-}{-}tem
default kbdinputstyle}}%
}}]
\end{description}
\begin{GNUTexinfopreformatted}
\leftskip=2em\relax\ttfamily%
-{\ttfamily\textsl{in example default kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{in example default kbdinputstyle}
\end{GNUTexinfopreformatted}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem in example default kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem in example default
kbdinputstyle}
\index[cp]{vtable i--tem in example default kbdinputstyle@\texttt{vtable
i{-}{-}tem in example default kbdinputstyle}}%
}}]
\end{description}
@@ -3115,10 +3115,10 @@ $$
}}]
\end{description}
-{\ttfamily\textsl{example kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{example kbdinputstyle}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem example kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem example kbdinputstyle}
\index[cp]{vtable i--tem example kbdinputstyle@\texttt{vtable i{-}{-}tem
example kbdinputstyle}}%
}}]
\end{description}
@@ -3133,20 +3133,20 @@ $$
}}]
\end{description}
-{\ttfamily\textsl{distinct kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{distinct kbdinputstyle}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem distinct kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem distinct kbdinputstyle}
\index[cp]{vtable i--tem distinct kbdinputstyle@\texttt{vtable i{-}{-}tem
distinct kbdinputstyle}}%
}}]
\end{description}
\begin{GNUTexinfopreformatted}
\leftskip=2em\relax\ttfamily%
-{\ttfamily\textsl{in example distinct kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{in example distinct kbdinputstyle}
\end{GNUTexinfopreformatted}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem in example distinct kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem in example distinct
kbdinputstyle}
\index[cp]{vtable i--tem in example distinct kbdinputstyle@\texttt{vtable
i{-}{-}tem in example distinct kbdinputstyle}}%
}}]
\end{description}
@@ -4192,7 +4192,7 @@ Normal text
code: \texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}
\leavevmode{}\\
asis: ``simple-double--three---four----'' \leavevmode{}\\
strong: \textbf{``simple-double--three---four----''} \leavevmode{}\\
-kbd:
{\ttfamily\textsl{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}}
\leavevmode{}\\
+kbd:
\GNUTexinfocommandstyletextkbd{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}
\leavevmode{}\\
`\hbox{}`simple-double-\hbox{}-three---four----'\hbox{}'\leavevmode{}\\
@@ -4319,7 +4319,7 @@ but , ,\@
\texttt{@env\{{-}{-}a\}} \texttt{{-}{-}a}
\texttt{@file\{{-}{-}a\}} \texttt{{-}{-}a}
\texttt{@i\{{-}{-}a\}} \textit{--a}
-\texttt{@kbd\{{-}{-}a\}} {\ttfamily\textsl{{-}{-}a}}
+\texttt{@kbd\{{-}{-}a\}} \GNUTexinfocommandstyletextkbd{{-}{-}a}
\texttt{@key\{{-}{-}a\}} \texttt{{-}{-}a}
\texttt{@math\{{-}{-}a \{\textbackslash{}frac\{1\}\{2\}\} @minus\{\}\}} $--a
{\frac{1}{2}} -$
\texttt{@option\{{-}{-}a\}} \texttt{{-}{-}a}
@@ -4423,20 +4423,20 @@ $$
\mathbf{b} \mathit{i} \mathrm{r} sc \mathsf{sansserif} slanted
$$
-{\ttfamily\textsl{default kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{default kbdinputstyle}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem default kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem default kbdinputstyle}
\index[cp]{vtable i--tem default kbdinputstyle@\texttt{vtable i{-}{-}tem
default kbdinputstyle}}%
}}]
\end{description}
\begin{GNUTexinfopreformatted}
\leftskip=2em\relax\ttfamily%
-{\ttfamily\textsl{in example default kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{in example default kbdinputstyle}
\end{GNUTexinfopreformatted}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem in example default kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem in example default
kbdinputstyle}
\index[cp]{vtable i--tem in example default kbdinputstyle@\texttt{vtable
i{-}{-}tem in example default kbdinputstyle}}%
}}]
\end{description}
@@ -4459,10 +4459,10 @@ $$
}}]
\end{description}
-{\ttfamily\textsl{example kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{example kbdinputstyle}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem example kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem example kbdinputstyle}
\index[cp]{vtable i--tem example kbdinputstyle@\texttt{vtable i{-}{-}tem
example kbdinputstyle}}%
}}]
\end{description}
@@ -4477,20 +4477,20 @@ $$
}}]
\end{description}
-{\ttfamily\textsl{distinct kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{distinct kbdinputstyle}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem distinct kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem distinct kbdinputstyle}
\index[cp]{vtable i--tem distinct kbdinputstyle@\texttt{vtable i{-}{-}tem
distinct kbdinputstyle}}%
}}]
\end{description}
\begin{GNUTexinfopreformatted}
\leftskip=2em\relax\ttfamily%
-{\ttfamily\textsl{in example distinct kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{in example distinct kbdinputstyle}
\end{GNUTexinfopreformatted}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem in example distinct kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem in example distinct
kbdinputstyle}
\index[cp]{vtable i--tem in example distinct kbdinputstyle@\texttt{vtable
i{-}{-}tem in example distinct kbdinputstyle}}%
}}]
\end{description}
@@ -5538,7 +5538,7 @@ In example.
code:\ \texttt{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}
\leavevmode{}\\
asis:\ {`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}
\leavevmode{}\\
strong:\ \textbf{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}
\leavevmode{}\\
-kbd:\
{\ttfamily\textsl{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}}
\leavevmode{}\\
+kbd:\
\GNUTexinfocommandstyletextkbd{{`}{`}simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-{'}{'}}
\leavevmode{}\\
`\hbox{}`simple-double-\hbox{}-three{-}{-}{-}four{-}{-}{-}-'\hbox{}'\leavevmode{}\\
@@ -5665,7 +5665,7 @@ but ,\ ,\@
\texttt{@env\{{-}{-}a\}} \texttt{{-}{-}a}
\texttt{@file\{{-}{-}a\}} \texttt{{-}{-}a}
\texttt{@i\{{-}{-}a\}} \textit{{-}{-}a}
-\texttt{@kbd\{{-}{-}a\}} {\ttfamily\textsl{{-}{-}a}}
+\texttt{@kbd\{{-}{-}a\}} \GNUTexinfocommandstyletextkbd{{-}{-}a}
\texttt{@key\{{-}{-}a\}} \texttt{{-}{-}a}
\texttt{@math\{{-}{-}a \{\textbackslash{}frac\{1\}\{2\}\} @minus\{\}\}} $--a
{\frac{1}{2}} -$
\texttt{@option\{{-}{-}a\}} \texttt{{-}{-}a}
@@ -5796,11 +5796,11 @@ $$
\begin{GNUTexinfopreformatted}
\leftskip=2em\relax\ttfamily%
-{\ttfamily\textsl{default kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{default kbdinputstyle}
\end{GNUTexinfopreformatted}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem default kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem default kbdinputstyle}
\index[cp]{vtable i--tem default kbdinputstyle@\texttt{vtable i{-}{-}tem
default kbdinputstyle}}%
}}]
\end{description}
@@ -5809,11 +5809,11 @@ $$
\end{GNUTexinfopreformatted}
\begin{GNUTexinfopreformatted}
\leftskip=2em\relax\ttfamily%
-{\ttfamily\textsl{in example default kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{in example default kbdinputstyle}
\end{GNUTexinfopreformatted}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem in example default kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem in example default
kbdinputstyle}
\index[cp]{vtable i--tem in example default kbdinputstyle@\texttt{vtable
i{-}{-}tem in example default kbdinputstyle}}%
}}]
\end{description}
@@ -5868,11 +5868,11 @@ $$
\begin{GNUTexinfopreformatted}
\leftskip=2em\relax\ttfamily%
-{\ttfamily\textsl{distinct kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{distinct kbdinputstyle}
\end{GNUTexinfopreformatted}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem distinct kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem distinct kbdinputstyle}
\index[cp]{vtable i--tem distinct kbdinputstyle@\texttt{vtable i{-}{-}tem
distinct kbdinputstyle}}%
}}]
\end{description}
@@ -5881,11 +5881,11 @@ $$
\end{GNUTexinfopreformatted}
\begin{GNUTexinfopreformatted}
\leftskip=2em\relax\ttfamily%
-{\ttfamily\textsl{in example distinct kbdinputstyle}}
+\GNUTexinfocommandstyletextkbd{in example distinct kbdinputstyle}
\end{GNUTexinfopreformatted}
\begin{description}
\item[{\parbox[b]{\linewidth}{%
-\GNUTexinfotablestylekbd{vtable i{-}{-}tem in example distinct kbdinputstyle}
+\GNUTexinfocommandstyletextkbd{vtable i{-}{-}tem in example distinct
kbdinputstyle}
\index[cp]{vtable i--tem in example distinct kbdinputstyle@\texttt{vtable
i{-}{-}tem in example distinct kbdinputstyle}}%
}}]
\end{description}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Handle kbd in LaTeX more like other similar commands,
Patrice Dumas <=