Special characters

Is it possible for a LibreOffice (I’m using beta2 version now) to configure specified special characters (for example - ʃ - or - ƥ -) to bet be put in a Writer using keyboard shortcut?

OP: @mouflon


You could use the following ***macro*** [1], and assign it to a shortcut key.

Sample U+222B INTEGRAL ∫

Sub insert_integral
Dim oDoc as variant
    oDoc = ThisComponent
Dim oCurrentController as variant
    oCurrentController = oDoc.getCurrentController()
Dim oTextViewCursor as variant
    oTextViewCursor = oCurrentController.getViewCursor()
Dim oText as variant
If IsEmpty(oTextViewCursor.Cell) Then
End If
End Sub

(1) Tools → Macros → Organize Macros → LOdev Basic… → Edit

(2) Tools → Customize… → Keyboard

Category: LOdev Macros/user/Standard/Module 1

Function: insert_integral

Keys: Alt+Shift+I

Modify → OK

(3) Test with LibreOffice

[1] Source: Writer - Macro für Zeichen einfügen

Thanks to Regina Henschel!


You could use this extension → [Compose Special Characters](http://www.productivityapps.com/csc.html).
(*"There are two ways to create special characters - **Compose Special Characters** and **Compose Unicode Characters**."*)
Tools → Extension Manager → Add... → ComposeSpecialCharacters-2.0.10.oxt

See also: LO Writer: insert special characters by shortcut keys


Compose Special Characters 2.0.10 – all key combos.pdf
(Hybrid PDF with embedded .odt file)

Compose Special Characters 2.0.10 – all key combos.odt

Thank you very much for your kind contribution. I wish someday creators of Libre- will invent an equivalent for an option “paste->special symbols”, like in (ergh) Office. I’ll try both ways and maybe I’ll reply.

your macro is running in the writer very good. thank you. but how can i run in calc. i can’t run this macro in calc.

This macro only works for Writer. You might use → Compose Special Characters for Calc (don’t forget to set a “flag character” – e.g.: *)