How to remove space in section title at KOMA-ScriptFix indent for section titlelatex beamer appendix numberingCreate new section commands (with correct TOC entries) in KOMA-ScriptHow to make a rule under each section title with KOMA-script?LaTeX beamer: pagenumbering appendixKOMA-Script have parskip=full- but no spacing between section title and contentKOMA script replace name of section with the given text/symbolHow do I center the part title at KOMA-script?How do I prevent from a symbol at part title to be in a new lineHow to center headings at KOMA-Script

pipe commands inside find -exec?

Knife as defense against stray dogs

Animating wave motion in water

Homology of the fiber

Help with identifying unique aircraft over NE Pennsylvania

Bandwidth limit Cisco 3400 ME problem

Writing in a Christian voice

Is it possible to find dry ice crystals lying around the base in Antarctica?

How to balance a monster modification (zombie)?

Determine voltage drop over 10G resistors with cheap multimeter

How are passwords stolen from companies if they only store hashes?

Do native speakers use "ultima" and "proxima" frequently in spoken English?

How can I create URL shortcuts/redirects for task/diff IDs in Phabricator?

What are rules for concealing thieves tools (or items in general)?

"Marked down as someone wanting to sell shares." What does that mean?

Emojional cryptic crossword

Can other pieces capture a threatening piece and prevent a checkmate?

Extraneous elements in "Europe countries" list

What will the french man say?

How can Newt cast Accio on a Niffler when it is only supposed to work on inanimate objects?

Why is participating in the European Parliamentary elections used as a threat?

Why do I have a large white artefact on the rendered image?

UK Tourist Visa- Enquiry

Turning a hard to access nut?



How to remove space in section title at KOMA-Script


Fix indent for section titlelatex beamer appendix numberingCreate new section commands (with correct TOC entries) in KOMA-ScriptHow to make a rule under each section title with KOMA-script?LaTeX beamer: pagenumbering appendixKOMA-Script have parskip=full- but no spacing between section title and contentKOMA script replace name of section with the given text/symbolHow do I center the part title at KOMA-script?How do I prevent from a symbol at part title to be in a new lineHow to center headings at KOMA-Script













2















Here is MWE:



documentclassscrartcl
usepackageadforn


renewcommandsectionlinesformat[4]%
ifstr#1section%
adforn30 #3. #4 adforn58

hskip#2#3#4%
makeatother

begindocument

sectionABC

enddocument


The output is this:
enter image description here



I want it will be: 1. ABC and not 1 . ABC (no space between the "1" and the ".").

It is possible? and if it's possible, how can I do it?



Thank you!










share|improve this question
























  • sorry, I am not able to compile your MWE (Font OrnementsADF not found). Just a guess: try to terminate every line that might be fragile with a %: ifstr#1section% adforn30 #3. #4 adforn58% %

    – AndiW
    2 hours ago
















2















Here is MWE:



documentclassscrartcl
usepackageadforn


renewcommandsectionlinesformat[4]%
ifstr#1section%
adforn30 #3. #4 adforn58

hskip#2#3#4%
makeatother

begindocument

sectionABC

enddocument


The output is this:
enter image description here



I want it will be: 1. ABC and not 1 . ABC (no space between the "1" and the ".").

It is possible? and if it's possible, how can I do it?



Thank you!










share|improve this question
























  • sorry, I am not able to compile your MWE (Font OrnementsADF not found). Just a guess: try to terminate every line that might be fragile with a %: ifstr#1section% adforn30 #3. #4 adforn58% %

    – AndiW
    2 hours ago














2












2








2








Here is MWE:



documentclassscrartcl
usepackageadforn


renewcommandsectionlinesformat[4]%
ifstr#1section%
adforn30 #3. #4 adforn58

hskip#2#3#4%
makeatother

begindocument

sectionABC

enddocument


The output is this:
enter image description here



I want it will be: 1. ABC and not 1 . ABC (no space between the "1" and the ".").

It is possible? and if it's possible, how can I do it?



Thank you!










share|improve this question
















Here is MWE:



documentclassscrartcl
usepackageadforn


renewcommandsectionlinesformat[4]%
ifstr#1section%
adforn30 #3. #4 adforn58

hskip#2#3#4%
makeatother

begindocument

sectionABC

enddocument


The output is this:
enter image description here



I want it will be: 1. ABC and not 1 . ABC (no space between the "1" and the ".").

