Answer by MS-SPO for Writing nuclear reactions without the mhchem package
Here's a way to do it, peeked at and adapted from the nuc package.\documentclass[10pt,a4paper]{article}\usepackage{ifthen}\newcommand{\nuc}[3]{\ensuremath{{}^{#2}_{#3} \textrm{#1}}}\begin{document}$...
View ArticleAnswer by MS-SPO for Writing nuclear reactions without the mhchem package
Here's an approach using Tikz, if you like. It's a bit more tedious, but gives you access to all those neat options. Here, for example, I put the nuclear objects as text colored in teal (fixed, no...
View ArticleAnswer by MS-SPO for Where is the origin of coordinates in tikz
There are some aspects you should be aware of, in no particular order. First let's see the screenshot of the code below.(1) The white triangles are from your macro, with some differences in the code...
View ArticleAnswer by MS-SPO for Can one generate a 'boxed polar plot' with pgfplots and...
Here's a way to do it manually with Tikz. By intention I left it in its rudimentary form, i.e. without any paramaters to adjust to:to show, what actions have to be doneto indicate, what kind of...
View ArticleAnswer by MS-SPO for exam class: put a horizontal line under each question
If you look into exam.cls you'l see it varies formats of output a lot, depending on context, options etc.This sometimes gives surprising results. E.g. the natural approach to wrap everything into a...
View ArticleAnswer by MS-SPO for Putting tikzpictures next to each other
There are several ways to do it. Here I show you one using \hspace{\stretch{1}}.But first, there are some problems with your code affecting typesetting:LaTeX type-sets a blank line as a new line, like...
View ArticleAnswer by MS-SPO for Position of ion charges
Something like this? If so, you missed almost all {}, which are vital for macro-processing.\documentclass{article}\usepackage{chemmacros}\begin{document} \ch{CH3COOH\aq{} + H2O\lqd{} <=>...
View ArticleAnswer by MS-SPO for Curves interpolation
Here's a way to do it. Keys:removing unecessary code from your examplereplacing -- by to[out=,in=]putting an intermediate point for the blue curveputting labels at the end of each curve with a few...
View ArticleAnswer by MS-SPO for dashed line in tikz
Here's a way to do it.Especially when you are a beginner in Tikz I suggest to do it step-by-step, see my numbers in the comments, and move from imperfect to fine (enough).Some remarks which go beyond...
View ArticleAnswer by MS-SPO for TikZ datavisualization unable to read from file
Here are some ways to do it with Tikz' datavisualization.(1) Making it workThe visualizer you choose seems to live in the xy-world. So to define a datapoint, as layed out in the pgfmanual, you need to...
View ArticleAnswer by MS-SPO for TikZ data visualization fails to load data from file
FYI, there may have been updates meanwhile, so your original code and data (with header) compiles just fine. But see also an other example on data...
View ArticleAnswer by MS-SPO for ER diagram with empty boxes as a worksheet
Here's a way to do it, once tikz-er2.sty is downloaded e.g. into the documents directory, from github.Some remarks:I reduced code-noise beforehand ;-)use the shapes.callouts library (and look it up in...
View ArticleAnswer by MS-SPO for ER diagram with empty boxes as a worksheet
Here's the second version, using \TextField[options}{} from package hyperref.For further configurations see Ch. 9 in its manual, e.g. to change border colors. (You may also want to set inner sep=0pt...
View ArticleAnswer by MS-SPO for How to add text to a summary section?
Here's a way to do it. A few comments:one idea was defining a new environment; however using it is clumsy AND for some reason it didn't like an argument, like #3, in its end-partso I introduced...
View ArticleHow to turn, say the x-axis, into an ordinal axis with x-data as textual...
BackgroundAssume you have data like these in the data-section of datavisualization, which could also come from a file, date,birds 30/10/2023,1200 02/10/2023,1229...or species,birds spec4,1200...
View ArticleAnswer by MS-SPO for LaTeX Googe AI apparently halucinating about package...
Does anyone know where Google took the information on this package from, and if even this specs do exists?No, but here are some hints.At the ChatGPT level these AI tools are language models, not...
View ArticleAnswer by MS-SPO for How to turn, say the x-axis, into an ordinal axis with...
I found a solution using and adapting Jake's solution from 2013. Key points:most things happen in statement x axis={..., ticks={...it calls a typesetterit styles the nodes for the labels (rotate...
View ArticleAnswer by MS-SPO for Simple Line-Plot with date on x-axis
Here is a solution using the tikzlibrary datavisualizer. Some remarks:it uses Jakes approach from 2013 to store and retrieve "date" in a global listdatavisualizer needs a format translator, dateX herem...
View ArticleAnswer by MS-SPO for Y axis can not be set to logarithmic scale
Besides the data problem Huang_d pointed out I suggest a number of changes, mainly driven by making the visual messages more evident. Major points:delete data with 0 values, both in x and y, as both...
View ArticleAnswer by MS-SPO for How to draw a curve with the date on the abscissa?
Here are two versions, one as read from file, the other from the data section, with same result.read from file\documentclass[10pt,border=3mm,tikz]{standalone}\usetikzlibrary{datavisualization} %%...
View ArticleAnswer by MS-SPO for problem of preparing a cycle using tikz in latex
Here's a starting point for you. It's unfinished, because:I can't retrieve everything from your codeit tries to show you the stepwise iterative refinementso it stops at something that could be a new...
View ArticleComment by MS-SPO on Drawing sphere with 6 points using TiKz
Fine :) Successful Tikzing and texing ;-)
View ArticleAnswer by MS-SPO for How do I change the page size for a pdf-file generated...
SolutionThe solution is already (almost) there: compiling with pdftex. According to its User Manual all that's needed to be done is adding required pdf-primitives:% setting pdf-page parameters...
View ArticleHow do I change the page size for a pdf-file generated by plain-TeX?
Situation, probably knownI know the pdf-page-size can be changed in LaTeX using package geometry. But how to do it in plain-TeX?E.g. changing page related parameters, like \vsize or \hoffset, do...
View ArticleComment by MS-SPO on How would one graph this
Better. However, your code can't compile as the preamble is missing. Assuming this code compiles, it will show something ... but how should we know it is or isn't what you wanted? Please add what's...
View ArticleComment by MS-SPO on large white area under the table using xtabular
To support, you may want to run your posted code through this process: tex.meta.stackexchange.com/questions/228/…
View ArticleComment by MS-SPO on Draw logic symbol for a half-adder and a 4-bit...
Welcome. // Without code you have to rely on our telepathic skill …😉
View ArticleComment by MS-SPO on Draw arrow between two points in a list in TikZ
Welcome. // Please see one possible solution below. // Please make it a habit, to post only code, which compiles - yours doesn't : saves a lot of time and answers questions by itself, i.e. reduces...
View ArticleAnswer by MS-SPO for Need help with a timeline using Tikz
SolutionHere are a few things, you could do, and there may be more. A few remarks:added some missing partsreduced code noise for my eyes ;-)for some reason the every node statement caused trouble, so I...
View ArticleAnswer by MS-SPO for using faktor package in a Lyx document
Did you follow the suggestion to learn and compile some LaTeX outside LyX? Makes things much easier for you ...Here's one way to do it.Developing with LatexThis is how it looks like in Latex. Key...
View ArticleAnswer by MS-SPO for Typesetting using TeX in the long run
You assume many if's to be true, e.g.:(then ancient) hardware is still available in 2124it still worksa suitable TeX version is still availabledata can still be read, i.e. didn't disappearpeople still...
View ArticleAnswer by MS-SPO for Draw arrow between two points in a list in TikZ
Here are two different approaches for you.Motion 1Why don't you show just the dots? It already visualizes motion. To do so, just place nodes with empty text \node[dot] at (\x,.5) {}; inside the...
View ArticleComment by MS-SPO on using faktor package in a Lyx document
@UdiFogiel, you are right, and the main reason was this: tex.stackexchange.com/questions/716204/… ;-)
View ArticleComment by MS-SPO on Missing part of curve
Interesting. // Can you please show at least the relevant part of your code, where enlargelimits are inserted? Will make life easier for furure readers. Thank you
View ArticleComment by MS-SPO on boxplot scaling
Welcome. // Please make your code compile, e.g. add at least the relevant preamble. Thank you
View ArticleComment by MS-SPO on How to draw a round corner non orthogonal line in TikZ...
Welcome. // Suggestions: post your code, read the pgfmanual, search here for \draw.
View ArticleComment by MS-SPO on How to draw a round corner non orthogonal line in TikZ...
For a prefect answer the posted code also would compile ;-)
View ArticleComment by MS-SPO on Number Cards with wavey edges, and shadows behind them
If I recall correctly, you can achieve this by the decoration library. Howver, it slows down or even aborts compilation, to my experience ...
View ArticleComment by MS-SPO on LaTeX infinite page height
If I understand correctly the OP wants a kind of switch between documentclasses (defined and unlimited length). So far solutions seem to offer either-or, but not both ... // A solution could be to...
View ArticleAnswer by MS-SPO for TikZ: Glow for rectangular node
Not really. Let's have a look at the manual:So what you can do is trying to pretend some kind of glow by adding a general shadow. If you select scale and fill color carefully, it comes quite close.You...
View ArticleAnswer by MS-SPO for boxplot scaling
Because you can't switch to logarithmic scale here, I suggest to do some kind of split drawing, like shown below. Remarks:copied your monolithic axis into 3 individual onesput each insied a scope, e.g....
View Article
More Pages to Explore .....