]> git.lyx.org Git - lyx.git/commitdiff
Fixup Japanese Feynman example
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 14 Sep 2024 12:36:18 +0000 (14:36 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 14 Sep 2024 12:36:18 +0000 (14:36 +0200)
Polyglossia is loaded after the user preamble

lib/examples/ja/Graphics_and_Insets/Feynman_Diagrams.lyx

index 1eb71f5647062bf524adad64f9dca0b166a9c4d5..6cc22806c0b90689532ef9e856c9afec423af3e0 100644 (file)
 % email: lyx-docs@lists.lyx.org
 
 % increase link area for cross-references and autoname them,
-\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
-\newlength{\abc}
-\settowidth{\abc}{\space}
-\addto\extrasenglish{
+\AtBeginDocument{
+ \renewcommand{\ref}[1]{\mbox{\autoref{#1}}}
+ \newlength{\abc}
+ \settowidth{\abc}{\space}
+ \addto\extrasenglish{
  \renewcommand{\equationautorefname}{\hspace{-\abc}}
  \renewcommand{\sectionautorefname}{sec.\negthinspace}
  \renewcommand{\subsectionautorefname}{sec.\negthinspace}
  \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}}
+}
 
 % wird benutzt, um Tabellenzellen zu vergrosern
 \@ifundefined{extrarowheight}
@@ -58,6 +60,8 @@
 \output_sync 0
 \bibtex_command default
 \index_command default
+\float_placement class
+\float_alignment class
 \paperfontsize 12
 \spacing single
 \use_hyperref true
@@ -94,6 +98,7 @@
 \suppress_date true
 \justification true
 \use_refstyle 0
+\use_formatted_ref 0
 \use_minted 0
 \use_lineno 0
 \index Index