From 346e9088b293e66bc31651aba52b2f7ca745ecb3 Mon Sep 17 00:00:00 2001 From: mstsirkin Date: Mon, 25 Nov 2013 12:26:57 +0000 Subject: latex: add a comment Add a comment about an alternative to \usepackage{underscore}, in case we'll want to use it in the future. Signed-off-by: Michael S. Tsirkin git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@116 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- virtio-v1.0-csd01.tex | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/virtio-v1.0-csd01.tex b/virtio-v1.0-csd01.tex index efafbe4..84337af 100644 --- a/virtio-v1.0-csd01.tex +++ b/virtio-v1.0-csd01.tex @@ -35,6 +35,16 @@ \usepackage{xltxtra} \usepackage{etoolbox} \usepackage{underscore} +% This is an alternative to package underscore above +% It makes it possible to disable hyphenation of upper-case +% identifiers with underscore (of which we have many) by +% treating them as acronyms. +% However, the result doesn't look pretty, so don't use this +% for now. +%\catcode`\_=\active +%\def_{\_} +% Don't hyphenate acronyms +%\uchyph=0 \setmainfont[Mapping=tex-text]{Arial} \setromanfont{Arial} \setmonofont{Courier New} -- cgit v1.2.3