# -*- text -*-

# file sv_menus.bind
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.

# author unknown
# author Lars Gullik Bjønnes
# author Jean-Marc Lasgouttes
# author Allan Rae

# Full author contact details are available in file CREDITS.

# Key bindings for menus, both invisible and visible.

#
# Visible Menu access menu
#################################
# Menu key bindings for Swedish locale.
#
# Denna är avsedd för användning tillsammans med svensk lokalisering av LyX.
# Placeras i LYXDIR/bind, eller ~/.lyx/bind under namnet sv_menus.bind och
# laddas automatiskt av LyX i stället för menus.bind då LANG=sv
# Dessa bindningar kan krocka med andra bindningar; betrakta detta som ett
# prov. Observera att namnen på menyerna måste stämma med de översatta
# (File/Fil, Edit/Redigera osv.), för "menu-open"
# Wed Dec  9 17:15:45 GMT+0100 1998, Joacim Persson <sp2joap1@ida.his.se>
#
#

#
# Font size menu
#

Format 2

\bind "M-s t"			"font-size pytteliten"
\bind "M-s S-S"			"font-size mindre"
\bind "M-s s"			"font-size liten"
\bind "M-s n"			"font-size normal"
\bind "M-s l"			"font-size stor"
\bind "M-s S-L"			"font-size större"
\bind "M-s h"			"font-size störst"
\bind "M-s S-H"			"font-size störstare"

\bind "M-s 1"			"font-size pytteliten"
\bind "M-s 2"			"font-size minst"
\bind "M-s 3"			"font-size mindre"
\bind "M-s 4"			"font-size liten"
\bind "M-s 5"			"font-size normal"
\bind "M-s 6"			"font-size stor"
\bind "M-s 7"			"font-size större"
\bind "M-s 8"			"font-size störst"
\bind "M-s 9"			"font-size störstare"
\bind "M-s 0"			"font-size störstast"

\bind "M-s plus"		"font-size öka"
\bind "M-s minus"		"font-size minska"


#
# Alignment menu
#

#bind "M-a l"			"para-align left"	# Not yet implemented!
#bind "M-a r"			"para-align right"	# Not yet implemented!
#bind "M-a c"			"para-align center"	# Not yet implemented!
#bind "M-a b"			"para-align block"	# Not yet implemented!
#bind "M-a f"			"para-align block"	# Not yet implemented!
#bind "M-a d"			"para-align default"	# Not yet implemented!


#
# Paragraph style menu
#

\bind "M-p 1"			"layout Chapter"
\bind "M-p 2"			"layout Section"
\bind "M-p 3"			"layout Subsection"
\bind "M-p 4"			"layout Subsubsection"
\bind "M-p 5"			"layout Paragraph"
\bind "M-p 6"			"layout Subparagraph"
\bind "M-p a"			"layout Abstract"
\bind "M-p S-A"			"layout Author"
\bind "M-p M-a"			"layout Address"
\bind "M-p C-a"			"layout Right_Address"
\bind "M-p b"			"layout Itemize"	# bulleted list
\bind "M-p S-B"			"layout Bibliography"
\bind "M-p c"			"layout LyX-Code"
\bind "M-p S-C"			"layout Comment"
\bind "M-p d"			"layout Description"
\bind "M-p S-D"			"layout Date"
\bind "M-p e"			"layout Enumerate"	# numbered list
\bind "M-p f"			"layout ShortFoilhead"	# Foils!!
\bind "M-p S-F"			"layout Foilhead"	# Foils!!
\bind "M-p i"			"layout Itemize"	# bulleted list
\bind "M-p l"			"layout List"
\bind "M-p S-L"			"layout LaTeX"
\bind "M-p n"			"layout Enumerate"	# numbered list
\bind "M-p q"			"layout Quote"
\bind "M-p S-Q"			"layout Quotation"
\bind "M-p r"			"layout ShortRotatefoilhead"	# Foils!!
\bind "M-p S-R"			"layout Rotatefoilhead"	# Foils!!
\bind "M-p s"			"layout Standard"
\bind "M-p t"			"layout Title"
\bind "M-p x"			"layout LaTeX"
\bind "M-p space"		"drop-layouts-choice"
\bind "M-p S-at"		"layout Section*"	# M-p S-2
\bind "M-p S-dollar"		"layout Subsubsection*"	# M-p S-4
\bind "M-p S-numbersign"	"layout Subsection*"	# M-p S-3
\bind "M-p v"			"layout Verse"

\bind "M-p Left"		"outline-out"
\bind "M-p Right"		"outline-in"
\bind "M-p Up"			"outline-up"
\bind "M-p Down"		"outline-down"


#
# Character style menu
#

\bind "M-c b"			"font-boldsymbol"
\bind "M-c c"			"font-noun"
\bind "M-c e"			"font-emph"
\bind "M-c m"			"math-mode"
\bind "M-c p"			"font-typewriter"
\bind "M-c r"			"font-roman"
\bind "M-c s"			"font-sans"
\bind "M-c t"			"ert-insert"
\bind "M-c u"			"font-underline"

\bind "M-c Down"		"word-lowcase"
\bind "M-c Up"			"word-upcase"
\bind "M-c Right"		"word-capitalize"

\bind "M-c space"		"font-default"


#
# Keyboard menu
#

\bind "M-k 1"			"keymap-primary"
\bind "M-k 2"			"keymap-secondary"
\bind "M-k o"			"keymap-off"
\bind "M-k t"			"keymap-toggle"
\bind "M-k x"			"keymap-off"