Good morning
I have another strange question.
Work related I have to insert not infrequently symbols into texts.
To make work easier, I have already created a number of macros to insert 
for example the symbol "micro" into a text using a keyboard shortcut.
Problem:
Let's say, I created the macro in a document that happened to use 
"Arial" as font and later want to use it in a document that uses "Times 
Roman". The macro I created then inserts an "Arial font micro" into the 
Times Roman text, which then looks out of place.
Is there a trick to create macros, so that the inserted symbol matches 
the surrounding font?
I have tried all sorts of things, but could not yet find a solution.
It is not really a "problem", but such an automatic font adjustment 
would be nice/helpful.
Thank you.
Thomas
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
- [libreoffice-users] automatic font selection in macro · Thomas Blasejewicz
 
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.