It is possible? and if it's possible, how can I do it?



Thank you!







sectioning numbering koma-script sections-paragraphs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 hour ago









Schweinebacke

22k4577




22k4577










asked 2 hours ago









heblyxheblyx

923919




923919












  • sorry, I am not able to compile your MWE (Font OrnementsADF not found). Just a guess: try to terminate every line that might be fragile with a %: ifstr#1section% adforn30 #3. #4 adforn58% %

    – AndiW
    2 hours ago


















  • sorry, I am not able to compile your MWE (Font OrnementsADF not found). Just a guess: try to terminate every line that might be fragile with a %: ifstr#1section% adforn30 #3. #4 adforn58% %

    – AndiW
    2 hours ago

















sorry, I am not able to compile your MWE (Font OrnementsADF not found). Just a guess: try to terminate every line that might be fragile with a %: ifstr#1section% adforn30 #3. #4 adforn58% %

– AndiW
2 hours ago






sorry, I am not able to compile your MWE (Font OrnementsADF not found). Just a guess: try to terminate every line that might be fragile with a %: ifstr#1section% adforn30 #3. #4 adforn58% %

– AndiW
2 hours ago











2 Answers
2






active

oldest

votes


















2














The macro sectionformat contains an enskip at the end. You can redefine it without that:



documentclassscrartcl
usepackageadforn

defsectionformatthesectionautodot% enskip
renewcommandsectionlinesformat[4]%
ifstr#1section%
adforn30 #3. #4 adforn58

hskip#2#3#4%
makeatother

begindocument

sectionABC

enddocument



enter image description here







share|improve this answer

























  • Thank you!! What is the csname command?

    – heblyx
    2 hours ago






  • 1





    @heblyx It allows you to use a control sequence (a.k.a. macro) by its name. One expansion of csname thesectionendcsname gives thesection. If you simply use thesection it will work as well. The csname thingy is just for dynamically creating these formatting commands.

    – Phelype Oleinik
    2 hours ago












  • @PhelypeOleinik - Using the csname ... endcsname machinery would seem to be overkill here. Maybe replace csname thesectionendcsname autodot with thesection.autodot? :-)

    – Mico
    2 hours ago












  • @Mico Indeed, unnecessary complication. Done :)

    – Phelype Oleinik
    1 hour ago






  • 2





    Note: This could result in two ., if autodot results in adding a .. And IMHO the KOMA-Script guide recommends to add number format parts like the end dot to sectionformat instead of sectionlinesformat. See my answer about how to do this.

    – Schweinebacke
    1 hour ago


















3














You should reduce group braces to a minimum and add the . either to the sectionformat:



documentclassscrartcl
usepackageadforn

renewcommand*sectionformatthesection.enskip% replaced autodot by .
renewcommandsectionlinesformat[4]%
ifstr#1section%
adforn30 #3#4 adforn58%
hskip#2#3#4%
makeatother

begindocument

sectionABC

enddocument


or select numbers=withdot to add the dot to all section levels:



documentclass[numbers=enddot]scrartcl
usepackageadforn

renewcommandsectionlinesformat[4]%
ifstr#1section%
adforn30 #3#4 adforn58%
hskip#2#3#4%


begindocument

sectionABC

enddocument


You should not combine a autodot in sectionformat with a hard coded . (neither in autodot nor on sectionlinesformat where it is misplaced by specification), because this could result in two dots.



Please have a look to the KOMA-Script manual for the default of sectionformat and the meaning of numbers=withdot, sectionformat and autodot.



BTW: The makeatother in your example is also not necessary and should be removed (so I did).



Off-Topic: You should also avoid possible spurious white spaces by newlines after } or improve this answer


























  • Thank you!! What is the csname command?

    – heblyx
    2 hours ago






  • 1





    @heblyx It allows you to use a control sequence (a.k.a. macro) by its name. One expansion of csname thesectionendcsname gives thesection. If you simply use thesection it will work as well. The csname thingy is just for dynamically creating these formatting commands.

    – Phelype Oleinik
    2 hours ago












  • @PhelypeOleinik - Using the csname ... endcsname machinery would seem to be overkill here. Maybe replace csname thesectionendcsname autodot with thesection.autodot? :-)

    – Mico
    2 hours ago












  • @Mico Indeed, unnecessary complication. Done :)

    – Phelype Oleinik
    1 hour ago






  • 2





    Note: This could result in two ., if autodot results in adding a .. And IMHO the KOMA-Script guide recommends to add number format parts like the end dot to sectionformat instead of sectionlinesformat. See my answer about how to do this.

    – Schweinebacke
    1 hour ago









