Re: pseudocode
On 19/08/2016 13:38, Helge Hafting wrote: Den 17. aug. 2016 12:14, skrev Kiuhnm: I can't use math in listings and I don't like the monospaced font. The LyX-Code environment lets you indent with spaces, and you can use math freely. The monospaced font is merely a default, you can override it with a character style: Mark your algorithmic text, Edit->Text Style->Customized... Select Family:Roman or Family:Sans serif according to taste. If you write lots of such algorithms, then the way to go is a custom document class with LyX-Code redefined to the font you like. A custom class take some work to set up, compare to the work of changing the font on every algorithm. This will do! Thank you. Kiuhnm
Re: Forward search with Sumatra stopped working
On 18.08.2016 16:23, Cris Fuhrman wrote: When I upgraded/updated to LyX 2.2.0/2.2.1 forward search stopped working. I found that the syncTeX settings were hosed (maybe set to some defaults by the installer, maybe by reconfigure command?). I set them again following the instructions for Windows/Sumatra below, and forward/backward search work again: https://wiki.lyx.org/LyX/SyncTeX#toc2 Okay, I found the problem. My filename contains an apostrophe as in "isn't". Not sure when I changed that. For some reason Sumatra shows the file with the apostrophe without problems when viewing the PDF. But on forward search Sumatra complains that it can't find the PDF without the apostrophe. Not sure whether this is a problem on LyX's or Sumatra's side. (Or maybe mine because one shoudnt use apostrophes in filenames?) The same problem is in LyX 2.1.5. Daniel
Re: Forward search with Sumatra stopped working
On 18.08.2016 16:23, Cris Fuhrman wrote: When I upgraded/updated to LyX 2.2.0/2.2.1 forward search stopped working. I found that the syncTeX settings were hosed (maybe set to some defaults by the installer, maybe by reconfigure command?). I set them again following the instructions for Windows/Sumatra below, and forward/backward search work again: https://wiki.lyx.org/LyX/SyncTeX#toc2 Thanks. Unfortunately, setting all the preferences again didn't help. Daniel
Re: pseudocode
Den 17. aug. 2016 12:14, skrev Kiuhnm: I can't use math in listings and I don't like the monospaced font. The LyX-Code environment lets you indent with spaces, and you can use math freely. The monospaced font is merely a default, you can override it with a character style: Mark your algorithmic text, Edit->Text Style->Customized... Select Family:Roman or Family:Sans serif according to taste. If you write lots of such algorithms, then the way to go is a custom document class with LyX-Code redefined to the font you like. A custom class take some work to set up, compare to the work of changing the font on every algorithm. Helge Hafting