Reputation
Top tag
Next privilege 250 Rep.
View close votes
Badges
8
Newest
 Teacher
Impact
~2k people reached

Jul
27
revised I want to embed plantuml diagram into lyx document
added info on PlantUML error messages in Windows
Jul
21
revised I want to embed plantuml diagram into lyx document
more about fonts and inkscape
Jul
21
revised I want to embed plantuml diagram into lyx document
more details about inkscape fonts
Jul
21
awarded  Teacher
Jul
21
answered I want to embed plantuml diagram into lyx document
Jul
19
comment Trying to achieve the Word equivalent of “style for following paragraph”
Thanks again for the advice. Now it seems it's not adequate because several exam environments have alternates for ItemCommand. The bonus feature from sec 4.6 applies to questions, parts, subparts, subsubparts, and it means you can have e.g. \question or \bonusquestion within questions environment. A similar situation arrives with choices environment which allows \choice and \CorrectChoice. I'm not seeing how this approach can allow this.
Jul
19
comment Trying to achieve the Word equivalent of “style for following paragraph”
@JSpitzm Indeed, I did a quick test and nesting as shown in sec 4.2 works, provided one 1) chooses Increase depth and 2) changes the layout to the appropriate nested style. It would be beneficial if LyX could get hints from the layout to aim the user in the right direction of the nesting hierarchy with a style sequence (e.g., if I'm in Questions and I do increase depth, LyX could automatically switch to Parts).
Jul
19
comment Trying to achieve the Word equivalent of “style for following paragraph”
I played with this and it's interesting (I was focusing too much on flex insets because of nesting). Even the "increase depth" could be useful. However, I can't see a way to customize a separate environment for the lower depth, which changes in exam.cls, e.g., questions > parts > subparts > subsubparts). I think I must use flex insets because of this constraint, although I should have put this in my question. Also, the choices environment can be nested anywhere within this hierarchy.
Jul
19
accepted Trying to achieve the Word equivalent of “style for following paragraph”
Jul
19
comment Trying to achieve the Word equivalent of “style for following paragraph”
@egreg I agree with your statement. However, LyX does repeat Enumerate styles and LyX is more like Word than TeX/LaTeX.
Jul
19
comment Trying to achieve the Word equivalent of “style for following paragraph”
Eight years ago, someone asked a related question at lyx-users.lyx.narkive.com/3RGUc265/… 'This looks (to my untrained eye) exacly like a LaTeX list, except with different words, replacing "item" with "choice".'
Jul
18
comment Trying to achieve the Word equivalent of “style for following paragraph”
@scottkosty I updated the question with the version of LyX. Enumerations work in the sense that if I do "alt + p, E" (for numbered list) it creates an Enumerate style, and after typing return I get a subsequent Enumerate style. This is the behavior I'm trying to reproduce with a .layout for arbitrary customized styles.
Jul
18
revised Trying to achieve the Word equivalent of “style for following paragraph”
added 175 characters in body
Jul
18
comment Trying to achieve the Word equivalent of “style for following paragraph”
@scottkosty "alt + p, <return>" does nothing when I'm on a Question as defined above. The message log for LyX says Alt+P Return Command disabled
Jul
18
asked Trying to achieve the Word equivalent of “style for following paragraph”
Jul
8
answered MiKTeX package manager: service unavailable
Jul
3
awarded  Critic
Jul
3
comment How to force LyX to convert a GraphViz file into a vector format
I just tried this with LyX 2.1.3 under Windows 8.1, GraphViz 2.28, with a simple DOT graph saved to sample.dot that I inserted with Insert > Graphics... The generated PDF (using Document > View [PDF (XeTeX)] was 2k in size, and when I zoomed in as far as I could in Acrobat Reader, the graph contents were vectorial.
Jul
3
comment I want to embed plantuml diagram into lyx document
I was able to get it to work under Windows, but it took a (much too) long time. The configuration with Java, PlantUML, GraphViz and lyx is very complex. Make sure you can get the .bat file working from the command line first, then make sure it is integrated into lyx.
Jun
30
awarded  Excavator