LyX ⇒ em dash representation in an edit tab
em dash representation in an edit tab
UserGuide 3.9.1 Hyphens says that em dash can be generated by inserting three dashes in a row: --- . While it looks fine in xdivk, it still looks quite ugly in the edit view: --- . Is there a way to make it look right? Without doing a lot of clicks, that is.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
em dash representation in an edit tab
~/.lyx/bind/MyShortcuts.bind:
Code: Select all
# include one of the basic flavours (cua or emacs)
\bind_file "cua"
# add your own bindings (overwriting the included ones)
\bind "C-j" "unicode-insert 0x2014" # insert em dash
\bind "C-h" "inset-insert vspace defskip" # insert vertical space (default skip)