I added the following keyboard customisations to the default set. The keys were chosen with the aim of (1) being consistent with other programs, and (2) not conflicting with existing shortcut keys.
- Find Next: Ctrl+PageDown
- Find Previous: Ctrl+PageDown
- Navigation Items - Go to: Ctrl+Shift+D
- Window - Close: Ctrl+Shift+W
- Find in Files: Ctrl+Shift+F
- Select Output Profile: F12
- Tools - Windows Explorer: Ctrl+Shift+E
Document navigationThe following are some strategies that can be used to facilitate document navigation in TeXnicCenter.
Structure, Objects, Files
Press one of the following keys, then navigate to the target, and press Ctrl+Shift+D (requires prior shortcut).
- Activate Structure: Ctrl+G
- Activate Objects: Ctrl+U
- Activate Files: Ctrl+D
2. Get to target by typing identifying letters or combine semi-identifying letters with additional Ctrl+I or Ctrl+Shift+I
4. To remove selection: Movement key or Ctrl+I Enter
Variant on Incremental Search
1. Highlight Text
2. Ctrl+F Esc
3. Find Next or Find Previous (F3 and Shift+F3; or Ctrl+PageUp and Ctrl+PageDown with my modified short cut keys)
Getting an overviewStructure View
TeXnicCenter has Structure View.
It shows heading titles down to the
It shows tables and figures in floats and separated equations.
Ctrl+G activates Structure View.
Double clicking or using a shortcut can take you to the corresponding location in tex source.
Left, Right, Up, and Down serve navigational purposes
One frustrating element is that pressing Ctrl+G when in tex source, does not take you to the corresponding location in the Structure View. Thus, if you are trying to get a sense of where you are in the structure, you need to navigate to the location.
A second frustration is that you can't control how the Structure View is displayed. It is not possible to expand all headings. It is not possible to show a given depth. It is not possible to add custom tags.Note: I've since discovered that WinEdt supports these features.
SpellingTo download a dictionary in a language other than US English (i.e., Australian English)
- Download a dictionary from from: Open Office
- Copy unzipped dictionary files into the "Language" folder of your TeXnicCenter Installation. e.g., "C:\Program Files\TeXnicCenter\Language".
Working on two files
It is sometimes useful to be able to work on two *.tex files at the same time. For example, I may be in Chapter 2 citing a reference in Appendix C. Thus, I'll have both chapter2.tex and appendix3.tex open. I achieve this effect by:1. While in one of the files (e.g., chapter2.tex): Window - Close all but Active
2. Window - Open the other desired File (e.g., appendix3.tex)
3. Window - Tile Vertically
Window LayoutOn a 24 inch monitor I have the left two-thirds of the monitor with TeXnicCenter and the right one-third of the monitor with Yap.
When learning to write in LaTeX, it is important to make repetitive tasks efficient.Edit-Build-Check-Edit Cycle:
1. Build Output: Ctrl+F5 in TeXnicCenter:
2. Show LaTeX source in TeXnicCenter using Inverse Search: E-Key in Yap or Double click on document;
It can be useful to show source links so that it is clear where the cursor will go when you activate inverse search. (in Yap: Options - User Interface - Show source links). Double clicking on one of the circles overlaid by Yap tends to return the cursor to a specific expected location.3.
Return Focus to TeXnicCenter
Several options exist:
(a) Close Yap (q)
(b) Use mouse to select TeXnicCenter
(d) Use an AutoHotKey Script: I set up a script using AutoHotKey that toggles between TeXnicCenter and Yap.
; Script toggles focus between Yap and TeXnicCenter
;Script assumes both are open
;and that only one copy is open
#1:: ;Windows+1 is a shortcut key
if WinActive, TeXnicCenter