Skip to content

Instantly share code, notes, and snippets.

@aminophen
Last active December 21, 2017 11:29
Show Gist options
  • Save aminophen/862a20ea5468efb54832e722bbd0df4e to your computer and use it in GitHub Desktop.
Save aminophen/862a20ea5468efb54832e722bbd0df4e to your computer and use it in GitHub Desktop.
XeLaTeX だけなぜか出力が違うソース
% based on https://tex.stackexchange.com/questions/107208/
% XeLaTeX: NG
% LuaLaTeX/pdfLaTeX/pLaTeX/upLaTeX: OK
% plain *TeX: OK
\ifx\RequirePackage\undefined % plain
\hsize=345pt %
\else
\RequirePackage{latexbug}
\documentclass{article}
\begin{document}
\fi
\uchyph=0 %
\begingroup
\lccode`C=`C
Some filler text.
Some filler text.
Some filler text.
Some filler text.
Capitalised word. % Capi-talised
\par
\endgroup
\begingroup
\lccode`C=`c
Some filler text.
Some filler text.
Some filler text.
Some filler text.
Capitalised word. % (no hyphenation)
\par
\endgroup
\begingroup
\uccode`C=`C
Some filler text.
Some filler text.
Some filler text.
Some filler text.
Capitalised word. % (no hyphenation)
\par
\endgroup
\begingroup
\uccode`C=`c
Some filler text.
Some filler text.
Some filler text.
Some filler text.
Capitalised word. % (no hyphenation)
\par
\endgroup
\end{document}
@aminophen
Copy link
Author

Reported on latex3/latex2e#4

@aminophen
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment