On 05.06.2012 23:02, Fabio Sobral wrote:
Hi folks.

The company I work for has always used OpenOffice/LibreOffice to write
the software documentation. Recently I convinced everyone to switch to
TeX with LyX, so I've been working on a layout for us.
Now I'd like to add new buttons on the toolbar to perform simple
operations, like change the font family of the selected text to
typewriter, or insert a listing.
I know I can use keyboard shortcuts for pretty much everything, but we
have some clickers here and they are not comfortable with this solution.

You can customise the toolbars (see the content of the "ui" subfolder in LyX's preference folder). For instance, here is the content of my "customtoolbars.inc" file: one entry adds a "Bold" buttom, the other one a horizontall fill.

ToolbarSet

        Toolbar "custom" "Custom"
                Item "Horizontal fill" "space-insert hfill"
                Item "Bold" "font-bold"
        End

End

Check the wiki for more details:
http://wiki.lyx.org/LyX/UserInterface

Esp. the old stuff at the end for LyX 1.4 and 1.3 is interesting.

Best regards,

Olivier



Thanks in advance,

Fabio.


Reply via email to