John
Reputation
728
Top tag
Next privilege 1,000 Rep.
See vote count; VIP usercard
 Mar27 comment Compute the x distance between two nodes @AlainMatthes Sorry, not quite: I would like to use both, `w minimum dist` and `h minimum dist` for a `node` at the same time, e.g. ` \node[rectangle,draw,left=0.2cm of wab.south east, anchor=south west,w minimum dist={a.west}{b.east},h minimum dist={b.south}{a.north}] (test) {test}; ` Depending on the order of your `minimum dist`-macros, the node will eventually be as wide as `w minimum dist` or as high as `h minimum dist`. Mar27 comment Compute the x distance between two nodes @AlainMatthes exactly! Many thanks :) Mar27 comment Compute the x distance between two nodes @AlainMatthes How one needs to change your approach to calculate the `minimum height`instead of `minimum width`? (I tried it by changing the name of the macro and changing the last line of your macro as following but failed: `\pgf@ya=\pgf@y} }, minimum height=\pgf@ya}`) Mar21 comment Top alignment of cell content in tabularx Maybe the easiest way. Feb8 comment Use function to scale x axis very nice approach! many thanks. Nov27 comment xticklabels misaligned @Jake There is one problem with your approach. If you lower the width to, for instance 6cm, the tick labels get to close/overlap. How must one change your code so that LaTeX only plots such a number of tick labels so that they do not overlap. (e.g. with `width=6cm` it would be better to have only `{42,44,...,1}` as `ticklabels`. Nov26 comment Changing enumeration of divisions to roman numbers The space seems to be larger than `\enspace` but it looks better now. Many thanks! Nov26 comment Changing enumeration of divisions to roman numbers I suppose that the distance between the number and the chapter's title is one space (`\thespecialchapter\ \fi#1`). Do know the exact spacing between the number and the title for the `chapter`-environment? Nov26 comment Using same margin-settings in acronym as in listoffigures Please see my comment to GonzaloMedina's answer. Nov26 comment Using same margin-settings in acronym as in listoffigures If one changes the `documentclass` the value of 1.5em may change. So instead of setting a fix value the might be the possibility to have a dynamic value: Is it possible to retrieve the indention from the `listoffigures`-environment so that the indention of my list of abbreviations will be always the same as in `listoffigures` no matter which changes will be made in the preamble? Nov26 comment Changing enumeration of divisions to roman numbers In the toc everything is numbered as I wanted it to be but the headings of `\listof...` remain unnumbered. I guess one must change the `\chapter*`-environment, so that these are numbered with roman numbers. How would it be possible to implement this in your code? Nov26 comment Changing enumeration of divisions to roman numbers One important note: one can write `\documentclass[liststotocnumbered,bibtotocnumbered]{scrbook}` to make lists as `listoffigures`, `listoftables` and `bibliography` appear in the toc numbered. As egreg mentioned all these lists are embedded in the `\chapter*`-environment. With `liststotocnumbered,bibtotocnumbered` LaTeX seems to change the environments of these list to `\chapter`. Therefor, to make egreg's approach feasible one must delete `liststotocnumbered,bibtotocnumbered`. Nov26 comment Package not found During installation I can change the folders where I would like to have them (e.g. /Applications/NewFolder). I thought that within TeXShop all paths/directories for packages will be set to this folder automatically. I installed everything again with default settings and now it works. Nov26 comment Package not found I have kind of the same problem as OP. A couple of days ago I installed the latest version of MaxTex (from tug.org/mactex). I chose to move everything which comes with the pkg-file to /Applications/MacTex/ (all packages are in the same folder). When I try to compile one of my tex-files I get the message: "/usr/texbin/pdflatex not found." This is where I found `pdflatex`: /Applications/MacTex/texlive/2012/bin/universal-darwin/pdftex. All this is a bit odd, since this should not happen according to the Max-Tex-FAQs (see AT.01) Nov22 comment The meaning of the percent sign in LaTeX coding @JosephWright You're right. You can close the thread (btw: can I close my threads myself?). When I typed in my question, tex.stackexchange.com/questions/7453/… did not appear as a possible answer. Nov21 comment Changing enumeration of divisions to roman numbers @egreg I tried to convince them that their idea of typography is wrong...whatever :-/ Nov21 comment Changing enumeration of divisions to roman numbers @DanielE.Shub Please see edit. I know, this makes hardly any difference but that's how it must be. My school told me so. Nov21 comment Changing enumeration of divisions to roman numbers @DanielE.Shub Sorry, my fault. All lists and chapters are of the same level. I took away the spacings. Hope it's clearer now. Nov9 comment Table caption Width Great approach (don't know why OP did not accept). However, getting the width of an object might be easy if your object is an imported file (png etc.). But when it comes to a `pgfplot`-generated object, how do you retrieve its dimensions? (Since some `pgfplots` needs a lot of code-lines it would be rather strange to insert the same code again into `autowidth` as its argument) Nov2 comment Different color for individual bar in bar chart & adding bar labels I saw the colour-approach but did not know how to adapt it to my problem. Many thanks!