From 8d252fdd7ff089ce06a249c491c31c3d9e60d355 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 6 Jul 2005 12:28:49 +0000 Subject: [PATCH] add boldsymbol to Qt math panel git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10137 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/ChangeLog | 4 ++++ src/frontends/qt2/QMathDialog.C | 30 ++++++++++++++++-------------- status.13x | 3 +++ 3 files changed, 23 insertions(+), 14 deletions(-) diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index e0ea68ca0f..0c454eb621 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,7 @@ +2005-06-16 Joao Luis Meloni Assirati + + * QMathDialog.C (QMathDialog, insertFont): add boldsymbol font. + 2005-07-04 Jürgen Spitzmüller * QToc.C: consider gui name, not type, when trying to set the diff --git a/src/frontends/qt2/QMathDialog.C b/src/frontends/qt2/QMathDialog.C index 87adba495a..a8baf1c093 100644 --- a/src/frontends/qt2/QMathDialog.C +++ b/src/frontends/qt2/QMathDialog.C @@ -147,13 +147,14 @@ QMathDialog::QMathDialog(QMath * form) m->insertTearOffHandle(); m->insertItem(qt_("Roman \\mathrm"), 1); m->insertItem(qt_("Bold \\mathbf"), 2); - m->insertItem(qt_("San serif \\mathsf"), 3); - m->insertItem(qt_("Italic \\mathit"), 4); - m->insertItem(qt_("Typewriter \\mathtt"), 5); - m->insertItem(qt_("Blackboard \\mathbb"), 6); - m->insertItem(qt_("Fraktur \\mathfrak"), 7); - m->insertItem(qt_("Calligraphic \\mathcal"), 8); - m->insertItem(qt_("Normal text mode \\textrm"), 9); + m->insertItem(qt_("Bold symbol \\boldsymbol"), 3); + m->insertItem(qt_("Sans serif \\mathsf"), 4); + m->insertItem(qt_("Italic \\mathit"), 5); + m->insertItem(qt_("Typewriter \\mathtt"), 6); + m->insertItem(qt_("Blackboard \\mathbb"), 7); + m->insertItem(qt_("Fraktur \\mathfrak"), 8); + m->insertItem(qt_("Calligraphic \\mathcal"), 9); + m->insertItem(qt_("Normal text mode \\textrm"), 10); connect(m, SIGNAL(activated(int)), this, SLOT(insertFont(int))); fontPB->setPopup(m); } @@ -310,13 +311,14 @@ void QMathDialog::insertFont(int id) switch (id) { case 1: str = "mathrm"; break; case 2: str = "mathbf"; break; - case 3: str = "mathsf"; break; - case 4: str = "mathit"; break; - case 5: str = "mathtt"; break; - case 6: str = "mathbb"; break; - case 7: str = "mathfrak"; break; - case 8: str = "mathcal"; break; - case 9: str = "textrm"; break; + case 3: str = "boldsymbol"; break; + case 4: str = "mathsf"; break; + case 5: str = "mathit"; break; + case 6: str = "mathtt"; break; + case 7: str = "mathbb"; break; + case 8: str = "mathfrak"; break; + case 9: str = "mathcal"; break; + case 10: str = "textrm"; break; default: return; } form_->insert(str); diff --git a/status.13x b/status.13x index ee96570404..bc14e9c4f6 100644 --- a/status.13x +++ b/status.13x @@ -43,6 +43,9 @@ What's new - The ``annote'' field of BibTeX entries is now shown in citation preview. +- it is now possible to change current font to boldsymbol through the math + panel. [Qt only] + - update the aastex textclass to AASTeX 5.2 - new Turkish translation.