summaryrefslogtreecommitdiff
path: root/src/generators
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@fastmail.net>2010-12-07 06:33:32 +0100
committerGrégoire Duchêne <gduchene@fastmail.net>2010-12-07 06:33:32 +0100
commit70cf7c0f25d482e3e90285f8045c6a442268abbe (patch)
tree74ddced2e57ea114fce9486dc90342cad5770ce0 /src/generators
parent381f491b3eecbf90f2202a37f3c43c7f487f8713 (diff)
Subscript text support added (once again).
Diffstat (limited to 'src/generators')
-rw-r--r--src/generators/latex/text_g.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/generators/latex/text_g.cpp b/src/generators/latex/text_g.cpp
index 338172a..56b4191 100644
--- a/src/generators/latex/text_g.cpp
+++ b/src/generators/latex/text_g.cpp
@@ -29,7 +29,8 @@ latex::text_g::text_g() : text_g::base_type(text_) {
| &uint_(CODE) << L"\\texttt{" << +text_ << '}'
| &uint_(MATH) << L"$" << +text_ << '$'
| &uint_(SUPER) << L"^{" << +text_ << '}'
- | &uint_(QUOTE) << L"``" << +text_ << L"''";
+ | &uint_(QUOTE) << L"``" << +text_ << L"''"
+ | &uint_(SUB) << L"_{" << +text_ << '}';
ptext_ = +char_;
}