Search found 10 matches

by GommaFleX
Mon Apr 02, 2012 4:57 pm
Forum: Text Formatting
Topic: Incremented Vertical Space on a Page Topic is solved
Replies: 2
Views: 944

Re: Incremented Vertical Space on a Page Topic is solved

Thank you for the advice. Your solution seems worked for me, so I mark the problem as solved.
by GommaFleX
Mon Apr 02, 2012 3:55 pm
Forum: Text Formatting
Topic: Incremented Vertical Space on a Page Topic is solved
Replies: 2
Views: 944

Incremented Vertical Space on a Page Topic is solved

Hi, I have two subsection: \subsection{First Subsection} The first problem to solve is... ... \subsection{Second Subsection} The previous problem considered... Under the first subsection title there is a little space. In the second subsection the space seems double. Indeed, the space has increased b...
by GommaFleX
Sun Apr 01, 2012 9:08 am
Forum: Math & Science
Topic: Linear Programs Alignment Topic is solved
Replies: 2
Views: 2483

Re: Linear Programs Alignment Topic is solved

Thank you, I resolved using "\begin{aligned}". The strange thing was that sometimes it aligned columns on left and other times on the right. But surfing the web I found that even columns are aligned to left and odd columns to right.
by GommaFleX
Fri Mar 30, 2012 9:43 am
Forum: Math & Science
Topic: Linear Programs Alignment Topic is solved
Replies: 2
Views: 2483

Linear Programs Alignment Topic is solved

Hi all. I'm trying to align an maximization program. I searched everywhere but nothing seems work. I want to have something like this (I use '_' because space is not displayed on this forum): ________max____f(x) _________s.t.____x<M____________(1) _______________x>Zi_____∀Zi_____(2) I use \begin{ali...
by GommaFleX
Wed Nov 16, 2011 9:20 pm
Forum: General
Topic: Make a reference to a portion of text
Replies: 2
Views: 740

Re: Make a reference to a portion of text

Good solution, thank you!
by GommaFleX
Tue Nov 15, 2011 11:52 am
Forum: General
Topic: Make a reference to a portion of text
Replies: 2
Views: 740

Make a reference to a portion of text

Hi, i wonder if there is a command that allows to do this. I have a "long portion of text"(it's an algorithm) that i want to move frequently in the paragraph. For example: Initially i have some text Long portion of text some other text then i want to move the "long portion of text&quo...
by GommaFleX
Fri Nov 11, 2011 12:07 pm
Forum: Text Formatting
Topic: Write Algorithm with certain Style
Replies: 2
Views: 6412

Re: Write Algorithm with certain Style

thank you for the response. Anyway i found the solution. There was an error with missing brackets in the line above. TeXnicCenter produced the output without line break, but TeXmaker forced me to correct the error before producing output
by GommaFleX
Fri Nov 11, 2011 12:28 am
Forum: Text Formatting
Topic: Write Algorithm with certain Style
Replies: 2
Views: 6412

Write Algorithm with certain Style

Hi all, I'm trying to write an algorithm with a style as shown in the attachment. Unfortunately line breaks don't work well. The manual says: Warning For users of earlier versions of algorithmic this construct is a cause of an incompatibility. In the earlier version, instead of starting simple state...
by GommaFleX
Tue Aug 16, 2011 3:50 pm
Forum: Text Formatting
Topic: Prevent Page Breaks in the same Item of a List
Replies: 2
Views: 1278

Re: Prevent Page Breaks in the same Item of a List

Thank you, your solution worked!
I adapted it in this way, so the space is a parameter and I can specify it every time:
  1. \newcommand{\algoritmo}[6]{
  2. \needspace{#6\baselineskip}
  3. \textbf{#1} \\
  4. \textbf{Descrizione:} #2
  5. \begin{algorithm}
  6. \KwIn{#3}
  7. \KwOut{#4}
  8. #5
  9. \end{algorithm}
  10. }
by GommaFleX
Tue Aug 16, 2011 12:35 pm
Forum: Text Formatting
Topic: Prevent Page Breaks in the same Item of a List
Replies: 2
Views: 1278

Prevent Page Breaks in the same Item of a List

Hello, I'm new in LaTeX. I want to create a custom list of algorithms, with a title and a custom description for each. So I used \newcommand to define this custom item: \newcommand{\algoritmo}[5]{ \textbf{#1} \\ \textbf{Descrizione:} #2 \begin{algorithm} \KwIn{#3} \KwOut{#4} #5 \end{algorithm} } The...

Go to advanced search