Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I define a variable "\vamt" that stores the amount of vertical skip. The command "\vspc" takes one optional arguments which can default to "\vamt" when no argument is passed to the command.
Taking the following as example, I get a "1.5cm" vertical space between "Paragraph 1" and "Paragraph 2". But instead of getting "2cm" between "Paragraph 2" and "Paragraph 3", I am simply getting "2cm" being printed as text, with the paragraph spacing still at "1.5cm".
Code:
To prove it by contradiction try and assume that the statement is false,
proceed from there and at some point you will arrive to a contradiction.
\vspc
To prove it by contradiction try and assume that the statement is false,
proceed from there and at some point you will arrive to a contradiction.
\vspc{2cm}
To prove it by contradiction try and assume that the statement is false,
proceed from there and at some point you will arrive to a contradiction.
I want to introduce a blank line in my document. But have seen that "" and "\newline" do not always make a blank line. Only "\hfill \break" seems to work consistently.
Please provide an example demonstrating what this appears like working vs not.
Quote:
Originally Posted by Faki
Then one finds "\smallskip", "\medskip", and "\bigskip". Which do a better job.
Please provide some context, better descriptions, or examples which cite what constitutes a better job.
Quote:
Originally Posted by Faki
I do use indents for paragraphs without blank lines between them. But at times I would need a blank line between a paragraph and the next.
Should I make a new paragraph command or simply let the user insert "\bigskip"?
Can you please illustrate what these two options appear like?
Quote:
Originally Posted by Faki
Have also played with "\setlength{\parindent}{0pt}". Would this be a bad idea?
Please illustrate what effects you have seen using "\setlength{\parindent}{0pt}" and indicate why this was not a solution for you.
Latex is a very detailed and specialized documentation preparation system.
There are a number of ways to attain certain results.
Please bear in mind that it may be very helpful to give a visual description of the desired outcome, as opposed to asking about various terms. Anyone trying to help would want to know how you wish the results to appear as and also where you did try something, how the result did not match your desired outcome.
Many times, input accompanied by desired output, as well as interim not fully resolved output will help people understand what each goal is.
People have been continuing to close my post saying they were duplicates, but which were not. This place is quite depressing when people are allowed to mess with other people's posts.
People have been continuing to close my post saying they were duplicates, but which were not. This place is quite depressing when people are allowed to mess with other people's posts.
Moderators make those decisions, not other users.
If you have an issue with a particular post that was closed you should contact a moderator with your concerns.
As I understand it such decisions are not arbitrary but actually based on the content of the post that gets closed and all related posts.
Moderators make those decisions, not other users.
If you have an issue with a particular post that was closed you should contact a moderator with your concerns.
As I understand it such decisions are not arbitrary but actually based on the content of the post that gets closed and all related posts.
It's a true. But someone has to report the post, before moderators decide to close it. Just for fun.
People have been continuing to close my post saying they were duplicates, but which were not. This place is quite depressing when people are allowed to mess with other people's posts.
Many of your questions are similar and do not provide sufficient details for people to provide answers. The questions are unclear, do not provide enough information, and the evaluations have been that there is duplication.
If you feel a thread has been closed incorrectly, please use the Report button to request reopening of a thread, however it is also best to provide supporting information and revised content for the post of the thread in question so that the moderators may amend your thread question to make it more clear. Without proper context and revised content, the moderators may have little choice except to leave certain threads closed.
Members please stay on topic in this thread moving forwards.
Some additional information has been requested here and there have not been any additional details provided. Please see post #2 for the additional details. Being more clear with your question by providing example input/output and explaining the details about what exactly you have tried, what you expected to occur, and what instead occurred are extremely important with questions about a technical documentation preparation system.
Please remember that all LQ members are volunteers and not paid support, therefore their participation is voluntary.
If there are any further questions, the Report action can be used, the Contact Us link at the bottom of the page can be used for questions, or members can private message me with their questions. Singular complaints alone are not always helpful because they do not always explain person's points clearly.
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803
Rep:
Quote:
Originally Posted by marijan
Well, in other thread (now closed) should
command be called with \vspc[2] instead of \vspc{2}.
Agreed. Brackets, not braces.
When I threw together a quick-n-dirty LaTeX document (using the 'article' documentclass) and tried the OP's '\vspc' and '\vspc[2cm]' newcommands, I get paragraph spacing of 2cm and 3cm, respectively. Not sure why the spacing but LaTeX (or, rather, TeX) does some intelligent formatting that may be affecting the exact spacing that the OP is looking for. (Especially when you include images, etc.) In the example I slapped together that generated those results, I thought that orphan/widow adjustments may have played a role in the paragraph spacing I wound up with (the resulting PDF had two lines of text on page two). But, removing a few sentences to shorten the paragraphs to produce a one-page output without any orphans or widows showed that this wasn't the case.
OP: Can you generate a PDF of what you're attempting to produce and attach it. Your newcommand is working. Well, it's doing something. Interestingly, '\vspc[0cm]' results in a standard no-blank-lines paragraph spacing.
Is there a reason why you don't simply use '\vspace{1.5}'? If I use that between paragraphs where I want that spacing, I get exactly 1.5cm. Define a newcommand that hard codes the 1.5cm. If that's the standard spacing you want, you can set that using '\setlength{\parskip}{1.5cm}' (which I suspect you already know). Then, for special cases, use '\vspace{custom-amount}'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.