From 690d9b68f2bd468ed9bcd8a89869d3568f05b396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Mon, 11 Feb 2013 00:49:20 +0100 Subject: [PATCH] tex2lyx: add test for font settings --- src/tex2lyx/test/box-color-size-space-align.lyx.lyx | 8 ++++---- src/tex2lyx/test/box-color-size-space-align.tex | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/tex2lyx/test/box-color-size-space-align.lyx.lyx b/src/tex2lyx/test/box-color-size-space-align.lyx.lyx index cdd1dadafd..92a123f49c 100644 --- a/src/tex2lyx/test/box-color-size-space-align.lyx.lyx +++ b/src/tex2lyx/test/box-color-size-space-align.lyx.lyx @@ -1,5 +1,5 @@ #LyX file created by tex2lyx 2.1.0dev -\lyxformat 459 +\lyxformat 461 \begin_document \begin_header \textclass article @@ -44,11 +44,11 @@ \language_package none \inputencoding latin9 \fontencoding T1 -\font_roman default -\font_sans default +\font_roman cmr +\font_sans berasans \font_typewriter default \font_math auto -\font_default_family default +\font_default_family sfdefault \use_non_tex_fonts false \font_sc false \font_osf false diff --git a/src/tex2lyx/test/box-color-size-space-align.tex b/src/tex2lyx/test/box-color-size-space-align.tex index b44e03883b..b3a6d006c7 100644 --- a/src/tex2lyx/test/box-color-size-space-align.tex +++ b/src/tex2lyx/test/box-color-size-space-align.tex @@ -2,6 +2,10 @@ %% Do not edit unless you really know what you are doing. \documentclass[b4paper,twoside, twocolumn,12pt]{article} +\renewcommand{\rmdefault}{cmr} +\usepackage{berasans} +\renewcommand{\familydefault}{\sfdefault} + \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc}