Paul Sutton

basics

CyberSecurity part 14

Starting and stopping services is now down to SystemD. I am including the video below as it should offer a basic introduction to this.

I am fully aware that there is a huge argument between fans of SystemD and fans of system V (used previously). I am NOT prepared to get in to arguments over this. I may however make another post that covers system V.

If you want to experiment with this, you will more than likely need access to your own GNU/Linux install, perhaps on a Raspberry Pi.

Links

Tags

#CyberSecurity,#systemD.#Basics


MastodonPeertubeQoto sign up

Donate using Liberapay

Scratch projects 20/11/2020

Still occasionally create simple Scratch projects to add to my portfolio. Mostly simple stuff, that can be built upon.

Resources

#scratch,#programming,#basics,#development,#lookingforwork


MastodonPeertubeQoto sign up

Donate using Liberapay

LaTeX and Chemistry

LaTeX is very useful for typesetting Chemistry.

A few examples are below

Normally we would the chemical formula for Methane as

$CH_4$

How do we achieve this in LaTeX? We to use maths mode.

$CH_4$

So the underscore gives us the required Subscript 4. The $ tells latex to use maths mode.

If we want to include both the Atomic number and Mass of an element. For example Hydrogen.

$H^1_1$

$H^6_12$

Or Carbon (illustrating how to type 2 numbers)

$C^6_{12}$

$C^6_{12}$

Puts one number above the other. So in the case the ^ gives us our superscript.

If we wanted to write Sodium as an ion we would put

$Na^{1+}$ Note that the 1+ has been put inside curly braces {1+}

$Na^{1+}$

So far this is pretty straightforward

You can also type chemical equations, which is a little more involved:

$H_2O(l) \hspace{0.5cm} \xrightarrow[\text{}]{\text{heat}}\hspace{0.5cm} = \hspace{0.5cm} H_2O (g)$

The first \text{} would put any text under the arrow, while clearly the second puts the text on top.

As per instructions you need to tell LaTeX to use the package mathtools

\usepackage{mathtools}

I have also added some horizontal spacing so the equation is not squashed together.

however writefreely does not seem to render this fully. You can view this equation in Overleaf here

#LaTeX, #Learn, #typesetting, #chemistry, #basics

cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)


MastodonPeertubeQoto sign up

Donate using Liberapay

Learn LaTeX is a new website that aims to give users enough information to get started.

It looks very good so far and hopefully will help build up skills in this area. It won't cover everything but doesn't need to. Hopefully some of my posts will also complement this website.

It is great to see so many fresh resources out there. With the upcoming release of TeX Live 2020 the timing for this could not have been better.

Resources

#LaTeX, #Learn, #typesetting, #lessons, #basics

cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)


MastodonPeertubeQoto sign up

Donate using Liberapay