share or improve this answer

























  • Your solution is good, but I'm not sure it's good for me. Because I'm Hebrew user - the dot is always at wrong side... at Hebrew it shuold be ".1" and not "1."

    – heblyx
    1 hour ago












  • It is possible?

    – heblyx
    42 mins ago




















You should reduce group braces to a minimum and add the . either to the sectionformat:



documentclassscrartcl
usepackageadforn

renewcommand*sectionformatthesection.enskip% replaced autodot by .
renewcommandsectionlinesformat[4]%
ifstr#1section%
adforn30 #3#4 adforn58%
hskip#2#3#4%
makeatother

begindocument

sectionABC

enddocument


or select numbers=withdot to add the dot to all section levels:



documentclass[numbers=enddot]scrartcl
usepackageadforn

renewcommandsectionlinesformat[4]%
ifstr#1section%
adforn30 #3#4 adforn58%
hskip#2#3#4%


begindocument

sectionABC

enddocument


You should not combine a autodot in sectionformat with a hard coded . (neither in autodot nor on sectionlinesformat where it is misplaced by specification), because this could result in two dots.



Please have a look to the KOMA-Script manual for the default of sectionformat and the meaning of numbers=withdot, sectionformat and autodot.



BTW: The makeatother in your example is also not necessary and should be removed (so I did).



Off-Topic: You should also avoid possible spurious white spaces by newlines after or { and by real spaces in the middle of the code.







share|improve this answer














share|improve this answer



share|improve this answer








edited 1 hour ago

























answered 1 hour ago









SchweinebackeSchweinebacke

22k4577




22k4577












  • Your solution is good, but I'm not sure it's good for me. Because I'm Hebrew user - the dot is always at wrong side... at Hebrew it shuold be ".1" and not "1."

    – heblyx
    1 hour ago












  • It is possible?

    – heblyx
    42 mins ago

















  • Your solution is good, but I'm not sure it's good for me. Because I'm Hebrew user - the dot is always at wrong side... at Hebrew it shuold be ".1" and not "1."

    – heblyx
    1 hour ago












  • It is possible?

    – heblyx
    42 mins ago
















Your solution is good, but I'm not sure it's good for me. Because I'm Hebrew user - the dot is always at wrong side... at Hebrew it shuold be ".1" and not "1."

– heblyx
1 hour ago






Your solution is good, but I'm not sure it's good for me. Because I'm Hebrew user - the dot is always at wrong side... at Hebrew it shuold be ".1" and not "1."

– heblyx
1 hour ago














It is possible?

– heblyx
42 mins ago





It is possible?

– heblyx
42 mins ago

















draft saved

draft discarded
















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480147%2fhow-to-remove-space-in-section-title-at-koma-script%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Are there any AGPL-style licences that require source code modifications to be public? Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Force derivative works to be publicAre there any GPL like licenses for Apple App Store?Do you violate the GPL if you provide source code that cannot be compiled?GPL - is it distribution to use libraries in an appliance loaned to customers?Distributing App for free which uses GPL'ed codeModifications of server software under GPL, with web/CLI interfaceDoes using an AGPLv3-licensed library prevent me from dual-licensing my own source code?Can I publish only select code under GPLv3 from a private project?Is there published precedent regarding the scope of covered work that uses AGPL software?If MIT licensed code links to GPL licensed code what should be the license of the resulting binary program?If I use a public API endpoint that has its source code licensed under AGPL in my app, do I need to disclose my source?

2013 GY136 Descoberta | Órbita | Referências Menu de navegação«List Of Centaurs and Scattered-Disk Objects»«List of Known Trans-Neptunian Objects»

Button changing it's text & action. Good or terrible? The 2019 Stack Overflow Developer Survey Results Are Inchanging text on user mouseoverShould certain functions be “hard to find” for powerusers to discover?Custom liking function - do I need user login?Using different checkbox style for different checkbox behaviorBest Practices: Save and Exit in Software UIInteraction with remote validated formMore efficient UI to progress the user through a complicated process?Designing a popup notice for a gameShould bulk-editing functions be hidden until a table row is selected, or is there a better solution?Is it bad practice to disable (replace) the context menu?