Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

If the human brain were so simple that we could understand it, we would be so simple we couldn't.


computers / comp.text.tex / Re: Center several lines

SubjectAuthor
* Center several linesCecil Westerhof
+- Re: Center several linesAxel Reichert
`* Re: Center several linesAxel Reichert
 `* Re: Center several linesCecil Westerhof
  `* Re: Center several linesPeter Flynn
   `- Re: Center several linesCecil Westerhof

1
Center several lines

<87h6z4lb1z.fsf@munus.decebal.nl>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5617&group=comp.text.tex#5617

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Cecil@decebal.nl (Cecil Westerhof)
Newsgroups: comp.text.tex
Subject: Center several lines
Date: Sat, 12 Nov 2022 11:30:32 +0100
Organization: Decebal Computing
Lines: 11
Message-ID: <87h6z4lb1z.fsf@munus.decebal.nl>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="1b67cba4932ef5e18ef450eca8aa8021";
logging-data="1224986"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MWV7fD4l+EkqdNuJjOhKHsnuPTiUdCFI="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:pvrNVQe2zdAOx9F7PSFmc8rU8ew=
sha1:cS8mOFBvWu+/HcuYEff5lRZQqHQ=
 by: Cecil Westerhof - Sat, 12 Nov 2022 10:30 UTC

At the moment I want to center two lines like this:
\centerline{\Huge\bf{The Title}}
\centerline{\tiny{Version of 2022-11-11}}

In this case it is not really a problem, but is it possible to center
a series of lines?

--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Re: Center several lines

<87sfio9oxk.fsf@axel-reichert.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5618&group=comp.text.tex#5618

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mail@axel-reichert.de (Axel Reichert)
Newsgroups: comp.text.tex
Subject: Re: Center several lines
Date: Sat, 12 Nov 2022 16:23:51 +0100
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <87sfio9oxk.fsf@axel-reichert.de>
References: <87h6z4lb1z.fsf@munus.decebal.nl>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="d1ce94017b8a34910fff82f07b6c349e";
logging-data="1265517"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198MUEnr7OaHrdu/MXl/k5OHhBLEU5Ttr4="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:CkxAKQd1NBpSHImF/jR5W4xYNO4=
sha1:AVtq/tD+JYORnfzaupQ2aKEGdUY=
 by: Axel Reichert - Sat, 12 Nov 2022 15:23 UTC

Cecil Westerhof <Cecil@decebal.nl> writes:

> center a series of lines?

\centering of \begin{center} ... \end{center}

Re: Center several lines

<87pmds9osx.fsf@axel-reichert.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5619&group=comp.text.tex#5619

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mail@axel-reichert.de (Axel Reichert)
Newsgroups: comp.text.tex
Subject: Re: Center several lines
Supersedes: <87sfio9oxk.fsf@axel-reichert.de>
Date: Sat, 12 Nov 2022 16:26:38 +0100
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <87pmds9osx.fsf@axel-reichert.de>
References: <87h6z4lb1z.fsf@munus.decebal.nl>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="d1ce94017b8a34910fff82f07b6c349e";
logging-data="1265517"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+hwtDjGpMbGPSZoMhrbnblPEQmKpd88uQ="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Key: sha1:4SiDHXtXPfaUza0m0n4qt66CBYY=
sha1:todGvshmX2rz5NRFBWVu0D7uMIA=
Cancel-Lock: sha1:9Y8sjxO7FKozdlruMQmceY7fsuM=
sha1:NDbEpLLOz9I1wzHgyikwBZ6/gVk=
 by: Axel Reichert - Sat, 12 Nov 2022 15:26 UTC

Cecil Westerhof <Cecil@decebal.nl> writes:

> center a series of lines?

\centering or \begin{center} ... \end{center}

Re: Center several lines

<874jv3kfe9.fsf@munus.decebal.nl>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5628&group=comp.text.tex#5628

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Cecil@decebal.nl (Cecil Westerhof)
Newsgroups: comp.text.tex
Subject: Re: Center several lines
Date: Sat, 12 Nov 2022 22:54:22 +0100
Organization: Decebal Computing
Lines: 21
Message-ID: <874jv3kfe9.fsf@munus.decebal.nl>
References: <87h6z4lb1z.fsf@munus.decebal.nl>
<87pmds9osx.fsf@axel-reichert.de>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="1b67cba4932ef5e18ef450eca8aa8021";
logging-data="1324350"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MQbx4NRXZsH0h3itQK+8qGbJgQL6kkn0="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:kkRFhLDd0oHWkhs9F2JkuqACUAA=
sha1:AUs8Bcr16g68SuuusG8LXl5TwpY=
 by: Cecil Westerhof - Sat, 12 Nov 2022 21:54 UTC

