The Source Pro font “superfamily”

Some years ago Adobe released the Source Pro font “superfamily” as an open source product that provides a Serif (it recently got real italics), Sans and monospaced variants

Source Sans Pro

Source Serif Pro

Source Code Pro

The fonts come in several weights, from Extra Light to Black, for all its variants (only the Serif is shown in the full example)

With a really nice and consistent design, these fonts offer a correct set of OpenType features that make them ideal for “formal” documents.


Note to the frequent reader: First of all, thank you for being here! This year I’ll start publishing articles biweekly instead of each Monday, at least for now. Let’s see if I’m able to regain the old schedule!

Advertisements

Holidays break

2018 has been a particular year for me, with a couple of good things, but also with some really tough stuff I’m still recovering from. The time has come therefore to pause the publications and take a breath of fresh air (literally, it is cold here) to recover the strength, the spirit and the rhythm of writing, that the list of programmed articles is getting shorter.

I’ll be back on January 14. I hope that, no matter what you want to celebrate, you have a very happy holiday.

Take care of yourself and do not exaggerate with the nougat.

LyX 2.3.2 Released

A quick entry for this cold Friday of December: although all openSUSE users have already been enjoying it for a few days (it’s in the publishing repository), today the LYX project has announced the availability of a new maintenance release in the 2.3.x series

Public release of LyX version 2.3.2

The list of bug fixes and improvements is long, so I’ll let you explore the announcement.
Happy LYXing!

LaTeX and WordPress

We’ve seen in the past how to write the LATEX logo in WordPress, but can we write LATEX expressions?

Sure!

We can get “in-line” expressions such as this one \int \limits _a ^b f'(x) dx = f(b) - f(a) or “displayed” expressions such as

\displaystyle \int \limits _a ^b f'(x) dx = f(b) - f(a)

 

The first one was written with

[ latex]\int \limits _a ^b f'(x) dx = f(b) - f(a)[/latex]

while the second one with

[ latex]\displaystyle \int \limits _a ^b f'(x) dx = f(b) - f(a)[/latex]

I had to add a “space” after the first square bracket to prevent WordPress from compiling the expression, so you know: never copy & paste code without reviewing it!

Formulas are created as PNG images.

There are other WordPress plug-ins that can be used to insert formulas not as images, but as dynamic objects… but this default option is good enough.

More info: WP LaTeX.

“3D” objects in LibreOffice Draw

Draw is certainly not a tool for making 3D images, but it allows you to quickly create simple objects with rotational symmetry that behave as objects in three dimensions, reflecting light, and so on.

The program does indeed offer some predefined objects directly from the corresponding button in the toolbar, but today we will see how to create a new one.

First we create a flat curve with the normal drawing tools. For example, a Bézier curve (I have explained how to create one in a certain book). In the Transformations button we select the option In 3D Rotation Object, as shown below (I hope you’ll not mind a few Spanish screenshots):

A vertical dotted line will appear, with two handles at its ends: this will be the axis of symmetry of our object. We can move this axis freely just by taking it with the mouse and turn it using the handles

Once our axis is placed, a double click on the original curve will complete the figure and with a right click → 3D Effects we can access the menu to modify its properties.

I recommend to check the option “Double-Sided” of the Geometry tab, otherwise the object will look somewhat strange. When you are done, remember to click on the Assign button on the top right!

In the upper bar we can choose to configure the lighting and various effects that I let the reader explore.

The resulting object can be rotated at will by selecting the rotation tool in the Effects button that we mentioned earlier and from the sidebar we can modify its transparency and its colours.

And well, this is the tool. With a little creativity we can try to decide if the glass is half empty or half full.

Something that’s good to know in this season (future reader, this article is being published in December).

“Hide” some details behind a button in WordPress

Did you ever see one of those pages with “text as buttons” that, with a click on them, present some extra content?

OK, in a WordPress article, go to the HTML editor and write something like this

<details>
<summary>Click to show/hide</summary>
<p>The paragraph you did not expect</p>
</details>

Then, go back to the graphic editor, play a bit with colours and press the “preview” (or “publish,” if you are brave enough) to see something like this:

Click to show/hide

The paragraph you did not expect

 

Possibly, you’ll need to add some space here and there: every now and then the WordPress editor do some weird stuff.

As you’ll see, in the editor the “button” is always open, but in the preview or after publishing everything will work as expected.

You are not limited to text: pictures are valid too.

Do you want to see something? Click here to show/hide!

Some new features of LibO 6.2

The development of LibO is a “moving target,” so although in the book I mentioned a couple of novelties that will appear in LibO 6.2 at the beginning of 2019 (such as the “helper” to apply OpenType and Graphite features), others have been implemented since then, so today I want to talk about some new features that have caught my attention.

The most important, at least in my opinion, the ability to disable the headers / footers menus

Those menus that appear when we click on the area of the headers or footers can be very annoying, especially if we consider how simple it is to click there by accident. And come on, how many times per document do you edit the page headers? Is it worth having a menu always active there? Well, from 6.2 it is possible to deactivate it, yes!

Another interesting thing are more options to modify the height of the rows in a table

In other general news, the interface for gtk2 and KDE4 have been marked as “deprecated” and will be eliminated in a future version, while the interface for Qt5 is improving to give us a better integration with Plasma and LXQt desktops.

This new VCL plug-in seems to work quite well, but it lacks some features.

So yeah, nothing ground breaking, but all in all a really nice update.