Search found 10 matches
- Mon Apr 02, 2012 4:57 pm
- Forum: Text Formatting
- Topic: Incremented Vertical Space on a Page
- Replies: 2
- Views: 2336
Re: Incremented Vertical Space on a Page
Thank you for the advice. Your solution seems worked for me, so I mark the problem as solved.
- Mon Apr 02, 2012 3:55 pm
- Forum: Text Formatting
- Topic: Incremented Vertical Space on a Page
- Replies: 2
- Views: 2336
Incremented Vertical Space on a Page
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 ...
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 ...
- Sun Apr 01, 2012 9:08 am
- Forum: Math & Science
- Topic: Linear Programs Alignment
- Replies: 2
- Views: 5057
Re: Linear Programs Alignment
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.
- Fri Mar 30, 2012 9:43 am
- Forum: Math & Science
- Topic: Linear Programs Alignment
- Replies: 2
- Views: 5057
Linear Programs Alignment
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 ...
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 ...
- Wed Nov 16, 2011 9:20 pm
- Forum: General
- Topic: Make a reference to a portion of text
- Replies: 2
- Views: 1874
Re: Make a reference to a portion of text
Good solution, thank you!
- Tue Nov 15, 2011 11:52 am
- Forum: General
- Topic: Make a reference to a portion of text
- Replies: 2
- Views: 1874
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":
Long portion ...
Initially i have
some text
Long portion of text
some other text
then i want to move the "long portion of text":
Long portion ...
- Fri Nov 11, 2011 12:07 pm
- Forum: Text Formatting
- Topic: Write Algorithm with certain Style
- Replies: 2
- Views: 10258
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
- Fri Nov 11, 2011 12:28 am
- Forum: Text Formatting
- Topic: Write Algorithm with certain Style
- Replies: 2
- Views: 10258
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 ...
Warning For users of earlier versions of algorithmic this construct is a cause of an incompatibility. In the earlier version, instead of starting simple ...
- Tue Aug 16, 2011 3:50 pm
- Forum: Text Formatting
- Topic: Prevent Page Breaks in the same Item of a List
- Replies: 2
- Views: 3145
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:
I adapted it in this way, so the space is a parameter and I can specify it every time:
Code: Select all
\newcommand{\algoritmo}[6]{
\needspace{#6\baselineskip}
\textbf{#1} \\
\textbf{Descrizione:} #2
\begin{algorithm}
\KwIn{#3}
\KwOut{#4}
#5
\end{algorithm}
}
- Tue Aug 16, 2011 12:35 pm
- Forum: Text Formatting
- Topic: Prevent Page Breaks in the same Item of a List
- Replies: 2
- Views: 3145
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 ...
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 ...