Axel Reichert <mail@axel-reichert.de> writes:

> Cecil Westerhof <Cecil@decebal.nl> writes:
>
>> center a series of lines?
>
> \centering or \begin{center} ... \end{center}

I am now using:
\begin{center}
\Huge\bf{The Title}

\tiny{Version of 2022-11-11}
\end{center}

That works. Thanks.

--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Re: Center several lines

<jtanb0F3a0oU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5630&group=comp.text.tex#5630

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: peter@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.tex
Subject: Re: Center several lines
Date: Sat, 12 Nov 2022 23:08:16 +0000
Organization: Usenet Labs Bozon Detector Facility
Lines: 34
Message-ID: <jtanb0F3a0oU1@mid.individual.net>
References: <87h6z4lb1z.fsf@munus.decebal.nl>
<87pmds9osx.fsf@axel-reichert.de> <874jv3kfe9.fsf@munus.decebal.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net yuCiViANwuB0DnRf3dfXuQAcltH2PkKx0uv4kDzesHgEvDoiU5
Cancel-Lock: sha1:IhUh9nALDNmaISmvt9qsJseSZ6s=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Content-Language: en-US
In-Reply-To: <874jv3kfe9.fsf@munus.decebal.nl>
 by: Peter Flynn - Sat, 12 Nov 2022 23:08 UTC

On 12/11/2022 21:54, Cecil Westerhof wrote:
> Axel Reichert <mail@axel-reichert.de> writes:
>
>> Cecil Westerhof <Cecil@decebal.nl> writes:
>>
>>> center a series of lines?
>>
>> \centering or \begin{center} ... \end{center}
>
> I am now using:
> \begin{center}
> \Huge\bf{The Title}
>
> \tiny{Version of 2022-11-11}
> \end{center}

Be aware that \bf is obsolete and is unscoped (does not take an
argument). Its effect (bold) lasts until the end of the current group,
so your Version line will also be bold. \Huge and \tiny similarly are
unscoped so \tiny does not take an argument. A more accurate use would be:

\begin{center}
\Huge
\textbf{The Title}

\tiny
Version of 2022-11-11
\end{center}

The difference between scoped and unscoped commands is shown in more
detail in
http://latex.silmaril.ie/formattinginformation/fontuse.html#typestyle

Peter

Re: Center several lines

<87v8njhtic.fsf@munus.decebal.nl>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5632&group=comp.text.tex#5632

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Cecil@decebal.nl (Cecil Westerhof)
Newsgroups: comp.text.tex
Subject: Re: Center several lines
Date: Sun, 13 Nov 2022 14:30:03 +0100
Organization: Decebal Computing
Lines: 44
Message-ID: <87v8njhtic.fsf@munus.decebal.nl>
References: <87h6z4lb1z.fsf@munus.decebal.nl>
<87pmds9osx.fsf@axel-reichert.de> <874jv3kfe9.fsf@munus.decebal.nl>
<jtanb0F3a0oU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="c228faad68c1ee6ef24d2e7c87f37641";
logging-data="1550804"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18XaEEWV6wIZBRG0QO4c4nUnM5d+FS6768="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:4GwYM8b2d3pt4c5hZMGklR1epdI=
sha1:Rrn3BeQfMzqenygPMc4etwsROk4=
 by: Cecil Westerhof - Sun, 13 Nov 2022 13:30 UTC

Peter Flynn <peter@silmaril.ie> writes:

> On 12/11/2022 21:54, Cecil Westerhof wrote:
>> Axel Reichert <mail@axel-reichert.de> writes:
>>
>>> Cecil Westerhof <Cecil@decebal.nl> writes:
>>>
>>>> center a series of lines?
>>>
>>> \centering or \begin{center} ... \end{center}
>> I am now using:
>> \begin{center}
>> \Huge\bf{The Title}
>> \tiny{Version of 2022-11-11}
>> \end{center}
>
> Be aware that \bf is obsolete and is unscoped (does not take an
> argument). Its effect (bold) lasts until the end of the current group,
> so your Version line will also be bold. \Huge and \tiny similarly are
> unscoped so \tiny does not take an argument. A more accurate use would
> be:
>
> \begin{center}
> \Huge
> \textbf{The Title}
>
> \tiny
> Version of 2022-11-11
> \end{center}

You are right. I did not see that.
Changed.

> The difference between scoped and unscoped commands is shown in more
> detail in
> http://latex.silmaril.ie/formattinginformation/fontuse.html#typestyle

I will look into that. Thanks.

--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor