1 ### This file is part of
2 ### =====================================================
4 ### LyX, the High Level Word Processor
6 ### Copyright 1995-1997 Matthias Ettrich & the LyX Team
8 ### =====================================================
10 # The file lyxrc.example is a template to write your own lyxrc file.
11 # If you copy/rename it to lyxrc in the current directory, it will
12 # give global options for all LyX users. It is also possible to copy
13 # this file to $HOME/.lyx/lyxrc so that the configuration applies to a
16 # Several of these settings have defaults that are auto-detected when you use
17 # the menu option Options->Reconfigure. You can see their value by looking at
18 # the file $HOME/.lyx/lyxrc.defaults. Any setting in this file will override
22 # BIND SECTION ###########################################################
25 # Before defining your own key-bindings, select one of the available default
26 # binding sets. These are resource files (like this one) that define a
27 # large set of (keyboard) bindings. These files live in bind directory of
28 # the LyX system directory and have in general the .bind suffix.
29 # Currently, you can choose from the following flavors:
31 # cua.bind for Windows-, Mac- and Motif-like bindings
32 # emacs.bind for Emacs-like bindings.
34 # The \bind_file command looks in the LyX bind directory for a file
35 # of the given name, but a full path can also be given. If you have
36 # a bind file in your ~/.lyx/bind/ directory, it will be preferred
37 # over a system wide bind file. Default is `cua'.
42 # Based on the default, you can now change part or all of it with the
43 # \bind command. For example, when you want the delete key to do the
44 # backspace action, uncomment the following line:
45 #\bind "Delete" "delete-backward"
47 # However, if you're not at all happy with the default bindings,
48 # the most logical thing to do would be to use one of the system
49 # wide bind files as a template and place your own version in
50 # ~/.lyx/bind/mine_is_best.bind and change the above \bind_file
52 #\bind_file mine_is_best
54 # By default, LyX takes over the handling of the dead keys (or accent
55 # keys) that may be defined for your keyboard. While this allows you
56 # to enter characters that would not be normally available, some
57 # people dislike the different behaviour. You can use raw dead keys by
58 # just uncommenting the next line
59 #\override_x_deadkeys false
61 # Tip: Use "lyx -dbg 4" to survey how LyX interprets your keybindings.
65 # MISC SECTION ###########################################################
68 # Set this to false if you don't want the startup banner.
72 # Set to false if you don't want the current selection to be replaced
73 # automatically by what you type. Default is true.
74 #\auto_region_delete false
76 # This is the time interval between auto-saves (in seconds).
77 # 0 means no auto-save, default is 300 for five minutes.
80 # LyX asks for a second confirmation to exit if you exit with changed
81 # documents that you don't want to save. You can turn this confirmation off
82 # (LyX will still ask to save changed documents) with the following line.
83 # We recommend to keep the confirmation, though.
84 #\exit_confirmation false
86 # This sets the behaviour if you want to be asked for a filename when
87 # creating a new document or wait until you save it and be asked then.
88 # The default for now is ask on save.
89 # \new_ask_filename false
91 # LyX continously displays names of last command executed, along with a list
92 # of defined short-cuts for it in the minibuffer.
93 # It requires some horsepower to function, so you can turn it off, if LyX
94 # seems slow to you, by uncommenting this line:
95 #\display_shortcuts false
97 # \view_dvi_paper_option allows to specify a paper option to the dvi
98 # viewer. By default LyX specifies the paper size of the document to
99 # the dvi viewer via the command line option -paper size, where size
100 # is one of "us","letter","a3","a4" and so on. The command
101 # \view_dvi_paper_option allows the user to overwrite the name of the
102 # command line flag, i.e. replace -paper with something else. If
103 # specified and left empty, i.e. \view_dvi_paper_option "", LyX does
104 # not append the -paper option to the dvi command at all. This case is
105 # especially useful when viewing your documents on Windows with yap,
106 # because yap does not allow a command line option for the paper size.
107 #\view_dvi_paper_option ""
109 # LyX assumes that the default papersize should be usletter. If this is not
110 # true for your site, use the next line to specify usletter, legal,
111 # executive, a3, a4, a5, or b5 as the default papersize.
112 #\default_papersize "a4"
114 # Define which program to use to use as postscript interpreter for included
116 # You can not include any options. The default is "gs" if it can be found.
117 # If you have a slow computer, you should consider turning off the WYSIWYG
118 # display of includes images, by using this command:
121 # Define which program to use to run "chktex".
122 # You should include options that turn different warnings on and off.
123 # Default is "chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38"
124 # Check the ChkTeX documentation for info on what the flags mean.
125 # Example: use this to ignore warnings about using "\ldots" instead of "..."
126 #\chktex_command "chktex -n11 -n1 -n3 -n6 -n9 -22 -n25 -n30 -n38"
128 # Keyboard Mapping. Use this to set the correct mapping file for your
129 # keyboard, that is if you need one. You'll need one if you for instance
130 # want to type German documents on an American keyboard. In that case,
131 # uncomment these three lines:
133 #\kbmap_primary german
134 #\kbmap_secondary american
135 # The following keyboards are supported: american, czech, francais,
136 # french, german, german-2, magyar, magyar-2, portuges, romanian,
137 # slovak, slovene, transilvanian, turkish and turkish-f. Check
138 # the lib/kbd directory if you want to write support for your language.
139 # If you do, please submit it to lyx-devel@lists.lyx.org.
141 # The Pause button is defined to be a three-way switch between primary
142 # keyboard, secondary keyboard, and no keyboard mapping with the
143 # following command. It is useful if you want to write in a language
144 # not directly supported by your keyboard and you have defined a
145 # custom keyboard mapping above.
146 #\bind "Pause" "keymap-toggle"
148 # This starts the lyxserver. The pipes get an additional extension
149 # '.in' and '.out'. Only for advanced users.
150 # \serverpipe "/home/chb/.lyxpipe"
152 # Which command to use to invoke the reLyX script to convert
153 # LaTeX files to LyX files. This setting is automatically
154 # disabled if you do not have the appropriate Perl version
155 # installed. In that case, the File->Import LaTeX command
156 # will be disabled. If the reLyX command does work for you,
157 # you can override that here by uncommenting this line:
158 #\relyx_command "reLyX"
160 # If it doesn't work, you can disable the command by uncommenting
162 #\relyx_command "none"
164 # Default format string for the date-insert command
166 # This accepts the normal strftime formats; see man strftime for full
167 # details of the format.
169 #\date_insert_format "%A, %e. %B %Y"
172 # SCREEN & FONTS SECTION #################################################
175 # DPI (dots per inch) of your monitor is auto-detected by LyX. If that goes
176 # wrong, you can override the setting here:
179 # The zoom percentage for screen fonts.
180 # A setting of 100% will make the fonts roughly the same size as on paper.
181 # However, since a screen is wider than a piece of paper, the default setting
185 # The wheel movement factor (for mice with wheels or five button mice)
186 # Default is 100, about a page down. A value of 10 give me about a line and
190 # LyX normally doesn't update the cursor position if you move the scrollbar.
191 # If you scroll the cursor off the screen and then start typing LyX will
192 # move you back to where the cursor was. If you'd prefer to always have the
193 # cursor on screen, bounded by the topmost and bottommost visible lines
194 # -- much like XEmacs for example -- then uncomment the next line.
195 #\cursor_follows_scrollbar true
197 # The screen fonts used to display the text while editing
199 #\screen_font_roman "-*-times"
200 #\screen_font_sans "-*-helvetica"
201 #\screen_font_typewriter "-*-courier"
203 # For some, this font looks better:
204 #\screen_font_roman "-*-utopia"
206 # Allow the use of scalable screen fonts? Default is true.
207 # If you choose "false", LyX will use the closest existing size for a match.
208 # Use this if the scalable fonts look bad and you have many fixed size fonts.
209 #\screen_font_scalable false
211 # Tip: Run lyx as "lyx -dbg 512" to learn which fonts are used.
213 # The norm for the screen fonts. The default is iso8859-1, which is
214 # the same as what LaTeX calls latin1.
215 #\screen_font_encoding iso8859-2
217 # The font for popups. It is set to
218 # <font_popup>-*-*-*-?-*-*-*-*-<font_encoding>.
220 #\screen_font_popup "-*-helvetica-medium-r"
222 # The font for menus (and groups titles in popups). It is set to
223 # <font_menu>-*-*-*-?-*-*-*-*-<font_encoding>.
225 #\screen_font_menu "-*-helvetica-bold-r"
227 # The font sizes used for calculating the scaling of the screen fonts.
228 # You should only have to change these if the fonts on your screen look bad,
229 # in which case you can fine tune the font selection size by size. LyX selects
230 # font size according to this table, the monitor DPI setting and the current
233 #\screen_font_sizes tiny smallest smaller small normal large larger largest huge huger
235 # This is the default in LyX (exactly what LaTeX does):
236 #\screen_font_sizes 5.0 7.0 8.0 9.0 10.0 12.0 14.4 17.28 20.74 24.88
238 # To change the colors for footnotes:
239 #\set_color footnote green
240 # for mathed you may also want to change the coloring of lines and brackets:
241 #\set_color math yellow
242 #\set_color mathlines yellow
245 # UI SECTION ########################################################
248 # Choose your UI (user interface) definition here. The .ui files are in the
249 # directory "lib/ui" and contains the definition of the menu and the toolbar.
253 # PRINTER SECTION ########################################################
256 # The default printer to print on. If none is specified, LyX will use
257 # the environment variable PRINTER. If that fails, the default is empty.
260 # If you have setup (as we recommend you to do) your print program
261 # (e.g. dvips) to take advantage of the particularities of the various
262 # printers you have access to, then you should set the following to
263 # true. Then LyX will pass the name of the destination printer to your
265 # The default is false, because we have unfortunately to cope with
266 # people who refuse to take the time to configure their system.
267 # Note that you will probably have to change \print_spool_command below.
268 #\print_adapt_output true
270 # If you don't use dvips, you may specify your favorite print program
271 # here. See other options at the end of this section to adapt LyX to
272 # your print program.
273 #\print_command dvips
275 # Extra options to pass to printing program after everything
276 # else, but before the filename of the DVI file to be printed.
277 #\print_extra_options ""
279 # When set, this printer option automatically prints to a file
280 # and then calls a separate print spooling program on that file
281 # with the given name and arguments.
282 # This is set by default to 'lp' or 'lpr', depending on what your
284 # Set this to "" if you have set up dvips so that it sends
285 # output to the right printer (remember to also use \print_adapt_output).
286 #\print_spool_command ""
288 # If you specify a printer name in the print dialog,
289 # the following argument is prepended along with the printer name
290 # after the spool command. The default is autodetected, along with
291 # \print_spool_command determination.
292 #\print_spool_printerprefix ""
294 # Other print related options
296 # The following options are only of interest to people who do not
297 # use dvips as print command. You may safely skip to the end of this
300 # These specify the options to pass to the printer program to select the
301 # corresponding features. These default to the options used for the dvips
302 # program. Look at the man page for your favorite print program to learn
303 # which options to use.
304 # Normally you don't need to change this unless you use something other
306 #\print_evenpage_flag -B
307 #\print_oddpage_flag -A
308 #\print_reverse_flag -r
309 #\print_landscape_flag "-t landscape"
310 #\print_pagerange_flag -pp
311 #\print_copies_flag -c
312 #\print_collcopies_flag -C
313 #\print_paper_flag -t
314 #\print_paper_dimension_flag -T
316 # Option to pass to the print program to print on a specific printer.
317 #\print_to_printer -P
319 # Option to pass to the print program to print to a file.
322 # Extension of printer program output file. Usually .ps
323 #\print_file_extension .ps
325 # Sample configuration to use with dvilj4 for a HP Laserjet IV (or
326 # better) printer [provided by Reuben Thomas <rrt@sc3d.org>]:
327 #\print_command dvilj4
328 #\print_extra_options -q
329 #\print_evenpage_flag "-D2 -r"
330 #\print_oddpage_flag -D1
331 #\print_reverse_flag -r
332 #\print_landscape_flag -l
333 #\print_pagerange_flag -p
335 #\print_file_extension .lj
336 #\print_copies_flag -c
337 #\print_collcopies_flag -c
338 #\print_adapt_output false
341 # EXPORT SECTION ########################################################
344 # The \converter command defines a converter between two formats.
345 # LyX uses the defined converters for generating output in varius formats.
346 # The converter command has 4 arguments: The source format, the target format,
347 # the command, and additional flags.
348 # For example, the following defines a DVI->Postscript converter:
349 #\converter dvi ps "dvips -o $$OutName $$FName" ""
350 # The variable name $$FName is replaced with the name of the source file,
351 # and $$OutName is replaced with the name of the target file.
352 # The flags argument is a list of comma separated flags.
354 # - originaldir : The converter must be invoked in the directory of the lyx
355 # file and not in the temporary directory. This is needed for tex->html
356 # converters in order to be able to read the eps files.
357 # - needaux : The converted uses the .aux file, so we need to call latex
358 # before running the converter.
359 # - resultdir=dir : The converter put all the files in dir.
360 # Using "resultdir" is same as "resultdir=$$Basename".
361 # Note: When exporting, the whole directory will be moved from the temporary
362 # directory to the target directory.
363 # - resultfile=file : Name of main file in the result directory, for example
364 # "index.html" or "$$BaseName.html"
365 # If "resultfile" is omitted, the name of this file is assumed to be
368 # \converter tex html "latex2html -split 0 $$FName"
369 # "originaldir,needaux,resultdir"
371 # The \viewer command is used to define viewers for new file-formats,
372 # or to change the already defined viewers.
373 # For example, to use xdvi as the viewer to dvi files use
375 # It can get more involved. Expert users might prefer something like:
376 #\viewer dvi "xdvi -s 2 -expert -geometry 1014x720+0+0 -keep -margins 1.5"
379 # TEX SECTION ###########################################################
382 # The font encoding used for the LaTeX2e fontenc package.
383 # T1 is highly recommended for non-English languages. LyX uses T1 as a
384 # default if you have the ec fonts installed on your system.
386 # Choose "default" if T1 doesn't work for you for some reason:
387 #\font_encoding default
390 # LINUXDOC SECTION #######################################################
393 # The LinuxDoc to LyX converter
394 #\linuxdoc_to_lyx_command "sgml2lyx"
397 # FILE SECTION ##########################################################
400 # The default path for your documents.
402 #\document_path ~/Documents/
404 # The file where the last-files information should be stored.
405 # Default is ~/.lyx/lastfiles
406 #\lastfiles ~/.lyx_lastfiles
408 # Maximal number of lastfiles. Up to nine can appear in the file menu.
412 # Flag telling whether the lastfiles should be checked for existence.
413 # Files that does not exist are left out of the lastfiles entries.
414 # Default is true. If you use slow or removable media, such as networks
415 # or floppy disks, you can speed up the starting time of LyX by disabling
417 #\check_lastfiles false
419 # The path that LyX will set when offering you to choose a template.
420 # Default is (System LyX dir)/templates
421 #\template_path ~/.lyx/templates
423 # The path that LyX will use to put temporary TeX outputs.
424 # Default is /tmp/<unique directory for each instance of LyX>
425 # containing <unique subdirectory for each buffer>
426 # If you set it, it will be /directory/<unique subdirectory for each buffer>
427 # (unless set to /tmp).
428 #\tempdir_path /usr/tmp
430 # If you set this flag, LyX will always use a temporary directory
431 # to put TeX outputs into. It is enabled by default.
432 # This directory is deleted when you quit LyX.
433 # You might want to avoid using a temporary directory in several
435 # - LaTeX cannot find some files it needs;
436 # - you have a large number of include files, and you get messages
437 # saying that some LaTeX buffers overflow.
438 # Note that, even if tell LyX not to use a temporary directory, there
439 # will be cases where it will be forced to: this happens for example
440 # when typesetting a file in a read-only directory (documentation).
443 # This is the maximum line length of an exported ASCII file (LaTeX,
444 # SGML or plain text). Default is 75.
447 # Set to false if you don't want LyX to create backup files.
451 # The path for storing backup files. If it is the empty string, LyX will
452 # store the backup file in the same directory of the original file.
454 #\backupdir_path "~/Desktop/Trash/"
458 # FAX SECTION #############################################################
461 # In the following, the <$$something> strings are substituted by
462 # reasonable values by LyX. The 's are important as there may be spaces in
463 # the string. The default is auto-detected.
464 # This one is what is used with HylaFax:
465 #\fax_command "sendfax -n -h '$$Host' -c '$$Comment' -x '$$Enterprise' -d '$$Name'@'$$Phone' '$$FName'"
466 # Use this for the efax-command:
467 #\fax_command "faxsend '$$Phone' '$$FName'"
469 # This is the name of your phone book. It's per default situated in ~/.lyx/,
470 # but you can override that with an absolute path.
471 #\phone_book phonebook
473 # This is how to call an external FAX-program instead of the built-in.
474 # You may also insert $$FName to reference the PostScript file.
475 #\fax_program "myfaxprg '$$FName'"
476 #\fax_program tkhylafax
479 # ASCII EXPORT SECTION ###################################################
482 # The following entry can be used to define an external program to
483 # render tables in the ASCII output. If you specify "none", a simple
484 # internal routine is used. The default is auto-detected.
485 # The following line will use groff and output using latin-1 encoding
486 # (here $$FName is the input file and the output goes to stdout):
487 #\ascii_roff_command "groff -t -Tlatin1 $$FName"
490 # SPELLCHECKER SECTION ####################################################
493 # What command runs the spell checker? Default is "ispell" if it is
494 # installed, "none" otherwise.
495 # If you have aspell (http://metalab.unc.edu/kevina/aspell/)
496 # installed and configured, you might want to uncomment the line below.
497 #\spell_command aspell
499 # Consider run-together words, such as "notthe" for "not the", as legal
500 # words? Default is false.
501 #\accept_compound true
503 # Specify an alternate language. The default is to use the language of
504 # document. Uncomment both to enable.
505 #\use_alt_language true
506 #\alternate_language dansk
508 # Specify additional chars that can be part of a word.
509 #\use_escape_chars true
510 #\escape_chars "æøåÆØÅ"
512 # Specify an alternate personal dictionary file. If the file name does not
513 # begin with "/", $HOME is prefixed. The default is to search for a personal
514 # dictionary in both the current directory and $HOME, creating one in $HOME
515 # if none is found. The preferred name is constructed by appending ".ispell_"
516 # to the base name of the hash file. For example, if you use the English
517 # dictionary, your personal dictionary would be named ".ispell_english".
518 #\use_personal_dictionary true
519 #\personal_dictionary .ispell_dansk
521 # Specify whether to pass the -T input encoding option to ispell (only if the
522 # language is different than "default".) Enable this if you can't spellcheck
523 # words with international letters in them. There have been reports that this
524 # does not work with all dictionaries, so this is disabled by default.
525 #\use_input_encoding true
529 # LANGUAGE SUPPORT SECTION ####################################################
532 # Set to true to enable support of right-to-left languages (e.g. Hebrew,
533 # Arabic). Default is false.
536 # The latex command for loading the language package.
537 # Default is \usepackage{babel}.
538 #\language_package "\usepackage{omega}"
540 # The latex command for changing the from the language of the document
541 # to another language. $$lang is substituted by the name of the second
542 # language. Default is \selectlanguage{$$lang}.
543 #\language_command_begin "\begin{otherlanguage}{$$lang}"
545 # The latex command for changing back the language to the language of
546 # the document. Default is \selectlanguage{$$lang}.
547 #\language_command_end "\end{otherlanguage}"
549 # Set to false if a language switching command is needed at the beginning of
550 # the document. Default is true.
551 #\language_auto_begin false
553 # Set to false if a language switching command is needed at the end of
554 # the document. Default is true.
555 #\language_auto_end false
557 # Set mark_foreign_language to "false" to disable the highlighting of words
558 # with a foreign language to the language of the documet.
560 #\mark_foreign_language false
563 # HEBREW SUPPORT SECTION ####################################################
566 # To enable the Hebrew support, uncommnet the following lines:
570 #\kbmap_secondary hebrew
571 #\latex_command elatex
572 #\font_encoding default
574 # You also need to bind a key for switching between Hebrew and English.
576 #\bind "F12" "language hebrew"
578 # You might want ot disable the foreign language marking:
579 #\mark_foreign_language false
581 # Finally, you need to select iso8859-8 font encoding, and select screen fonts
582 # (below are the default fonts. You need to replace them by Hebrew fonts)
583 #\screen_font_encoding iso8859-8
584 #\screen_font_roman "-*-times"
585 #\screen_font_sans "-*-helvetica"
586 #\screen_font_typewriter "-*-courier"
587 #\screen_font_popup "-*-helvetica-medium-r"
588 #\screen_font_menu "-*-helvetica-bold-r"
591 # ARABIC SUPPORT SECTION ####################################################
594 # To enable the Arabic support, uncommnet the following lines:
598 #\kbmap_secondary arabic
600 # You also need to bind a key for switching between Arabic and English.
602 #\bind "F12" "language arabic"
604 # If you use arabtex, uncomment the following lines
605 #\language_auto_begin false
606 #\language_auto_end false
607 #\language_command_begin "\begin{arabtext}"
608 #\language_command_end "\end{arabtext}"
609 #\language_package "\usepackage{arabtex,iso88596}\setcode{iso8859-6}"
611 # Finally, you need to select iso8859-6.8x font encoding,
612 # and select screen fonts.
613 # iso8859-6.8x fonts can be found at
614 # http://www.langbox.com/AraMosaic/mozilla/fontXFE/
615 #\screen_font_encoding iso8859-6.8x
616 #\screen_font_encoding_menu iso8859-1
617 #\screen_font_roman "-*-naskhi"