• No results found

xesoul: Using the soul package with XƎL

N/A
N/A
Protected

Academic year: 2021

Share "xesoul: Using the soul package with XƎL"

Copied!
2
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

xesoul

: Using the soul package with XƎL

A

TEX

Apostolos Syropoulos

Xanthi, Greece

asyropoulos@yahoo.com

2021/02/23

Abstract

This is a small package that allows users to successfully use the soul package when preparing documents with XƎLATEX.

1 Introduction

While I was trying to underline Greek text using the \ul command of the soul package with XƎLATEX, I discovered that this is not possible. I was getting several

errors and the output was looking terrible. I did not know what was wrong. I did a Google search and I found that another user had the same problem. He posted his case to the XƎTEX mailing list and Ulrike Fischer helped him and gave a solution to the problem. However, since the solution is not part of the soul package, I thought it would be a good idea to create a new package that would solve the problem.

2 The Implementation

The code of the package is very simple. It loads the soul package and then it sets the \SOUL@tt font to be a Unicode encoded font. The most natural choice is to use a font that is included in every distribution of TEXlive. Thus the package uses the freemono font. If for some reason the font is not available in your installtion, then you can download it from the following URL:

https://fontmeme.com/fonts/freemono-font/

Since the soul package uses the \SOUL@ttwidth variable, we need to reset it. Now one can use the soul package with no problem.

(2)

6\setbox\z@\hbox{\SOUL@tt-} 7\SOUL@ttwidth\wd\z@ 8\else

9\typeout{The `xesoul' package can be used only with XeLaTeX.} 10\fi

11⟨/xesoul⟩

Referenties

GERELATEERDE DOCUMENTEN

Width is fixed at 2 in, a tight frame is specified (\fboxsep of 0 pt), a short caption appears in the List of Figures, and the additional text is using the default

Many fonts are supported by metalogox, and if one of these is in use then the ap- propriate settings are assigned automatically, according to the default text body font: L A TEX 2ε..

Since, the later command has now two required arguments, the name of an auxiliary file and the usual citation labels, we have to redefine the \@citex command so that these labels

We need to just make square with MBp in square; adjust box height using a \rule; adjust \fboxsep (default=3pt); adjust \fboxrule (default=0.4pt); bounded by {} so no need to reset

The rubikpatterns package is a small data-base of well-known named Rubik patterns and associated rotation sequences, for use in conjunction with the other Rubik ‘bundle’

This is because (a) The Perl script rubikrotation.pl is currently configured to read its output filename as an argument from the command-line (so it can be flexibly used as

Note that this package writes this state data to the same ‘output’ file (rubikstate.dat) as used by the 3x3x3 rubikrotation package, since there is no need to change this (since

When the skills package is used together with the exam document class, the skillquestions environment and the \skillquestion command become available to the user.. They behave like